:root {
  --blue: #0070c9;
  --blue-2: #0b5fa5;
  --blue-dark: #0b4f8a;
  --navy: #062f5f;
  --ink: #142235;
  --muted: #5c6978;
  --line: #dce7f1;
  --surface: #f4f8fc;
  --white: #fff;
  --green: #087b3d;
  --shadow: 0 16px 42px rgba(11, 79, 138, .11);
  --radius: 18px;
  --header-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button):focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; left: 1rem; top: -6rem; background: #fff; color: var(--navy); padding: .75rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,231,241,.75);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(10,62,110,.09); }
.header-inner { height: 100%; display: grid; grid-template-columns: 218px 1fr auto; gap: 28px; align-items: center; }
.brand img { width: 200px; height: auto; }
.primary-nav { justify-self: center; display: flex; gap: 22px; align-items: center; }
.primary-nav a { position: relative; text-decoration: none; font-weight: 650; font-size: .95rem; color: #26384b; padding: 27px 0 23px; }
.primary-nav a::after { content: ""; position: absolute; height: 2px; width: 0; left: 50%; bottom: 16px; background: var(--blue); transition: .2s ease; transform: translateX(-50%); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { width: 100%; }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--blue-dark); transition: .2s ease; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding-inline: 28px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 9px 24px rgba(0,112,201,.2); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(0,112,201,.28); }
.btn-ghost { border-color: #b6d0e8; color: var(--blue-dark); background: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); background: #fff; }
.btn-whatsapp { color: #fff; background: var(--green); }
.btn-white { background: #fff; color: var(--blue-dark); }

.hero { min-height: 560px; position: relative; overflow: hidden; display: grid; align-items: center; background: linear-gradient(90deg, #f8fbfe 0%, #f8fbfe 43%, rgba(248,251,254,.65) 58%, rgba(248,251,254,0) 73%); }
.hero-media { position: absolute; inset: 0 0 0 44%; background: linear-gradient(90deg, rgba(248,251,254,.95) 0%, rgba(248,251,254,.25) 28%, rgba(248,251,254,0) 50%), url('../assets/images/hero.webp') 58% 48% / cover no-repeat; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 54% 46%; }
.hero-copy { max-width: 650px; padding: 74px 0 78px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow-light { color: #d9ecff; }
.eyebrow-light span { background: #fff; }
.hero h1, .section h2, .audiences h2 { margin: 14px 0 12px; letter-spacing: -.035em; line-height: 1.03; color: #082f5f; }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); max-width: 760px; }
.hero-lead { margin: 0 0 8px; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; color: #153c6a; }
.hero-text { max-width: 560px; font-size: 1.05rem; color: #42566c; margin: 0; }
.hero-context { display: flex; gap: 9px; flex-wrap: wrap; margin: 21px 0 -9px; }
.hero-pill { border: 1px solid #bbd7ee; border-radius: 999px; padding: 5px 11px; background: #fff; color: #165d99; font-size: .78rem; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.trust-strip { background: #fff; border-bottom: 1px solid #e6eef5; box-shadow: 0 6px 22px rgba(11,79,138,.03); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 24px 0; }
.trust-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 5px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: #0d3e74; font-size: .98rem; }
.trust-item span:not(.icon-badge) { display: block; color: var(--muted); font-size: .87rem; line-height: 1.35; }
.icon-badge { width: 42px; height: 42px; border-radius: 13px; background: #eef7ff; display: grid; place-items: center; color: var(--blue); }
.icon-badge svg { width: 24px; height: 24px; fill: currentColor; }

.section { padding: 86px 0; }
.services-section { background: linear-gradient(180deg, #f7fbff, #eef6fc); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.section-head h2, .experience h2, .contact h2 { font-size: clamp(2rem, 3.2vw, 3.15rem); }
.section-head p { max-width: 430px; color: var(--muted); margin: 0 0 6px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { background: #fff; overflow: hidden; border-radius: var(--radius); border: 1px solid #e1ebf4; box-shadow: 0 10px 30px rgba(14,71,121,.06); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; }
.service-body { position: relative; padding: 25px 22px 24px; }
.service-icon { position: absolute; top: -22px; left: 20px; width: 46px; height: 46px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.25rem; font-weight: 900; box-shadow: 0 7px 16px rgba(0,112,201,.18); }
.service-card h3 { margin: 7px 0 8px; font-size: 1.13rem; color: #0a3b70; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.image-note { margin: 18px 0 0; color: #6b7887; font-size: .8rem; }

.multiservice { position: relative; overflow: hidden; background: linear-gradient(120deg, #075ca4 0%, #0a4b87 54%, #0f77bd 100%); color: #fff; }
.multiservice::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); right: -100px; top: -150px; }
.multi-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.multi-copy h2 { color: #fff; font-size: clamp(2.2rem, 3.7vw, 3.5rem); margin: 14px 0 18px; line-height: 1.05; letter-spacing: -.03em; }
.multi-copy p { color: #e1eef9; max-width: 660px; font-size: 1.03rem; }
.multi-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.multi-list span { padding: 15px 16px; border: 1px solid rgba(255,255,255,.23); border-radius: 15px; background: rgba(255,255,255,.09); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .92rem; }
.multi-list b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.13); }

.experience { background: #fff; }
.experience-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.experience-number { min-height: 270px; border-radius: 28px; background: linear-gradient(145deg,#edf7ff,#f9fcff); border: 1px solid #d8e9f6; display: grid; place-content: center; text-align: center; box-shadow: inset 0 -40px 80px rgba(0,112,201,.045); }
.experience-number span { font-size: clamp(4.2rem, 8vw, 7.5rem); font-weight: 900; line-height: .9; color: var(--blue-dark); letter-spacing: -.07em; }
.experience-number small { order: -1; letter-spacing: .22em; font-weight: 900; color: var(--blue); margin-bottom: 10px; }
.experience-copy p { color: var(--muted); max-width: 760px; }

.contact { background: #fff; }
.contact-intro { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.contact-intro .eyebrow { justify-content: center; }
.contact-intro p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.contact-card { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; background: #fff; border: 1px solid #dfe9f2; border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 30px rgba(10,74,130,.07); }
.contact-icon { grid-row: 1/3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #edf7ff; font-size: 1.25rem; font-weight: 900; }
.contact-icon.whatsapp { color: var(--green); background: #ebfbf2; }
.contact-card > span:not(.contact-icon) { color: var(--muted); font-size: .86rem; }
.contact-card strong { font-size: 1.18rem; color: #0a3d73; overflow-wrap: anywhere; }
.contact-card .btn { grid-column: 1/3; margin-top: 18px; }

.site-footer { background: #062f5f; color: #dbe9f7; padding: 24px 0; }
.footer-grid { display: grid; grid-template-columns: 186px 1fr auto auto auto; align-items: center; gap: 25px; }
.footer-grid img { width: 166px; height: auto; }
.footer-grid nav { display: flex; gap: 20px; }
.footer-grid nav a, .footer-legal button, .footer-legal a { color: #dbe9f7; text-decoration: none; font-size: .82rem; }
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal button, .footer-legal a { border: 0; background: transparent; cursor: pointer; padding: 0; }
.footer-copy, .footer-focus { font-size: .8rem; white-space: nowrap; }

.mobile-contact-bar { display: none; }
.legal-dialog { width: min(680px, calc(100% - 32px)); border: 0; border-radius: 20px; box-shadow: 0 24px 70px rgba(2,37,72,.28); padding: 0; color: var(--ink); }
.legal-dialog::backdrop { background: rgba(1,25,50,.62); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; color: var(--blue-dark); }
.dialog-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; font-size: 1.5rem; cursor: pointer; background: #eef5fb; color: var(--blue-dark); }
.dialog-body { padding: 22px 24px 26px; color: #4a5b6f; }

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 190px 1fr auto; gap: 14px; }
  .brand img { width: 172px; }
  .header-actions .btn:first-child { display: none; }
  .primary-nav { gap: 14px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { padding: 10px 18px; }
  .experience-grid { grid-template-columns: 280px 1fr; }
  .footer-grid { grid-template-columns: 180px 1fr auto; }
  .footer-focus, .footer-legal { justify-self: start; }
  .footer-copy { justify-self: end; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 28px, 680px); }
  .site-header { height: var(--header-h); }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 168px; }
  .menu-toggle { display: block; }
  .header-actions { display: none; }
  .primary-nav { position: fixed; inset: var(--header-h) 14px auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 14px; border-radius: 10px; }
  .primary-nav a:hover { background: #f2f7fb; }
  .primary-nav a::after { display: none; }

  .hero { min-height: auto; display: block; padding-top: 0; background: #f7fbff; }
  .hero-media { position: relative; inset: auto; height: 300px; background: linear-gradient(0deg, #f7fbff 0%, rgba(247,251,255,.15) 35%, rgba(247,251,255,0) 60%), url('../assets/images/hero.webp') center 42% / cover no-repeat; order: -1; }
  .hero-grid { grid-template-columns: 1fr; margin-top: -70px; }
  .hero-copy { padding: 0 0 42px; background: #fff; border-radius: 22px; padding: 25px 22px 26px; box-shadow: var(--shadow); }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .trust-grid { grid-template-columns: repeat(2,1fr); padding: 14px 0; }
  .trust-item { display: block; text-align: center; padding: 12px 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .icon-badge { margin: 0 auto 7px; }
  .trust-item span:not(.icon-badge) { font-size: .78rem; }

  .section { padding: 64px 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head p { margin-top: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { display: grid; grid-template-columns: 116px 1fr; min-height: 120px; }
  .service-card img { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .service-body { padding: 19px 16px; }
  .service-icon { display: none; }
  .service-card h3 { margin-top: 0; font-size: 1rem; }
  .service-card p { font-size: .85rem; }

  .multi-grid, .experience-grid { grid-template-columns: 1fr; gap: 34px; }
  .multi-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .multi-list span { padding: 11px; font-size: .82rem; }
  .experience-number { min-height: 200px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 44px 1fr; }
  .site-footer { padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 15px; }
  .footer-grid img { margin-inline: auto; }
  .footer-grid nav { flex-wrap: wrap; justify-content: center; }
  .footer-focus, .footer-legal, .footer-copy { justify-self: center; }

  .mobile-contact-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 1200; bottom: 0; left: 0; right: 0; padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid #d8e5ef; box-shadow: 0 -8px 30px rgba(4,52,96,.09); gap: 8px; }
  .mobile-contact-bar a { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; text-decoration: none; background: var(--blue); color: #fff; font-weight: 800; }
  .mobile-contact-bar a:last-child { background: var(--green); }
}

@media (max-width: 410px) {
  .service-card { grid-template-columns: 96px 1fr; }
  .multi-list { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* V03: B2B/particulares, logo aprobado, avisos legales accesibles */
.audiences { padding: 84px 0 90px; background: linear-gradient(122deg,#063968 0%,#0a59a1 57%,#066db7 100%); position: relative; color:#fff; overflow:hidden; }
.audiences::before { content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(255,255,255,.1); border-radius:50%; right:-210px; top:-200px; pointer-events:none; }
.audiences-heading { max-width:840px; margin-bottom:30px; position:relative; }
.audiences h2 { color:#fff; font-size:clamp(2.2rem,3.5vw,3.55rem); max-width:790px; }
.audiences-heading p { color:#d9eafb; max-width:730px; font-size:1.08rem; margin:0; }
.audiences-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; position:relative; }
.audience-card { min-height:303px; padding:32px 32px 28px; border-radius:24px; border:1px solid rgba(255,255,255,.62); background:#fff; color:var(--ink); display:flex; flex-direction:column; box-shadow:0 20px 40px rgba(0,30,70,.15); }
.audience-card:nth-child(2) { background:#f3f9ff; }
.audience-mark { width:54px; height:54px; border-radius:16px; background:#e6f3ff; color:var(--blue-dark); display:grid; place-items:center; margin-bottom:18px; }
.audience-mark svg { width:29px; height:29px; fill:currentColor; }
.audience-kicker { font-size:.76rem; letter-spacing:.075em; color:#0b5fa5; font-weight:850; }
.audience-card h3 { font-size:clamp(1.3rem,2.5vw,1.75rem); letter-spacing:-.035em; line-height:1.15; margin:10px 0; color:#083e74; }
.audience-card p { margin:0 0 23px; color:#50667e; }
.audience-link { margin-top:auto; display:inline-flex; gap:12px; align-items:center; color:#07589b; font-weight:800; text-decoration:none; width:fit-content; border-bottom:1px solid rgba(7,88,155,.3); }
.audience-link:hover { color: #0070c9; border-color:#0070c9; }
.footer-brand { background:#fff; border-radius:9px; padding:8px 9px; max-width:186px; }
.footer-focus { font-size:.78rem; opacity:.85; white-space:normal; max-width:150px; }
.legal-dialog { max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); }
.legal-dialog[open] { display:flex; flex-direction:column; }
.legal-dialog .dialog-head { flex:none; }
.legal-dialog .dialog-body { overflow:auto; }
.legal-content h3 { margin:21px 0 7px; color:#0b4f8a; font-size:1.02rem; }
.legal-content p { margin:7px 0 12px; }
.legal-warning { padding:12px 14px; background:#fff6e9; color:#704719; border-left:3px solid #e3a548; border-radius:4px; }
.legal-facts { display:grid; grid-template-columns:minmax(135px,1fr) 1.5fr; gap:8px 15px; margin:14px 0; }
.legal-facts dt { color:#42566c; font-weight:700; }
.legal-facts dd { margin:0; overflow-wrap:anywhere; }
.legal-facts dd strong { font-size:.88rem; }
.legal-content a { color:#075d9d; text-underline-offset:3px; }
@media (max-width: 1050px) { .footer-grid { grid-template-columns:180px 1fr auto auto; } .footer-focus { display:none; } }
@media (max-width:760px) {
  .audiences { padding:62px 0 66px; }
  .audiences-grid { grid-template-columns:1fr; gap:14px; }
  .audience-card { min-height:0; padding:25px 23px; }
  .audience-card p { margin-bottom:16px; }
  .footer-brand { margin:auto; }
  .legal-facts { grid-template-columns:1fr; gap:4px; }
  .legal-facts dd { margin-bottom:6px; }
}
@media (max-width:410px) { .hero-pill { font-size:.71rem; } }

/* Collapse the growing five-link menu slightly earlier for comfortable tablet navigation. */
@media (min-width:761px) and (max-width:900px) {
  .header-inner { grid-template-columns:1fr auto; }
  .menu-toggle { display:block; }
  .header-actions { display:none; }
  .primary-nav { position:fixed; inset:var(--header-h) 14px auto; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:8px; display:none; flex-direction:column; align-items:stretch; gap:0; }
  .primary-nav.is-open { display:flex; }
  .primary-nav a { padding:13px 14px; border-radius:10px; }
  .primary-nav a::after { display:none; }
}

/* V05 — Photography-first responsive layout; verified image bounding boxes. */
:root { --radius: 20px; }
html, body { max-width:100%; }
body { overflow-x: clip; }
.hero {
  background:linear-gradient(110deg,#f4f9fe 0%, #f8fbfe 58%,#edf6ff 100%);
  min-height:0;
  display:block;
  overflow:hidden;
  padding:56px 0 66px;
}
.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);
  gap:clamp(30px,4.4vw,68px);
  align-items:center;
  position:relative;
}
.hero-copy { padding:12px 0; min-width:0; max-width:600px; }
.hero h1 { font-size:clamp(2.6rem,4.35vw,4.2rem); max-width:620px; line-height:1.06; }
.hero-lead { font-size:clamp(1.13rem,1.7vw,1.35rem); }
.hero-text { line-height:1.65; }
.hero-actions { margin-top:28px; }
.hero-visual {
  position:relative;
  margin:0;
  min-width:0;
  aspect-ratio:3 / 2;
  padding:8px;
  overflow:hidden;
  background:#fff;
  border:1px solid #dbe8f3;
  border-radius:27px;
  box-shadow:0 24px 54px rgba(10,62,110,.17);
}
.hero-visual img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  border-radius:20px;
}
.hero-visual figcaption {
  position:absolute;
  left:22px;
  bottom:23px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.84);
  background:rgba(255,255,255,.95);
  box-shadow:0 8px 20px rgba(7,58,103,.13);
  border-radius:999px;
  color:#09508b;
  padding:8px 12px;
  font-size:.78rem;
  font-weight:800;
}
.hero-visual-mark { width:8px;height:8px;border-radius:50%;background:#0070c9; }
/* Service images have an explicit aspect ratio independent of their original HTML attributes. */
.services-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.service-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border-radius:19px; }
.service-media {
  position:relative;
  flex:none;
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#e9f3fb;
}
.service-media img,
.service-card .service-media img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}
.service-body {
  flex:1;
  padding:22px 22px 26px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  column-gap:13px;
  align-content:start;
  align-items:center;
}
.service-body .service-icon {
  position:static;
  display:grid;
  grid-column:1;
  grid-row:1/3;
  place-items:center;
  width:46px;
  height:46px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(145deg,#0076d4,#07519a);
  box-shadow:none;
}
.service-icon svg { width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round; }
.service-card h3 { grid-column:2; grid-row:1; margin:0 0 5px; line-height:1.24; font-size:1.1rem; }
.service-card p { grid-column:2; grid-row:2; margin:0; line-height:1.5; font-size:.91rem; }
.service-card:hover .service-media img { transform:scale(1.022); }
.service-media img { transition:transform .45s ease; }
/* Preserve imported icons' consistent stroke-style in all views. */
.icon-badge svg,.audience-mark svg,.contact-icon svg,.mobile-bar-icon svg { stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.85; }
.contact-icon.whatsapp svg,.mobile-bar-icon.whatsapp svg { fill:currentColor;stroke:none; }
.mobile-bar-icon { display:inline-flex;align-items:center;justify-content:center; }
.mobile-bar-icon svg { width:20px;height:20px; }
.multi-list b svg { width:22px;height:22px;stroke:currentColor;fill:none; }
/* Footer has 5 elements; flexible columns instead of legacy implicit fourth column. */
.footer-grid { grid-template-columns:170px minmax(0,1fr) auto auto auto; }
.footer-grid>* { min-width:0; }
.footer-brand { background:#fff;border-radius:9px;padding:8px 9px;max-width:176px; }
.footer-focus { font-size:.76rem;white-space:normal;max-width:165px; }
@media (max-width:1140px) {
  .header-inner { grid-template-columns:180px 1fr auto; gap:14px; }
  .brand img { width:177px; }
  .primary-nav { gap:15px; }
  .footer-grid { grid-template-columns:176px 1fr auto; }
  .footer-focus { display:none; }
  .footer-legal { justify-self:end; }
  .footer-copy { grid-column:2/4; justify-self:end; }
}
@media (max-width:1050px) {
  .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
  .hero h1 { font-size:clamp(2.25rem,4.2vw,3.45rem); }
}
@media (max-width:900px) {
  .header-inner { grid-template-columns:1fr auto; }
  .menu-toggle { display:block; }
  .header-actions { display:none; }
  .primary-nav {
    position:fixed;inset:var(--header-h) 14px auto;
    background:#fff;border:1px solid var(--line);border-radius:16px;
    box-shadow:var(--shadow);padding:8px;display:none;
    flex-direction:column;align-items:stretch;gap:0;
  }
  .primary-nav.is-open { display:flex; }
  .primary-nav a { padding:13px 14px;border-radius:10px; }
  .primary-nav a::after { display:none; }
  .hero-grid { grid-template-columns:1fr;gap:28px; }
  .hero-copy { max-width:720px; }
  .hero { padding:45px 0 55px; }
  .hero-visual { max-width:700px; width:100%; margin-inline:auto; }
}
@media (max-width:760px) {
  :root { --header-h:66px; }
  .hero { display:block; padding:28px 0 38px; }
  .hero-grid { display:grid;grid-template-columns:1fr;gap:23px;margin-top:0; }
  .hero-copy { display:block;background:transparent;box-shadow:none;border-radius:0; padding:0; }
  .hero h1 { font-size:clamp(2.3rem,9.1vw,3.45rem); }
  .hero-visual { width:100%;aspect-ratio:4/3;padding:5px;border-radius:19px; }
  .hero-visual img { border-radius:14px;object-position:center; }
  .hero-visual figcaption { left:13px;bottom:13px;padding:6px 9px;font-size:.69rem; }
  .hero-actions { gap:10px; }
  .services-grid { grid-template-columns:1fr;gap:18px; }
  .service-card { display:flex;flex-direction:column;min-height:0; }
  .service-media { width:100%;aspect-ratio:4/3;min-height:0; }
  .service-body { display:grid;grid-template-columns:42px minmax(0,1fr);padding:18px 17px 21px;gap:0 12px; }
  .service-body .service-icon,.service-card .service-icon { position:static;display:grid;width:42px;height:42px;border:0;border-radius:13px;grid-column:1;grid-row:1/3;margin:0; }
  .service-card .service-icon svg { width:25px;height:25px; }
  .service-card h3 { margin:0 0 4px;grid-column:2;grid-row:1;font-size:1.03rem; }
  .service-card p { grid-column:2;grid-row:2;font-size:.88rem; }
  .footer-grid { display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:14px; }
  .footer-grid>* { grid-column:1!important;justify-self:center!important; }
  .footer-grid nav { max-width:100%;flex-wrap:wrap;justify-content:center; }
  .footer-focus { display:none; }
  .footer-brand { margin:0 auto; }
  .footer-copy { white-space:normal; }
}
@media (max-width:410px) {
  .service-card { grid-template-columns:none; }
  .service-body { padding:17px 15px 20px; }
  .trust-item { min-width:0; }
  .hero-pill { font-size:.69rem; }
}
@media (prefers-reduced-motion:reduce) {
  .service-media img { transition:none!important; }
}


/* ASISTEK V05.2: standalone legal pages, available even without JS. */
.legal-page-header { background: #fff; border-bottom: 1px solid #e4edf6; }
.legal-page-header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-page-header img { width: min(190px, 42vw); height: auto; }
.legal-back { color: #0b4f8a; font-size: .94rem; text-decoration: underline; text-underline-offset: 3px; }
.legal-page-main { background: #f3f7fb; padding: clamp(30px, 5vw, 65px) 0 70px; }
.legal-page-card { max-width: 820px; margin-inline: auto; border: 1px solid #e5eef5; border-radius: 18px; background: #fff; padding: clamp(22px, 4vw, 44px); box-shadow: 0 12px 35px rgba(11,61,109,.07); }
.legal-page-card > h1 { color: #0b4f8a; margin: 0 0 22px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal-page-card h2 { margin: 26px 0 9px; color: #0b4f8a; font-size: 1.1rem; }
.legal-page-card p { line-height: 1.72; }
.legal-page-footer { background: #0b2743; color: #e1effc; padding: 22px 0; font-size: .9rem; }
.legal-page-footer .container { display: flex; flex-wrap: wrap; gap: 11px; }
.legal-page-footer a { text-underline-offset: 3px; }
@media (max-width: 560px) { .legal-page-header-inner { min-height: 74px; } .legal-page-card { border-radius: 13px; } }
