
:root{--bg:#ffffff;--surface:#ffffff;--surface-2:#f7f8fb;--ink:#111827;--muted:#5f6b7b;--line:#e7ebf0;--accent:#175cff;--accent-dark:#0f172a;--max:1240px;--radius:26px;--shadow:0 14px 44px rgba(17,24,39,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}body.menu-open{overflow:hidden}
.skip{position:absolute;left:-9999px;top:auto}.skip:focus{left:16px;top:16px;z-index:300;background:#fff;padding:10px 14px;border-radius:999px;box-shadow:var(--shadow)}
.container{width:min(var(--max),calc(100% - 28px));margin-inline:auto}
.topline{background:#fff;border-bottom:1px solid var(--line);color:var(--ink);font-size:.84rem}.topline-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px}.topline-inner>span{display:inline-flex;align-items:center;gap:8px}.topline-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}.topline-actions{display:flex;gap:10px}.top-icon{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--accent)}.top-icon svg{width:16px;height:16px}
.site-header{position:sticky;top:0;z-index:120;background:rgba(255,255,255,.92);backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid rgba(17,24,39,.06)}
.navline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px}.wordmark{display:inline-flex;align-items:center;gap:14px;min-width:0}.brand-mark{width:48px;height:48px;border-radius:16px;background:#f7f8fb;display:grid;place-items:center;color:var(--accent-dark);box-shadow:0 12px 24px rgba(17,24,39,.06)}.brand-mark svg{width:30px;height:30px}.wordmark strong{display:block;font-size:.9rem;letter-spacing:.12em}.wordmark small{display:block;color:#64748b;font-size:.68rem;letter-spacing:.18em;margin-top:1px}.nav-links{display:none}.nav-links a{font-size:.9rem;color:#334155}.nav-links a[aria-current="page"]{color:var(--accent)}.nav-actions{display:flex;align-items:center;gap:10px}.nav-icon,.menu-btn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--accent-dark)}.menu-btn{cursor:pointer}.nav-icon svg{width:18px;height:18px}.menu-btn .menu-bars{display:grid;gap:5px}.menu-btn .menu-bars i{display:block;width:16px;height:2px;background:currentColor;border-radius:999px}.nav-quote{display:none}
.mobile-nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:10px 14px 18px;display:none;gap:4px;box-shadow:0 18px 34px rgba(17,24,39,.08)}.mobile-nav:not([hidden]){display:grid}.mobile-nav a{display:flex;align-items:center;justify-content:space-between;padding:14px 10px;border-radius:14px;font-size:.98rem}.mobile-nav a:hover,.mobile-nav a[aria-current="page"]{background:#f8fafc}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 22px;border-radius:999px;border:1px solid transparent;font-weight:720;line-height:1;transition:transform .28s ease,box-shadow .28s ease,background-color .28s ease,color .28s ease,border-color .28s ease}.btn svg{width:18px;height:18px}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--accent);color:#fff;box-shadow:0 14px 30px rgba(23,92,255,.2)}.btn-primary:hover{background:#0c49e3}.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#020617}
.hero{padding:34px 0 58px}.hero-grid{display:grid;gap:34px;align-items:center}.hero-copy{padding-top:8px;position:relative;z-index:2}.eyebrow{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:16px}.hero h1{font-size:clamp(2.6rem,10vw,5.4rem);line-height:.96;letter-spacing:-.06em;margin:0 0 16px;max-width:10ch}.hero-lead{font-size:1.02rem;color:var(--muted);max-width:44ch;margin:0 0 22px}.hero-actions{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}.hero-visual{position:relative}.hero-photo{border-radius:32px;overflow:hidden;box-shadow:var(--shadow);background:#eef2f7}.hero-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.section-pad{padding:54px 0}.compact-space{padding-top:22px}.service-grid,.benefit-grid,.related-grid{display:grid;gap:18px}.service-card,.related-card{display:block;background:var(--surface);border-radius:24px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(17,24,39,.05)}.service-card-image,.related-image{overflow:hidden}.service-card img,.related-card img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .45s ease}.service-card:hover img,.related-card:hover img,.photo-tile:hover img,.editorial-image:hover img,.consultation-photo:hover img{transform:scale(1.02)}.service-card-copy,.related-copy{padding:18px 18px 20px}.service-card-copy h3,.related-copy h3{font-size:1.45rem;line-height:1.05;letter-spacing:-.045em;margin:0}
.benefit-grid{grid-template-columns:1fr}.benefit-card{background:#fff;padding:24px;border-radius:22px;box-shadow:var(--shadow);border:1px solid rgba(17,24,39,.05)}.benefit-card h3{font-size:1.28rem;line-height:1.06;letter-spacing:-.04em;margin:0}
.editorial-grid{display:grid;gap:22px;align-items:center}.editorial-image{overflow:hidden;border-radius:28px;box-shadow:var(--shadow);background:#eef2f7}.editorial-image img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .45s ease}.editorial-copy h2{font-size:clamp(2rem,6vw,3.8rem);line-height:.98;letter-spacing:-.055em;margin:0 0 14px;max-width:12ch}.editorial-copy ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.editorial-copy li{display:flex;gap:10px;align-items:flex-start;font-size:1rem;color:#334155}.editorial-copy li svg{width:18px;height:18px;flex:none;color:var(--accent);margin-top:2px}
.gallery-section{padding-top:6px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-tile{border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#eef2f7}.photo-tile img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .45s ease}.photo-wide{grid-column:span 2}.photo-wide img{aspect-ratio:4/3}
.docs-grid{display:grid;gap:16px;align-items:center;background:#fff;border-radius:24px;padding:26px;box-shadow:var(--shadow)}.docs-grid h2{font-size:clamp(1.8rem,5vw,2.7rem);line-height:1;letter-spacing:-.05em;margin:0}
.related-grid.compact .related-copy{padding-top:16px}
.consultation-section{padding:38px 0 74px}.consultation-grid{display:grid;gap:18px;align-items:start}.consultation-copy{display:grid;gap:16px}.consultation-copy h2{font-size:clamp(2.2rem,7vw,4rem);line-height:.98;letter-spacing:-.05em;margin:0;max-width:10ch}.consultation-photo{border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.consultation-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .45s ease}.consultation-form-wrap{background:#fff;color:var(--ink);padding:22px;border-radius:24px;box-shadow:var(--shadow);border:1px solid rgba(17,24,39,.05)}.form-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}.form-header strong{font-size:1.38rem;letter-spacing:-.04em}
.contact-form{display:grid;gap:14px}.contact-form .form-row{display:grid;gap:14px}.contact-form label:not(.consent){display:grid;gap:6px;font-size:.83rem;font-weight:700;color:#334155}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px 14px;min-height:52px;outline:none;color:var(--ink);font-size:.96rem;transition:border-color .2s,box-shadow .2s}.contact-form textarea{resize:vertical;min-height:110px}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.13)}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#9aa4b2}.contact-form .optional{font-size:.74rem;color:#94a3b8;font-weight:500}.contact-form .consent{display:flex;align-items:flex-start;gap:10px;font-size:.78rem;font-weight:500;line-height:1.55;color:#64748b}.contact-form .consent input{accent-color:#2563eb;margin-top:4px;width:17px;height:17px}.contact-form .consent a{text-decoration:underline;color:#2563eb}.btn-submit{width:100%;margin-top:4px}.btn-submit:disabled{cursor:wait;opacity:.7}.form-status:not([hidden]){display:block;background:#eff6ff;color:#1d4ed8;padding:12px;border-radius:14px}.form-status.is-error{background:#fff1f2;color:#be123c}.honeypot{position:absolute;left:-10000px;height:0;overflow:hidden}
.footer{background:#fff;color:var(--ink);padding:48px 0 20px;border-top:1px solid var(--line)}.footer-top{display:grid;gap:32px;padding-bottom:26px}.footer-brand{font-weight:800;letter-spacing:.05em;font-size:1rem;display:block}.footer-brand span{font-weight:500;color:#64748b}.footer-quick{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.footer-chip{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#f8fafc;border:1px solid var(--line);font-size:.9rem}.footer-top h3{font-size:.76rem;text-transform:uppercase;letter-spacing:.15em;color:#64748b;margin:0 0 14px}.footer-top div>a:not(.footer-brand):not(.footer-chip){display:block;color:#1f2937;margin:10px 0;font-size:.94rem}.footer-bottom{border-top:1px solid var(--line);padding-top:16px;display:flex;flex-direction:column;gap:8px;color:#64748b;font-size:.78rem}.footer-bottom a{text-decoration:none;color:#334155}
.floating-wa{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:120;background:#22c55e;color:white;border:3px solid white;box-shadow:0 18px 38px rgba(17,24,39,.18);border-radius:999px;width:64px;height:64px;display:grid;place-items:center;transition:transform .2s ease,box-shadow .2s ease}.floating-wa:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 22px 44px rgba(17,24,39,.24)}.floating-wa-icon{width:34px;height:34px;display:grid;place-items:center}.floating-wa-icon svg{width:34px;height:34px}
.reveal{opacity:0;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease}.reveal.is-visible{opacity:1;transform:none}
@media (min-width:640px){.container{width:min(var(--max),calc(100% - 56px))}.service-grid,.benefit-grid,.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.photo-wide{grid-column:span 2}.footer-top{grid-template-columns:1.35fr 1fr 1fr}.footer-bottom{flex-direction:row;justify-content:space-between}.contact-form .form-row{grid-template-columns:1fr 1fr}.floating-wa{right:24px;bottom:24px}}
@media (min-width:920px){.nav-links{display:flex;align-items:center;gap:18px}.menu-btn,.nav-icon{display:none}.nav-quote{display:inline-flex}.hero{padding:44px 0 72px}.hero-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:64px}.hero-photo img{aspect-ratio:4/3}.editorial-grid{grid-template-columns:1fr 1fr;gap:56px}.editorial-reverse .editorial-image{order:2}.editorial-reverse .editorial-copy{order:1}.consultation-grid{grid-template-columns:.9fr 1.1fr;gap:36px}.docs-grid{grid-template-columns:1fr auto;gap:26px}.mobile-nav{display:none!important}}
@media (max-width:440px){.hero h1{font-size:clamp(2.15rem,11.5vw,3rem)}.wordmark strong{font-size:.8rem}.wordmark small{font-size:.6rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}.reveal{opacity:1;transform:none}}

.hero-sub .hero-photo,.hero-home .hero-photo{border-radius:32px}.hero-sub .hero-copy{max-width:100%}.hero-sub .hero-lead{max-width:38ch}.hero-visual{min-width:0}

/* V6 — clean, square, image-led design system */
:root { --radius: 0px; --shadow: 0 6px 30px rgba(17,24,39,.045); }
html { scroll-padding-top: 95px; }
.hero-grid, .hero-copy, .hero-visual, .editorial-grid, .editorial-copy, .related-grid, .related-card, .service-card,
.service-grid, .consultation-grid, .consultation-form-wrap, .footer-top, .navline { min-width: 0; }
h1,h2,h3 { overflow-wrap: normal; word-break: normal; hyphens: none; -webkit-hyphens: none; text-wrap: wrap; }
.hero-copy { z-index: 1; overflow: visible; }
.hero-grid { gap: clamp(32px,4.1vw,64px); }
.hero h1 { max-width: none; width: auto; min-width:0; font-size:clamp(2.4rem,4.2vw,4.4rem); line-height:1.065; letter-spacing:-.055em; margin-bottom:22px; }
.hero h1.hero-title--long { font-size:clamp(2.15rem,3.15vw,3.6rem); line-height:1.09; letter-spacing:-.047em; }
.hero-sub .hero-copy { max-width:none; }
.hero-photo, .hero-sub .hero-photo, .hero-home .hero-photo, .service-card, .related-card,
.service-card-image, .related-image, .benefit-card, .editorial-image, .photo-tile, .docs-grid,
.consultation-photo, .consultation-form-wrap, .consultation-grid, .contact-form input:not([type=checkbox]),
.contact-form select, .contact-form textarea, .form-status:not([hidden]), .btn, .footer-chip,
.brand-mark, .nav-icon, .menu-btn, .top-icon, .mobile-nav a { border-radius:0 !important; }
/* WhatsApp alone remains circular, as requested. */
.floating-wa, .floating-wa-icon { border-radius:50% !important; }
.hero-photo img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:cover; }
.hero-visual { align-self:center; }
.service-card img, .related-card img, .editorial-image img, .photo-tile img,
.photo-wide img, .consultation-photo img { aspect-ratio: 16 / 10; object-fit:cover; }
.hero-lead { font-size:1rem; max-width:42ch; line-height:1.55; }
.editorial-copy h2 { max-width:none; font-size:clamp(1.9rem,3.45vw,3.55rem); line-height:1.09; }
.editorial-grid { gap:clamp(28px,4.5vw,74px); }
.service-card-copy, .related-copy { padding:18px 2px 9px; }
.service-card, .related-card { border:0; box-shadow:none; }
.service-card-copy h3, .related-copy h3 { font-size:clamp(1.2rem,2.2vw,1.65rem); line-height:1.2; }
.service-card:hover img, .related-card:hover img, .photo-tile:hover img, .editorial-image:hover img,
.consultation-photo:hover img { transform:scale(1.015); }
.consultation-grid { background:#fff; }
.consultation-form-wrap { box-shadow: none; border:1px solid var(--line); }
.gallery-section { padding-top:26px; }
.section-pad { padding-top:clamp(42px,5.3vw,80px); padding-bottom:clamp(42px,5.3vw,80px); }
.compact-space { padding-top:32px; }
.reveal { transform:translateY(9px); transition: opacity .32s ease, transform .32s ease; }
.mobile-nav[hidden] { display:none!important; }
@media(max-width:979px) {
  /* Stack text above photograph whenever the viewport cannot comfortably fit the title. */
  .hero-grid { display:grid; grid-template-columns:minmax(0,1fr) !important; }
  .hero h1 { font-size:clamp(2.35rem,8vw,4rem); }
  .hero h1.hero-title--long { font-size:clamp(2rem,6.9vw,3.7rem); }
  .hero-visual { width:100%; }
  .hero-photo img { aspect-ratio:16 / 10; }
  .hero { padding-top:26px; }
}
@media(min-width:980px) {
  .hero-grid { grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr); }
  .hero-photo img { aspect-ratio:4/3; }
}
@media(max-width:600px) {
  .hero h1 { font-size:clamp(2.15rem,10.7vw,3.4rem); }
  .hero h1.hero-title--long { font-size:clamp(1.85rem,8.7vw,3.0rem); }
  .hero { padding-top:18px; }
  .hero-grid { gap:26px; }
  .editorial-copy h2 { font-size:clamp(1.75rem,7.2vw,2.55rem); }
  .gallery-section { padding-top:12px; }
  .service-grid, .related-grid { gap:34px; }
  .photo-grid { gap:8px; }
  .photo-tile img { aspect-ratio: 4 / 3; }
  .consultation-form-wrap { padding:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .reveal { opacity:1; transform:none; }
  .service-card img, .related-card img, .photo-tile img, .editorial-image img { transition:none; }
}

/* Navigation safety: CTA must never compete with the mobile menu. */
.nav-actions .nav-quote { display:none; }
.nav-actions .nav-icon { display:grid; }
.nav-actions .menu-btn { display:grid; }
@media(min-width:980px) and (max-width:1279px) {
  .nav-links {display:none;}
  .nav-actions .menu-btn {display:grid;}
  .nav-actions .nav-icon {display:grid;}
}
@media(min-width:1280px) {
  .nav-links {display:flex;gap:16px;}
  .nav-actions .nav-quote {display:inline-flex;white-space:nowrap;}
  .nav-actions .nav-icon,.nav-actions .menu-btn {display:none;}
}
@media(max-width:420px) {
  .navline{gap:8px;}
  .nav-actions{gap:6px;}
  .nav-icon,.menu-btn{width:38px;height:38px;flex:none;}
  .brand-mark{width:40px;height:40px;flex:none;}
}

/* Keep content visible before scripts execute; reveal motion is purely decorative. */
.reveal { opacity:1; transform:none; transition:none; }
.reveal.is-visible { animation:atmx-rise .34s ease-out both; }
@keyframes atmx-rise { from {opacity:.96;transform:translateY(7px)} to {opacity:1;transform:none} }
@media(prefers-reduced-motion:reduce) { .reveal.is-visible {animation:none} }
/* Tablet menu must override the legacy desktop display:none!important rule. */
@media (min-width:920px) and (max-width:1279px) {
  .mobile-nav:not([hidden]) { display:grid!important; }
}

/* V7: nunca dividir palabras con guiones en los títulos principales */
.hero h1,.hero h1.hero-title--long{hyphens:none!important;-webkit-hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;text-wrap:wrap!important;}

/* V8 — no cortar palabras: los saltos ocurren únicamente en espacios.
   Nunca forzar guiones, ni siquiera en la sección del formulario. */
h1,h2,h3,h4,h5,h6,
.hero h1,.hero h1.hero-title--long,.consultation-copy h2,
.service-card-copy h3,.related-copy h3,.editorial-copy h2,
.contact-form label,.form-header strong,.btn,.nav-links a {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  text-wrap: wrap;
}
/* El máximo anterior de 10ch estrechaba el título y creaba "pro-". */
.consultation-copy h2 {
  max-width: none !important;
  min-width: 0;
  width: 100%;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
@media (max-width: 639px) {
  .consultation-copy h2 { font-size: clamp(1.9rem, 8.1vw, 2.8rem); }
  .editorial-copy h2 { font-size: clamp(1.75rem, 7.1vw, 2.55rem); }
}
@media (max-width: 359px) {
  .hero h1 { font-size: clamp(1.95rem, 9.1vw, 2.35rem); }
  .hero h1.hero-title--long { font-size: clamp(1.72rem, 8.4vw, 2.1rem); }
}
