/* Grupo Abastecedora Comercial · Sitio estático, adaptable y sin dependencias externas */
:root {
  --red: #ad1424;
  --red-bright: #ca2637;
  --red-deep: #850e1c;
  --ink: #191d1f;
  --ink-dark: #121619;
  --muted: #727577;
  --paper: #f6f5f2;
  --cream: #efeee9;
  --line: #dfdfda;
  --white: #fff;
  --serif: Cambria, Georgia, "Times New Roman", serif;
  --sans: Calibri, "Segoe UI", Arial, sans-serif;
  --container: 1220px;
  --radius: 4px;
  --shadow: 0 25px 75px rgba(12,14,17,.13);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.dialog-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #da3647; outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button, input { font-family: inherit; }
::selection { background: #ac1425; color: white; }
.container { width: min(var(--container), calc(100% - 88px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 3000; top: -80px; left: 15px; padding: 12px 18px; background: #fff; color: #181818; font-weight: 700; }
.skip-link:focus { top: 15px; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 1600; width: 0; height: 3px; background: var(--red-bright); pointer-events: none; }
.section { padding: 130px 0; }
.section-title { font-family: var(--serif); letter-spacing: -2.3px; font-size: clamp(3.1rem, 5vw, 5.3rem); line-height: 1.08; margin: 19px 0 0; font-weight: 700; }
.section-title em { color: var(--red); font-style: normal; }
.section-title.light-title { color: #fff; }
.section-title.light-title em { color: #f5b0b7; }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .20em; color: var(--red); line-height: 1.4; }
.eyebrow.light { color: #f2b6bc; }
.eyebrow-line { display: inline-block; width: 32px; height: 2px; background: var(--red); }
.eyebrow.light .eyebrow-line { background: #f2b6bc; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-head > p { max-width: 370px; margin: 0 0 9px; color: #686b6d; font-size: 16px; }
.btn { display: inline-flex; gap: 27px; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 22px 0 25px; font-size: 13px; font-weight: 800; letter-spacing: .02em; border-radius: 3px; white-space: nowrap; transition: background .25s, transform .25s, border-color .25s; }
.btn svg { width: 19px; height: 19px; transition: transform .25s; }
.btn:hover svg { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; border: 1px solid var(--red); }
.btn-red:hover { background: #cf2637; border-color: #cf2637; }
.btn-outline-light { color: #fff; border: 1px solid #666f75; }
.btn-outline-light:hover { background: rgba(255,255,255,.10); border-color: #fff; }
/* BARRA SUPERIOR Y CABECERA */
.topline { background: #151719; color: #cdd0d1; font-size: 10px; line-height: 1.3; letter-spacing: .19em; font-weight: 700; }
.topline-inner { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; }
.topline-dot { display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px; background: var(--red-bright); border-radius: 50%; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.985); border-bottom: 1px solid #eae9e5; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 40px rgba(15,17,19,.08); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 95px; }
.brand { display: block; flex: none; width: 218px; }
.brand img { width: 100%; height: 85px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 32px); }
.nav-link { position: relative; padding: 30px 0; font-size: 13px; font-weight: 800; letter-spacing: .01em; color: #55595c; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; bottom: 22px; left: 0; right: 100%; height: 2px; background: var(--red); transition: right .3s; }
.nav-link:hover, .nav-link.is-current { color: var(--red); }
.nav-link:hover::after, .nav-link.is-current::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 15px 15px; font-weight: 800; font-size: 12px; white-space: nowrap; background: var(--ink); color: white; border-radius: 2px; transition: background .2s; }
.header-cta:hover { background: var(--red); }
.header-cta svg { width: 16px; height: 16px; }
.menu-toggle, .nav-mobile-contact { display: none; }
/* HERO */
.hero { position: relative; overflow: hidden; background: #141719; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(90deg,transparent 98%,#ffffff 100%),linear-gradient(0deg,transparent 98%,#ffffff 100%); background-size: 92px 92px; mask-image: linear-gradient(90deg, transparent 5%, black 80%); pointer-events: none; }
.hero-decor-one { position: absolute; width: 640px; height: 640px; right: -280px; top: -310px; border-radius: 50%; background: rgba(183,21,39,.13); filter: blur(140px); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); align-items: center; gap: clamp(45px, 6vw, 95px); padding: 92px 0 102px; min-height: 710px; position: relative; z-index: 1; }
.hero-copy { min-width: 0; }
.hero h1 { margin: 28px 0 26px; font-family: var(--serif); font-size: clamp(3.35rem, 5.15vw, 5.85rem); font-weight: 700; line-height: 1.065; letter-spacing: -.047em; overflow-wrap: normal; }
.hero h1 em { font-style: normal; color: #e9abb1; }
.hero-lead { max-width: 520px; font-size: clamp(16px, 1.35vw, 19px); color: #c4c8ca; line-height: 1.75; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-metrics { display: flex; align-items: center; gap: 28px; margin-top: 58px; }
.hero-metric { display: flex; gap: 12px; align-items: center; }
.hero-metric strong { font-family: var(--serif); font-weight: 700; font-size: clamp(37px, 3.5vw, 54px); line-height: 1; letter-spacing: -.06em; }
.hero-metric strong span { color: #de7e88; }
.hero-metric > span { display: block; font-size: 12px; line-height: 1.45; color: #adb1b4; }
.metric-divider { width: 1px; height: 38px; background: #4e5357; }
.hero-art { height: 565px; position: relative; isolation: isolate; }
.hero-main-photo { position: absolute; right: 0; top: 0; height: 90%; width: 91%; overflow: hidden; background: #242829; box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.hero-main-photo::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(10,10,10,.86)); pointer-events: none; }
.hero-main-photo > img { height: 100%; width: 100%; object-fit: cover; object-position: center; }
.photo-caption { position: absolute; z-index: 2; left: 49%; right: 14px; bottom: 26px; display: grid; gap: 7px; }
.photo-caption span { font-size: 10px; letter-spacing: .18em; font-weight: 800; color: #ffb2bb; }
.photo-caption strong { font-family: var(--serif); font-weight: 700; font-size: clamp(22px,2.5vw,32px); line-height: 1.1; }
.hero-small-photo { position: absolute; z-index: 2; left: -3%; bottom: 0; width: 44%; height: 38%; background: #242829; box-shadow: 10px -10px 0 #141719, 0 14px 32px rgba(0,0,0,.35); overflow: hidden; }
.hero-small-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-small-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.82)); }
.hero-small-photo span { position: absolute; z-index: 2; bottom: 15px; left: 15px; right: 15px; font-size: 9px; letter-spacing: .14em; font-weight: 800; }
.hero-side-label { position: absolute; right: -24px; top: 17px; writing-mode: vertical-rl; transform: translateX(100%); color: #9b9fa2; font-size: 9px; letter-spacing: .23em; font-weight: 700; }
.hero-photo-square { position: absolute; z-index: -1; top: -14px; left: 6%; width: 92%; height: 90%; border: 1px solid rgba(255,255,255,.24); }
.hero-bottom-line { position: absolute; bottom: 0; height: 5px; width: 170px; background: var(--red); left: calc((100% - min(var(--container),100% - 88px))/2); }
/* BANDA DE ESPECIALIDADES */
.capabilities { background: var(--red); color: #fff; }
.capabilities-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; }
.capabilities-content > span:not(.capabilities-label):not(.separating-circle) { font-size: 14px; font-weight: 700; }
.capabilities-label { font-size: 10px; letter-spacing: .17em; line-height: 1.3; color: #f5d3d6; white-space: nowrap; font-weight: 800; }
.separating-circle { width: 5px; height: 5px; border: 1px solid #ffd1d5; transform: rotate(45deg); flex-shrink: 0; }
/* QUIÉNES SOMOS */
.about-section { background: #f6f5f2; }
.about-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); align-items: center; gap: clamp(70px, 10vw, 150px); }
.about-visual { height: 640px; position: relative; }
.about-visual::before { position: absolute; content:""; left: -28px; top: 27px; width: 87%; height: 83%; border: 1px solid #c7c6c2; }
.about-image-frame { position: absolute; top: 0; left: 0; width: 78%; height: 86%; overflow: hidden; background: #dbdedb; }
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.about-inset-photo { position: absolute; z-index: 2; bottom: 50px; right: 0; width: 54%; height: 225px; border: 8px solid #f6f5f2; overflow: hidden; box-shadow: var(--shadow); }
.about-inset-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-image-label { position: absolute; bottom: 8px; left: 0; display: flex; flex-direction: column; gap: 7px; color: #6f7275; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.about-image-label span { color: var(--red); }
.about-copy { padding: 9px 0; }
.about-copy .section-title { margin-bottom: 30px; }
.about-lead { font-size: clamp(17px,1.4vw,19px); line-height: 1.78; color: #3f4245; margin: 0 0 22px; }
.about-lead strong { color: #1a1d1f; }
.about-secondary { color: #777a7d; margin: 0; font-size: 16px; line-height: 1.85; }
.about-expertise { margin-top: 28px; background: #fff; box-shadow: 0 14px 35px rgba(24,27,28,.05); padding: 23px 27px 26px; border-left: 3px solid var(--red); }
.expertise-header { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid #e9e7e1; padding-bottom: 17px; }
.expertise-header strong { font-size: 50px; line-height: 1; font-family: var(--serif); letter-spacing: -.045em; color: var(--red); }
.expertise-header strong span { font-size: 27px; }
.expertise-header > span { font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.45; }
.about-expertise ul { list-style: none; padding: 10px 0 0; margin: 0; }
.about-expertise li { font-size: 14px; color: #505458; display: flex; gap: 13px; align-items: baseline; padding: 6px 0; }
.about-expertise li::before { content:""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 28px; font-size: 14px; color: var(--red); font-weight: 800; padding-bottom: 7px; border-bottom: 1px solid var(--red); }
.text-link svg { width: 17px; height: 17px; transition: transform .25s; }
.text-link:hover svg { transform: translateX(6px); }
/* PRINCIPIOS */
.principles-section { background: #edede9; }
.principles-head { margin-bottom: 35px; }
.principles-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.principle-card { padding: 43px 46px 46px; min-height: 410px; display: flex; flex-direction: column; border-radius: 3px; }
.principle-card.mission { background: #fff; border: 1px solid #dedfdb; }
.principle-card.vision { background: #1b2022; color: #fff; }
.principle-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.principle-index { font-size: 11px; color: var(--red); letter-spacing: .16em; font-weight: 800; }
.vision .principle-index { color: #f2a6af; }
.principle-monogram { width: 46px; height: 46px; border: 1px solid var(--red); color: var(--red); display: grid; place-items: center; border-radius: 50%; font-size: 18px; font-weight: 800; font-family: var(--serif); }
.vision .principle-monogram { background: var(--red); color: white; border-color: var(--red); }
.principle-card h3 { font-family: var(--serif); font-size: 35px; letter-spacing: -.025em; margin: 27px 0 12px; line-height: 1.2; }
.principle-card p { font-size: 17px; line-height: 1.78; max-width: 450px; margin: 0 0 32px; color: #50545a; }
.vision p { color: #c7cbcc; }
.principle-bottom { height: 2px; width: 62px; background: var(--red); margin-top: auto; }
/* SERVICIOS */
.services-section { background: #171b1d; position: relative; overflow: hidden; }
.services-section::before { content: ""; position: absolute; right: -180px; top: -110px; height: 500px; width: 500px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.015),0 0 0 180px rgba(255,255,255,.012); pointer-events: none; }
.services-section .container { position: relative; }
.services-head > p { color: #adb2b5; }
.services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; align-items: stretch; }
.service-card { background: #f8f7f3; color: #1b1d1f; min-height: 620px; padding: clamp(28px,3.6vw,54px); display: flex; flex-direction: column; border: 1px solid #f8f7f3; border-radius: 3px; }
.service-card-dark { color: white; background: #282d2f; border-color: #52575a; }
.service-card-head { display: flex; align-items: center; gap: 22px; padding-bottom: 28px; border-bottom: 1px solid #dfdfda; }
.service-card-dark .service-card-head { border-color: #4a4f52; }
.service-monogram { width: 62px; height: 62px; background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--serif); font-size: 26px; font-weight: 700; }
.service-number { display: block; font-weight: 800; letter-spacing: .2em; font-size: 10px; color: var(--red); margin-bottom: 3px; }
.service-card-dark .service-number { color: #f6a7b0; }
.service-card h3 { margin: 0; font-family: var(--serif); line-height: 1.15; font-size: clamp(27px,3vw,35px); letter-spacing: -.02em; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 20px; list-style: none; margin: 34px 0 38px; padding: 0; }
.service-list li { position: relative; padding-left: 17px; font-size: 15px; line-height: 1.5; color: #4d5153; font-weight: 600; }
.service-list li::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; position: absolute; top: .56em; left: 0; }
.service-card-dark .service-list li { color: #e0e2e3; }
.service-card-dark .service-list li::before { background: #f2a4ac; }
.service-action { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; margin-top: auto; border-top: 1px solid #dfdfda; font-size: 14px; font-weight: 800; }
.service-card-dark .service-action { border-color: #4a4f52; }
.service-action svg { height: 20px; width: 20px; transition: transform .25s; }
.service-action:hover svg { transform: translateX(6px); }
/* PROYECTOS */
.projects-section { background: #f6f5f2; }
.project-head { margin-bottom: 45px; }
.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.project-card { position: relative; min-width: 0; display: block; isolation: isolate; height: clamp(350px, 32vw, 440px); text-align: left; padding: 0; background: #24292b; color: #fff; border: 0; overflow: hidden; cursor: pointer; border-radius: 2px; box-shadow: 0 6px 18px rgba(11,14,16,.065); transition: transform .35s, box-shadow .35s; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 25px 48px rgba(11,14,16,.17); }
.project-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.15,1); }
.project-card:hover > img { transform: scale(1.055); }
.project-card:nth-child(4) img { object-position: center 22%; }
.project-card:nth-child(6) img { object-position: center 40%; }
.project-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(15,17,18,.48) 0%,transparent 39%,rgba(9,11,13,.38) 57%,rgba(8,11,13,.94) 100%); }
.project-top, .project-bottom { position: absolute; left: 25px; right: 25px; z-index: 1; }
.project-top { top: 22px; display: flex; justify-content: space-between; align-items: start; gap: 10px; font-weight: 800; font-size: 10px; letter-spacing: .17em; }
.project-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9dad9; font-size: 21px; font-family: Arial,sans-serif; font-weight: 400; line-height: 1; transition: background .2s, color .2s; }
.project-card:hover .project-arrow { background: white; color: #151719; }
.project-bottom { bottom: 25px; display: flex; flex-direction: column; align-items: start; gap: 6px; }
.project-bottom > span:first-child { color: #f0b9bf; font-size: 12px; font-weight: 800; letter-spacing: .05em; line-height: 1.25; }
.project-bottom strong { font-family: var(--serif); font-weight: 700; font-size: clamp(24px,2.25vw,33px); line-height: 1.16; letter-spacing: -.02em; max-width: 330px; }
.project-explore { color: #fff; font-size: 12px; letter-spacing: .035em; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; margin-top: 12px; font-weight: 800; }
.project-explore > span { padding-left: 7px; font-size: 16px; }
.projects-note { display: flex; align-items: center; gap: 20px; margin-top: 28px; font-size: 13px; }
.projects-note-line { width: 55px; height: 2px; flex: none; background: var(--red); }
.projects-note p { color: #717577; margin: 0; flex: 1; }
.projects-note a { color: var(--red); font-weight: 800; white-space: nowrap; }
.projects-note a span { margin-left: 9px; }
/* CONTACTO */
.contact-section { background: #171b1d; color: #fff; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(40px,8vw,120px); align-items: center; padding: 120px 0 135px; }
.contact-intro { align-self: stretch; position: relative; display: flex; align-items: start; flex-direction: column; min-height: 450px; }
.contact-intro .section-title { margin-top: 30px; max-width: 560px; font-size: clamp(3.4rem,5.5vw,6.3rem); }
.contact-intro p { color: #aeb4b6; font-size: 18px; line-height: 1.9; margin: 24px 0 30px; }
.contact-intro .btn { z-index: 1; }
.contact-watermark { position: absolute; left: -14px; bottom: -105px; font-size: clamp(130px,19vw,290px); letter-spacing: -.1em; font-weight: 800; opacity: .042; font-family: var(--serif); pointer-events: none; white-space: nowrap; }
.contact-card { background: #f8f7f3; color: #222527; padding: clamp(28px,3.5vw,46px); border-top: 5px solid var(--red); }
.contact-card-header { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: 10px; letter-spacing: .18em; color: var(--red); padding: 0 0 15px; }
.contact-item { display: flex; gap: 17px; align-items: center; padding: 21px 0; border-top: 1px solid #d8d9d5; }
.contact-item-num { align-self: start; color: var(--red); padding-top: 8px; font-size: 12px; font-weight: 800; }
.contact-item > div { flex: 1; min-width: 0; }
.contact-label { display: block; font-size: 10px; font-weight: 800; color: #828587; letter-spacing: .13em; margin-bottom: 4px; }
.contact-item a { display: inline-block; font-weight: 700; color: #1d2224; font-size: clamp(16px,1.65vw,21px); overflow-wrap: anywhere; transition: color .2s; }
.contact-item a:hover { color: var(--red); }
.contact-item svg { width: 19px; height: 19px; color: var(--red); }
.contact-item address { font-size: 17px; font-style: normal; font-weight: 600; line-height: 1.6; }
.business-name { border-top: 1px solid #d8d9d5; padding-top: 18px; font-size: 12px; color: #6a6e70; font-weight: 700; letter-spacing: .02em; margin: 0; }
/* FOOTER */
.site-footer { background: #f4f3ef; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-top: 56px; padding-bottom: 47px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand a { width: 200px; flex: none; }
.footer-brand img { width: 100%; height: 95px; object-fit: contain; }
.footer-brand p { max-width: 255px; color: #626669; font-size: 13px; line-height: 1.55; margin: 0; }
.footer-nav { display: flex; gap: 21px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 800; transition: color .2s; }
.footer-nav a:hover { color: var(--red); }
.footer-lower { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #dcddda; padding-top: 22px; padding-bottom: 22px; color: #737678; font-size: 12px; }
.footer-lower a { color: var(--red); font-weight: 800; }
/* MODAL DE PROYECTO */
.project-dialog { width: min(1040px,calc(100vw - 48px)); max-width: none; max-height: min(92vh,1000px); border: none; border-radius: 6px; padding: 0; margin: auto; color: var(--ink); background: #f8f7f4; box-shadow: 0 40px 120px rgba(0,0,0,.38); overflow-y: auto; overscroll-behavior: contain; }
.project-dialog::backdrop { background: rgba(9,12,14,.82); backdrop-filter: blur(4px); }
.dialog-topbar { position: sticky; top: 0; z-index: 5; background: #191d1f; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 15px 23px 15px 35px; min-height: 67px; }
.dialog-topbar > span { color: #f1b9bf; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.dialog-close { border: 1px solid #6a7073; color: white; width: 36px; height: 36px; background: transparent; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.dialog-close:hover { background: var(--red); border-color: var(--red); }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-body { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1fr); gap: 40px; padding: 42px; }
.dialog-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dialog-description h2 { font: 700 clamp(30px,3.5vw,45px)/1.11 var(--serif); letter-spacing: -.035em; margin: 16px 0 15px; }
.dialog-period, .dialog-credit { font-size: 13px; margin: 5px 0; line-height: 1.7; color: #77797a; }
.dialog-description h3, .dialog-gallery-wrap h3 { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin: 32px 0 18px; font-weight: 800; }
.dialog-description ul { margin: 0; padding-left: 20px; }
.dialog-description li { line-height: 1.65; font-size: 15px; margin: 0 0 14px; color: #3e4244; padding-left: 2px; }
.dialog-description li::marker { color: var(--red); }
.dialog-gallery-wrap h3 { margin-top: 0; }
.dialog-gallery-wrap h3 span { color: #878b8d; margin-left: 6px; }
.dialog-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.dialog-gallery button { display: block; padding: 0; border: 0; aspect-ratio: 1.25; overflow: hidden; background: #d3d5d2; cursor: zoom-in; }
.dialog-gallery button:nth-child(1) { grid-column: 1/-1; aspect-ratio: 1.75; }
.dialog-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dialog-gallery button:hover img { transform: scale(1.045); }
.dialog-gallery-wrap > p { font-size: 12px; color: #858889; margin: 14px 0 0; }
/* VISOR FOTOGRÁFICO */
.lightbox-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: transparent; overflow: hidden; }
.lightbox-dialog::backdrop { background: rgba(5,7,8,.95); }
.lightbox-shell { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 70px clamp(50px,10vw,150px) 70px; position: relative; color: #fff; }
.lightbox-shell > img { width: auto; height: auto; max-height: calc(100dvh - 160px); max-width: 100%; object-fit: contain; background: rgba(255,255,255,.05); }
.lightbox-shell > p { font-size: 12px; text-align: center; color: #d5d6d7; margin: 14px 0 0; }
.lightbox-close { position: absolute; top: 22px; right: 30px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #8c9296; background: #21272a; color: #fff; cursor: pointer; border-radius: 50%; }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid #737a7c; color: #fff; border-radius: 50%; background: rgba(29,34,36,.82); cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; }
.lightbox-nav:hover { background: var(--red); border-color: var(--red); }
.lightbox-nav svg { width: 21px; height: 21px; }
.lightbox-nav.prev { left: 25px; }.lightbox-nav.next { right: 25px; }
/* ENTRADAS DISCRETAS */
.reveal { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js-animations .reveal { opacity: 0; transform: translateY(23px); }
.js-animations .reveal.visible { opacity: 1; transform: translateY(0); }
.hero-copy .reveal:nth-child(2) { transition-delay: .08s; }.hero-copy .reveal:nth-child(3) { transition-delay: .15s; }.hero-copy .reveal:nth-child(4) { transition-delay: .22s; }
/* ADAPTACIÓN */
@media (max-width: 1230px) {
  .container { width: min(var(--container),calc(100% - 60px)); }
  .header-inner { gap: 15px; }
  .brand { width: 178px; }.brand img { height: 77px; }.nav { gap: 18px; }
  .header-cta { font-size: 11px; padding: 13px; }
  .hero-grid { gap: 45px; }.hero h1 { font-size: clamp(3.2rem,5vw,5rem); }
  .about-grid { gap: 60px; }
  .capabilities-content { gap: 15px; }
  .capabilities-content > span:not(.capabilities-label):not(.separating-circle) { font-size: 12px; }
}
@media (max-width: 1020px) {
  .container { width: min(var(--container),calc(100% - 48px)); }
  .topline-inner { padding: 10px 0; }
  .header-inner { min-height: 81px; }
  .brand { width: 195px; }.brand img { height: 78px; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; align-items: center; width: 48px; height: 44px; border: 1px solid #d5d5d1; background: #fff; cursor: pointer; margin-left: auto; }
  .menu-toggle span { width: 20px; height: 2px; background: #202427; transition: transform .25s,opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; z-index: 10; flex-direction: column; align-items: stretch; gap: 0; padding: 12px max(24px,calc((100vw - var(--container))/2)) 25px; box-shadow: 0 24px 40px rgba(0,0,0,.12); border-top: 1px solid #e8e8e4; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s,transform .2s,visibility .2s; }
  .nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-link { display: block; border-bottom: 1px solid #e9e8e3; padding: 14px 4px; font-size: 16px; }
  .nav-link::after { display: none; }
  .nav-mobile-contact { display: flex; justify-content: space-between; margin-top: 12px; color: var(--red); font-weight: 800; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 76px 0 86px; min-height: 615px; }
  .hero h1 { font-size: clamp(2.9rem,5.2vw,4.6rem); }
  .hero-art { height: 480px; }
  .hero-small-photo { width: 47%; }
  .about-visual { height: 550px; }
  .about-image-frame { width: 85%; }
  .about-inset-photo { width: 55%; height: 185px; bottom: 60px; }
  .about-grid { gap: 40px; }
  .section { padding: 100px 0; }
  .section-title { font-size: clamp(3rem,5vw,4.5rem); }
  .services-grid { gap: 14px; }
  .service-card { padding: 30px; }
  .service-list { column-gap: 10px; }
  .project-card { height: 350px; }.project-bottom strong { font-size: 25px; }
  .contact-grid { gap: 35px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .container { width: calc(100% - 38px); }
  .topline { display: none; }
  .header-inner { min-height: 76px; }
  .brand { width: 165px; }.brand img { height: 71px; }
  .header-cta { display: none; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding: 65px 0 78px; min-height: 0; gap: 50px; }
  .hero-copy { max-width: 630px; }
  .hero h1 { max-width: 660px; font-size: clamp(3.25rem,8vw,5rem); margin: 22px 0 22px; }
  .hero-lead { max-width: 550px; }
  .hero-actions { margin-top: 26px; }
  .hero-metrics { margin-top: 38px; }
  .hero-art { height: min(88vw,540px); min-height: 360px; }
  .hero-main-photo { width: 90%; height: 91%; }
  .hero-small-photo { left: 0; width: 43%; height: 40%; }
  .hero-side-label { display: none; }
  .hero-bottom-line { left: 19px; }
  .capabilities-content { justify-content: center; gap: 11px; flex-wrap: wrap; padding: 18px 0; }
  .capabilities-label { width: 100%; text-align: center; margin-bottom: 4px; }
  .capabilities-content > span:not(.capabilities-label):not(.separating-circle) { font-size: 12px; text-align: center; }
  .capabilities-content .separating-circle { display: none; }
  .section { padding: 78px 0; }
  .section-title { font-size: clamp(2.9rem,8vw,4.4rem); }
  .section-head { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 32px; }
  .section-head > p { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-visual { height: min(108vw,620px); min-height: 400px; width: min(100%,570px); margin: auto; }
  .about-image-frame { width: 77%; }
  .about-inset-photo { width: 51%; height: 38%; bottom: 40px; }
  .about-copy { padding-top: 0; }
  .principles-grid { grid-template-columns: 1fr; gap: 14px; }
  .principle-card { min-height: 350px; padding: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .project-card { height: 370px; }
  .project-top, .project-bottom { left: 18px; right: 18px; }
  .project-bottom strong { font-size: clamp(21px,3.6vw,27px); }
  .projects-note { flex-wrap: wrap; }
  .projects-note p { min-width: 60%; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; padding: 80px 0; }
  .contact-intro { min-height: 0; padding-bottom: 16px; }
  .contact-watermark { display: none; }
  .contact-intro .section-title { font-size: clamp(3.5rem,9vw,5rem); }
  .footer-inner { flex-direction: column; align-items: start; gap: 18px; padding-top: 34px; padding-bottom: 30px; }
  .footer-nav { gap: 14px 20px; }
  .dialog-body { grid-template-columns: 1fr; gap: 25px; padding: 28px; }
  .dialog-description h2 { font-size: 35px; }
  .dialog-description h3 { margin-top: 23px; }
  .dialog-gallery-wrap h3 { margin-top: 4px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .hero-grid { padding-top: 53px; gap: 38px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .12em; gap: 9px; }
  .eyebrow-line { width: 25px; }
  .hero h1 { font-size: clamp(2.7rem,11.8vw,4.15rem); letter-spacing: -.05em; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-metrics { gap: 17px; margin-top: 33px; }
  .hero-metric { gap: 8px; }.hero-metric strong { font-size: 43px; }.hero-metric > span { font-size: 10px; }
  .hero-art { height: 350px; min-height: 350px; }
  .hero-main-photo { width: 94%; height: 89%; }
  .hero-photo-square { height: 87%; }
  .hero-small-photo { width: 48%; height: 43%; }
  .photo-caption { bottom: 18px; left: 53%; right: 9px; }.photo-caption strong { font-size: 20px; }
  .hero-small-photo span { font-size: 8px; bottom: 10px; left: 9px; }
  .capabilities-content { justify-content: start; row-gap: 7px; }
  .capabilities-label { text-align: left; }
  .capabilities-content > span:not(.capabilities-label):not(.separating-circle) { text-align: left; width: 100%; font-size: 12px; }
  .section { padding: 68px 0; }
  .section-title { font-size: clamp(2.7rem,11vw,3.4rem); letter-spacing: -.05em; }
  .about-visual { min-height: 350px; height: 105vw; }
  .about-inset-photo { border-width: 5px; bottom: 28px; }
  .about-copy .section-title { margin-bottom: 20px; }
  .about-lead { font-size: 16px; }
  .about-secondary { font-size: 15px; }
  .about-expertise { padding: 19px; }
  .principle-card { min-height: 0; padding: 28px 25px 32px; }
  .principle-card h3 { font-size: 31px; }.principle-card p { font-size: 16px; }
  .service-card { padding: 26px 22px; }
  .service-card-head { gap: 14px; }.service-monogram { width: 52px; height: 52px; font-size: 22px; }.service-card h3 { font-size: 29px; }
  .service-list { grid-template-columns: 1fr; row-gap: 15px; margin: 26px 0 34px; }
  .service-list li { font-size: 15px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { height: 410px; }
  .project-bottom strong { font-size: 31px; }
  .projects-note-line { display: none; }
  .projects-note p { flex-basis: 100%; }
  .contact-grid { padding: 70px 0; }
  .contact-intro .section-title { font-size: 3.6rem; }
  .contact-intro p { font-size: 16px; }
  .contact-card { padding: 22px; }
  .contact-item { gap: 12px; }.contact-item a { font-size: 17px; }.contact-item address { font-size: 15px; }
  .footer-brand { align-items: start; gap: 5px; flex-direction: column; }.footer-brand a { width: 180px; }.footer-brand img { height: 82px; }.footer-brand p { max-width: none; }
  .footer-lower { align-items: start; flex-direction: column; gap: 5px; }
  .project-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .dialog-topbar { padding: 12px 16px; }.dialog-body { padding: 23px 20px 33px; }.dialog-description h2 { font-size: 33px; }
  .lightbox-shell { padding: 72px 48px 74px; }.lightbox-nav { width: 38px; height: 38px; }.lightbox-nav.prev { left: 5px; }.lightbox-nav.next { right: 5px; }.lightbox-close { right: 13px; top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
