@charset "UTF-8";
:root {
  color-scheme: light;
  --papel: #fff;
  --gris: #f1f4f6;
  --linea: #cbd2d8;
  --tinta: #17232d;
  --secundario: #4d5a65;
  --naranja: #b84408;
  --senal: #e8620c;
  --whatsapp: #116c3b;
  --titulo: "Archivo", Arial, sans-serif;
  --texto: "IBM Plex Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--texto); font-size: 17px; line-height: 1.65; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--naranja); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
.hero > *, .about-grid > *, .experience > *, .contact-layout > * { min-width: 0; }
figure { margin: 0; }
figcaption { padding-top: 12px; color: var(--secundario); font-size: 14px; line-height: 1.5; }
h1, h2, h3, h4 { margin: 0 0 20px; font-family: var(--titulo); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 960px; font-size: clamp(40px, 4.8vw, 68px); }
h2 { font-size: clamp(30px, 3.2vw, 44px); }
h3 { font-size: 25px; }
h4 { font-size: 21px; }
p { margin: 0 0 22px; }
ul { margin: 0; padding-left: 21px; }
address { font-style: normal; }
svg { display: block; flex: 0 0 auto; }
.container { width: calc(100% - 48px); max-width: 1200px; margin-inline: auto; }
.section { padding-block: 88px; }
.surface { background: var(--gris); }
.eyebrow { margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--secundario); }
.accent { color: var(--naranja); }
.lead { max-width: 690px; font-size: 21px; line-height: 1.55; color: var(--secundario); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; max-width: 720px; }
.section-heading p { max-width: 360px; margin: 0; color: var(--secundario); }
.text-link { font-weight: 600; color: var(--naranja); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; background: var(--naranja); color: white; font-weight: 600; font-size: 15px; line-height: 1.4; text-decoration: none; text-align: center; }
.button:hover { background: #913506; color: white; }
.button-outline { color: var(--tinta); background: transparent; border-color: #7c8993; }
.button-outline:hover { background: var(--gris); color: var(--tinta); }
.button-whatsapp { background: var(--whatsapp); color: white; }
.button-whatsapp:hover { background: #0b502b; color: white; }
.skip-link { position: absolute; z-index: 20; left: 16px; top: -100px; padding: 10px 18px; background: white; color: var(--tinta); }
.skip-link:focus { top: 12px; }
.site-header { border-top: 4px solid var(--senal); border-bottom: 1px solid var(--linea); background: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; min-height: 100px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 24px; text-decoration: none; }
.brand img, .logo-plate img { width: 125px; max-width: 125px; }
.brand-description { max-width: 160px; padding-left: 22px; border-left: 1px solid var(--linea); font-size: 12px; line-height: 1.4; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a { display: inline-block; padding-block: 10px; text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--naranja); text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav .button { padding: 10px 16px; font-size: 14px; }
.menu-toggle { display: none; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 3px; background: white; color: var(--tinta); align-items: center; gap: 9px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 72px 64px; }
.hero h1 { font-size: clamp(42px, 4.55vw, 66px); }
.hero h1 .accent { display: block; }
.hero .lead { font-size: 19px; }
.hero-photo { position: relative; border-top: 6px solid var(--senal); }
.hero-photo figcaption { padding: 14px 18px; background: var(--gris); border-bottom: 1px solid var(--linea); }
.photo-note { display: block; margin-top: 3px; }
.plant-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 32px; }
.plant-strip figure { width: 100%; }
.plant-strip img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-bottom: 3px solid var(--senal); }
.work-strip { padding-block: 36px 56px; border-top: 1px solid var(--linea); }
.work-strip .eyebrow { margin-bottom: 24px; }
.families { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.family { display: flex; flex-direction: column; align-items: start; padding: 32px 0 38px; border-top: 2px solid var(--tinta); }
.family h3 { max-width: 390px; font-size: 29px; }
.family p { color: var(--secundario); }
.family .text-link { margin-top: auto; }
.experience { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.experience h2 { max-width: 500px; }
.experience .eyebrow { color: var(--naranja); }
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.reason { border-top: 3px solid var(--senal); padding-top: 22px; }
.reason h3 { font-size: 21px; }
.reason p { margin-bottom: 0; color: var(--secundario); font-size: 16px; }
.contact-callout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding-block: 60px; border-top: 1px solid var(--linea); }
.contact-callout h2 { max-width: 540px; }
.contact-callout p { color: var(--secundario); }
.contact-callout address { padding-left: 28px; border-left: 3px solid var(--senal); align-self: center; }
.contact-callout address a { display: inline-block; margin-bottom: 8px; }
.page-intro { padding-block: 64px 54px; border-bottom: 1px solid var(--linea); }
.page-intro .lead { margin-bottom: 0; }
.page-intro .eyebrow { color: var(--naranja); }
.page-intro h1 { max-width: 1000px; }
.jump-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; font-size: 15px; font-weight: 500; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid figure { margin-top: 8px; }
.about-grid h2 { font-size: 34px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.principles article { border-top: 3px solid var(--senal); padding-top: 26px; }
.principles p { margin-bottom: 0; }
.director { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.director .name { font-family: var(--titulo); font-size: 29px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 2px; }
.director address a { display: inline-block; margin-bottom: 8px; }
.service-family { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; padding-block: 64px; border-bottom: 1px solid var(--linea); scroll-margin-top: 24px; }
.service-family:last-child { border-bottom: 0; }
.service-family h2 { padding-top: 22px; border-top: 4px solid var(--senal); font-size: 35px; }
.service-items { display: grid; gap: 28px; }
.service-items h3 { font-size: 23px; margin-bottom: 12px; }
.service-items p { margin-bottom: 0; color: var(--secundario); }
.gallery-intro { max-width: 760px; margin-bottom: 42px; }
.gallery-intro p { color: var(--secundario); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.gallery-grid figure { min-width: 0; }
.gallery-grid img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.gallery-category { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--naranja); }
.foto-400 { max-width: 400px; }
.foto-700 { max-width: 700px; }
.foto-720 { max-width: 720px; }
.foto-1052 { max-width: 1052px; }
.foto-1200 { max-width: 1200px; }
.project-types { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.project-types section { border-top: 3px solid var(--senal); padding-top: 28px; }
.project-types h3 { font-size: 29px; }
.project-types dl { margin: 0; }
.project-types dt { margin-top: 25px; font-weight: 600; font-size: 18px; line-height: 1.35; }
.project-types dd { margin: 8px 0 0; color: var(--secundario); font-size: 16px; }
.project-cta { border-top: 1px solid var(--linea); text-align: center; padding-block: 70px; }
.project-cta p { max-width: 630px; margin-inline: auto; color: var(--secundario); }
.project-cta .actions { justify-content: center; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.contact-layout h2 { font-size: 30px; }
.contact-data { margin: 0; }
.contact-data div { border-top: 1px solid var(--linea); padding-block: 20px; }
.contact-data dt { margin-bottom: 5px; color: var(--secundario); font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.contact-data dd { margin: 0; overflow-wrap: anywhere; }
.contact-data .phone { font-family: var(--titulo); font-weight: 700; font-size: 28px; }
.map { display: block; width: 100%; height: 540px; border: 1px solid var(--linea); background: var(--gris); }
.map-caption { margin-top: 16px; font-size: 14px; color: var(--secundario); }
.site-footer { background: var(--tinta); color: white; padding-block: 56px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .65fr 1.2fr; gap: 56px; }
.logo-plate { display: inline-block; padding: 9px 12px; background: white; margin-bottom: 22px; }
.footer-brand p { max-width: 330px; font-size: 14px; color: #c4cdd4; }
.site-footer h2 { font-family: var(--texto); font-size: 15px; letter-spacing: 0; font-weight: 600; margin-bottom: 20px; }
.site-footer nav { display: grid; justify-items: start; gap: 8px; }
.site-footer nav a, .site-footer address { font-size: 14px; }
.site-footer address a { display: inline-block; margin-bottom: 8px; }
.site-footer address p { margin-block: 8px 0; color: #c4cdd4; }
.site-footer a:hover { color: white; text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: white; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #56616b; margin-top: 36px; padding-top: 24px; font-size: 12px; color: #c4cdd4; }
.footer-bottom p { margin: 0; max-width: 720px; }
.mobile-contact { display: none; }
.floating-whatsapp { position: fixed; bottom: 20px; right: 16px; z-index: 10; width: 52px; height: 52px; padding: 12px; border: 2px solid white; border-radius: 4px; background: var(--whatsapp); color: white; display: grid; place-items: center; }
.floating-whatsapp:hover { background: #0b502b; color: white; }
.error-page { min-height: 52vh; padding-block: 90px; }
.error-page .lead { max-width: 580px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1000px) {
  .container { width: calc(100% - 160px); }
  .service-family > h2 { position: sticky; top: 124px; align-self: start; }
}
@media (max-width: 1350px) { .brand-description { display: none; } .site-nav { gap: 20px; } }
@media (max-width: 1100px) { .hero { gap: 32px; } .hero h1 { font-size: 48px; } .experience, .about-grid, .director, .service-family, .contact-layout { gap: 36px; } .footer-grid { gap: 32px; } }
@media (max-width: 999px) {
  /* Dos columnas de hasta 400 px respetan las fotos de menor resolución. */
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 832px; margin-inline: auto; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .header-inner { min-height: 92px; gap: 12px; }
  .menu-toggle { display: inline-flex; }
  /* Con JS, el menú arranca cerrado para que no salte el contenido al cargar menu.js. */
  html.js:not(.menu-listo) .site-nav { display: none; }
  html.js:not(.menu-listo) .menu-toggle[hidden] { display: inline-flex !important; }
  .site-nav { width: 100%; display: grid; gap: 0; padding-block: 8px 16px; border-top: 1px solid var(--linea); }
  .site-nav a { padding: 12px 0; }
  .site-nav .button { justify-self: start; margin-top: 8px; padding: 12px 18px; }
  .hero h1 { font-size: clamp(40px, 5.6vw, 54px); }
  .reasons { grid-template-columns: 1fr 1fr; gap: 32px; }
  .floating-whatsapp { display: none; }
  .mobile-contact { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: white; }
  .mobile-contact .button { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 32px; }
  .footer-brand .logo-plate { flex-shrink: 0; margin: 0; }
  .footer-brand p { margin: 0; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding-block: 56px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading p { margin-top: 18px; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 40px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 58px); }
  .hero .lead { font-size: 18px; }
  .hero .actions { display: grid; grid-template-columns: 1fr; margin-top: 26px; }
  .hero-photo figcaption { padding: 12px; }
  .work-strip { padding-block: 28px 40px; }
  .plant-strip { grid-template-columns: 1fr; gap: 28px; max-width: 400px; margin-inline: auto; }
  .families { grid-template-columns: 1fr; gap: 0; }
  .family { padding-block: 26px 30px; }
  .family h3 { font-size: 28px; }
  .experience, .about-grid, .principles, .director, .service-family, .contact-layout, .contact-callout { grid-template-columns: 1fr; gap: 32px; }
  .reasons { gap: 30px 24px; }
  .reason h3 { font-size: 19px; }
  .reason p { font-size: 15px; }
  .contact-callout { padding-block: 48px; }
  .contact-callout address { padding-left: 20px; }
  .page-intro { padding-block: 40px; }
  .page-intro .lead { font-size: 18px; }
  .jump-links { display: grid; gap: 14px; }
  .service-family { padding-block: 44px; }
  .service-family h2 { font-size: 31px; margin-bottom: 0; }
  .gallery-grid { grid-template-columns: 1fr; gap: 30px; max-width: 400px; }
  .project-types { grid-template-columns: 1fr; gap: 30px; }
  .project-types { gap: 44px; }
  .project-cta { padding-block: 50px; text-align: left; }
  .project-cta .actions { justify-content: start; }
  .map { height: 360px; }
  .contact-data .phone { font-size: 26px; }
  .site-footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { display: block; grid-column: auto; }
  .footer-brand p { margin-top: 20px; }
  .site-footer nav { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .footer-bottom { display: grid; }
  .error-page { padding-block: 56px; }
}
@media (max-width: 380px) { .container { width: calc(100% - 36px); } .hero h1 { font-size: 36px; } .reasons { grid-template-columns: 1fr; } .mobile-contact { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
