/* ============================================================
   Energías Renovables de Mazatecochco
   Sitio estático. Estilos principales, diseño responsive.
   ============================================================ */
:root {
  --navy: #102b31;
  --navy-deep: #09262d;
  --forest: #195c42;
  --green: #317c4e;
  --lime: #d9e8b4;
  --gold: #f5b94d;
  --cream: #f7f8f3;
  --white: #fff;
  --ink: #172d33;
  --muted: #64746d;
  --line: #dfe6de;
  --font-display: 'Manrope', 'Arial', sans-serif;
  --font-body: 'DM Sans', 'Arial', sans-serif;
  --shadow: 0 22px 60px rgba(20, 48, 38, .095);
  --radius-lg: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
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 #e7a62b; outline-offset: 4px; }
::selection { background: #f5b94d; color: #112b31; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .way-arrow { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 80px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; top: 8px; left: 8px; padding: 12px 18px; color: var(--navy); background: #fff; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.section-pad { padding-block: clamp(90px, 11vw, 150px); }

/* Navegación */
.site-header { position: sticky; top: 0; z-index: 80; background: #fbfcf9; border-bottom: 1px solid #e9eee7; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { position: sticky; top: 0; box-shadow: 0 10px 30px rgba(9,35,39,.07); background: rgba(251,252,249,.97); backdrop-filter: blur(16px); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; min-width: 0; }
.brand-logo { display: grid; place-items: center; width: 59px; height: 66px; border-radius: 12px; background: #fff; overflow: hidden; flex-shrink: 0; }
.brand-logo img { width: 48px; height: 63px; object-fit: contain; }
.brand-name { display: block; max-width: 188px; line-height: 1.45; letter-spacing: .075em; color: #223b3c; font: 800 10px/1.5 var(--font-display); }
.brand-name span { display: block; font-size: 10px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 34px); margin-left: auto; }
.nav-link { font-size: 13px; font-weight: 700; transition: color .25s; position: relative; padding: 10px 0; }
.nav-link:hover, .nav-link.is-current { color: var(--green); }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.nav-link:hover::after, .nav-link.is-current::after { width: 100%; }
.header-cta { display: inline-flex; align-items: center; gap: 18px; padding: 12px 13px 12px 22px; color: #fff; font-size: 13px; font-weight: 700; border-radius: 100px; background: var(--navy); white-space: nowrap; transition: background .25s, transform .25s; }
.header-cta:hover { background: var(--green); transform: translateY(-2px); }
.header-cta span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--gold); }
.header-cta .icon { width: 16px; height: 16px; }
.mobile-toggle, .mobile-menu { display: none; }

/* Hero */
.hero-wrap { overflow: hidden; position: relative; color: #fff; background: radial-gradient(ellipse at 82% 20%, #23564e 0%, transparent 38%), linear-gradient(135deg, #143b3b 0%, #102e35 41%, #0c2631 100%); isolation: isolate; }
.hero-grain { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px); background-size: 70px 70px; opacity: .45; z-index: -1; }
.hero-orbit { position: absolute; aspect-ratio: 1; border: 1px solid rgba(198,223,192,.11); border-radius: 50%; pointer-events: none; z-index: -1; }
.hero-orbit-one { width: 840px; right: -480px; top: -530px; }
.hero-orbit-two { width: 600px; right: -350px; bottom: -510px; }
.hero-grid { min-height: 685px; padding-block: 82px 82px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(26px, 4vw, 66px); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 13px; letter-spacing: .19em; text-transform: uppercase; font: 800 11px/1.5 var(--font-display); }
.hero-eyebrow { color: #b9dfc0; }
.eyebrow-line { width: 34px; height: 1px; background: var(--gold); }
.hero-copy h1 { margin: 24px 0 25px; font: 800 clamp(43px, 4.5vw, 71px)/1.085 var(--font-display); letter-spacing: -.064em; }
.hero-copy h1 > span { color: #cce2a4; }
.hero-copy h1 small { font: 600 clamp(32px, 3.35vw, 52px)/1.28 var(--font-display); letter-spacing: -.055em; display: block; margin-top: 5px; }
.hero-copy p { max-width: 500px; margin: 0; color: #c4d5d1; line-height: 1.9; font-size: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 15px 23px; border: 1px solid transparent; border-radius: 100px; font: 800 13px/1.5 var(--font-display); cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sun { background: var(--gold); color: #142e32; box-shadow: 0 10px 25px rgba(238,171,66,.16); }
.btn-sun:hover { background: #ffca6e; box-shadow: 0 14px 35px rgba(238,171,66,.25); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-small-note { margin-top: 46px; display: flex; align-items: center; gap: 11px; font-size: 12px; color: #b5d0c8; }
.hero-small-note .icon { width: 17px; height: 17px; color: var(--gold); }
.hero-visual { position: relative; padding: 52px 0 34px 53px; min-width: 0; }
.hero-main-photo { position: relative; height: clamp(350px, 38vw, 530px); width: 100%; margin: 0; border-radius: 170px 15px 15px 15px; overflow: hidden; background: #37575a; box-shadow: 0 35px 65px rgba(0,0,0,.23); }
.hero-main-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-radius: inherit; pointer-events: none; }
.hero-main-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 52% center; animation: hero-scale 1.4s both; }
@keyframes hero-scale { from {transform: scale(1.045); opacity: .7} to {transform: scale(1); opacity: 1} }
.hero-inset-photo { position: absolute; width: 42%; aspect-ratio: .94; left: 0; bottom: -6px; margin: 0; border: 7px solid var(--navy-deep); border-radius: 18px 18px 75px 18px; overflow: hidden; background: #43675b; box-shadow: 0 22px 55px rgba(0,0,0,.25); }
.hero-inset-photo img { height: 100%; width: 100%; object-fit: cover; }
.hero-photo-label { position: absolute; top: 5px; right: -14px; display: flex; align-items: center; gap: 13px; width: 178px; min-height: 82px; padding: 14px 19px; background: #f3f5e9; color: #244c39; box-shadow: 0 20px 38px rgba(0,0,0,.18); border-radius: 3px 26px 3px 26px; transform: rotate(3deg); }
.hero-photo-label .icon { height: 30px; width: 30px; color: #46945b; }
.hero-photo-label span { font: 800 10px/1.5 var(--font-display); letter-spacing: .12em; }
.hero-frame-accent { position: absolute; width: 88px; height: 88px; border: 1px solid rgba(199,224,170,.3); border-radius: 50%; bottom: 4px; right: -33px; z-index: -1; }
.hero-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 26px; border-top: 1px solid rgba(255,255,255,.15); color: #bdd0cc; font: 800 10px/1.5 var(--font-display); letter-spacing: .17em; }
.hero-footer a { display: inline-flex; align-items: center; gap: 10px; color: #e5f0df; font-size: 11px; letter-spacing: 0; }
.hero-footer .icon { width: 16px; height: 16px; }
.hero-footer a:hover { color: var(--gold); }

/* Editorial / presentación */
.intro-section { background: #f8faf6; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(45px, 9vw, 140px); }
.intro-visual { position: relative; padding: 0 36px 38px 0; }
.intro-visual::before { content: ''; position: absolute; left: 33px; top: 35px; right: 0; bottom: 0; border: 1px solid #99bba1; border-radius: 20px 80px 20px 20px; }
.intro-img-wrap { position: relative; height: 470px; overflow: hidden; background: #dbe9e1; border-radius: 18px 100px 18px 18px; box-shadow: var(--shadow); }
.intro-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-stamp { display: flex; align-items: center; gap: 10px; position: absolute; right: -9px; bottom: 2px; background: #fff; padding: 18px 23px; box-shadow: 0 14px 40px rgba(24,63,43,.1); border: 1px solid var(--line); border-radius: 14px; }
.intro-image-stamp .icon { width: 31px; height: 31px; color: #448b54; }
.intro-image-stamp span { font: 800 10px/1.55 var(--font-display); color: var(--ink); letter-spacing: .1em; }
.section-eyebrow { color: #4d8f65; }
.separator { width: 23px; height: 1px; background: #8ab391; }
h2 { margin: 25px 0; font: 800 clamp(38px, 4.1vw, 62px)/1.18 var(--font-display); letter-spacing: -.065em; }
h2 em { color: var(--green); font-style: normal; }
.intro-copy { padding-block: 26px; }
.intro-copy h2 { max-width: 510px; }
.intro-copy p { max-width: 485px; font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0 0 15px; }
.text-link { display: inline-flex; align-items: center; gap: 23px; margin-top: 21px; font: 800 13px var(--font-display); color: #215c40; }
.text-link span { display: grid; place-items: center; height: 45px; width: 45px; border: 1px solid #afcdb6; border-radius: 50%; transition: transform .25s, background .25s, color .25s; }
.text-link:hover span { transform: translate(3px,-3px); background: #215c40; color: #fff; }
.category-ribbon { background: #e8eee3; color: #47735b; overflow: hidden; }
.category-ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 88px; }
.category-ribbon-inner > span:not(.ribbon-mark) { font: 800 clamp(10px, 1.25vw, 13px)/1.4 var(--font-display); letter-spacing: .16em; white-space: nowrap; }
.ribbon-mark { display: block; flex: 0 0 6px; height: 6px; border-radius: 50%; background: #efa929; }

/* Galería */
.gallery-section { background: #f9faf6; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 55px; margin-bottom: 38px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading > p { margin: 0 0 6px; max-width: 370px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
.filter-scroll { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.filter-chip { border: 1px solid #d8e3d9; background: #fff; border-radius: 50px; padding: 10px 16px; font: 700 12px/1.4 var(--font-display); color: #607468; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.filter-chip:hover { color: var(--forest); border-color: #8bb998; }
.filter-chip.is-active { color: #fff; background: var(--forest); border-color: var(--forest); }
.gallery-count { flex: 0 0 auto; color: #6c7c71; font: 700 12px var(--font-display); white-space: nowrap; }
.gallery-grid { columns: 4 230px; column-gap: 19px; }
.gallery-card { display: inline-block; width: 100%; margin: 0 0 19px; padding: 8px 8px 12px; border: 1px solid #d3e2d7; border-radius: 14px; overflow: hidden; background: #fff; text-align: left; cursor: zoom-in; box-shadow: 0 7px 23px rgba(11,48,38,.045); vertical-align: top; break-inside: avoid; -webkit-column-break-inside: avoid; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.gallery-card:hover { border-color: #9abea1; transform: translateY(-5px); box-shadow: 0 20px 34px rgba(11,48,38,.12); }
.gallery-card[hidden] { display: none !important; }
.gallery-image-shell { display: block; position: relative; overflow: hidden; border-radius: 9px; background: #e6eae7; }
.gallery-image-shell img { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse at center, #000 77%, rgba(0,0,0,.95) 89%, rgba(0,0,0,.80) 97%, rgba(0,0,0,.64) 100%); mask-image: radial-gradient(ellipse at center, #000 77%, rgba(0,0,0,.95) 89%, rgba(0,0,0,.80) 97%, rgba(0,0,0,.64) 100%); transition: transform .6s ease; }
.gallery-card:hover .gallery-image-shell img { transform: scale(1.035); }
.gallery-image-mark { position: absolute; right: 11px; bottom: 11px; display: grid; place-items: center; height: 34px; width: 34px; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.93); box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: transform .25s; }
.gallery-image-mark .icon { width: 16px; height: 16px; }
.gallery-card:hover .gallery-image-mark { transform: rotate(90deg); }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 12px 5px 0; font: 700 11px/1.4 var(--font-display); color: #3b5c4a; }
.gallery-photo-num { font-size: 10px; font-weight: 800; letter-spacing: .13em; color: #a7b7a9; }
.gallery-bottom { display: flex; flex-direction: column; align-items: center; margin-top: 38px; gap: 14px; text-align: center; }
.gallery-bottom p { margin: 0; color: #8a968d; font-size: 12px; }
.btn-more { background: #f9faf6; border-color: #9ebca7; color: var(--forest); min-width: 200px; }
.btn-more:hover { background: #eaf2e9; }
.btn-more[hidden] { display: none !important; }

/* Ubicación + contacto */
.contact-section { position: relative; overflow: hidden; background: #103139; color: #fff; padding-block: clamp(84px, 10vw, 145px); }
.contact-section::before { content: ''; position: absolute; width: 540px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; left: -380px; top: -260px; }
.contact-section::after { content: ''; position: absolute; width: 780px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; right: -520px; bottom: -570px; }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .96fr; align-items: center; gap: clamp(36px, 8vw, 125px); }
.contact-eyebrow { color: #b9dab8; }
.contact-eyebrow .separator { background: #82ac91; }
.location-copy h2 { margin-top: 29px; color: #fff; max-width: 540px; }
.location-copy h2 em { color: #c8e1ad; }
.location-copy > p { color: #b5cfc9; margin: 10px 0 38px; }
.address-item { display: flex; gap: 19px; margin: 0 0 30px; }
.address-icon { width: 54px; height: 54px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(210,230,194,.23); border-radius: 16px; color: var(--gold); }
.address-icon .icon { height: 24px; width: 24px; }
.address-item strong { display: block; font: 800 13px var(--font-display); margin: 4px 0 6px; color: #fff; }
.address-item address { font-size: 15px; font-style: normal; color: #c6d9d2; line-height: 1.9; }
.map-link { display: inline-flex; align-items: center; gap: 10px; color: #eac37b; font: 800 13px var(--font-display); border-bottom: 1px solid rgba(234,195,123,.55); padding-bottom: 8px; }
.map-link:hover { color: #fff; }
.map-link .icon { width: 16px; height: 16px; }
.contact-panel { position: relative; padding: clamp(28px, 4.3vw, 58px); border: 1px solid #e1e8db; border-radius: 23px; color: var(--ink); background: #f7f9f2; box-shadow: 0 30px 60px rgba(0,0,0,.13); }
.contact-panel-head { display: flex; align-items: center; justify-content: space-between; }
.contact-panel-head .eyebrow { color: #4d8962; }
.contact-panel-head > .icon { width: 31px; height: 31px; color: #dc9e31; }
.contact-panel h3 { max-width: 420px; margin: 22px 0 31px; font: 800 clamp(25px,3vw,38px)/1.3 var(--font-display); letter-spacing: -.045em; }
.contact-way { display: flex; align-items: center; gap: 15px; width: 100%; padding-block: 19px; border-top: 1px solid #dbe4d9; }
.phone-way:hover .way-icon { background: var(--forest); color: #fff; }
.way-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: #e8eee1; color: #397c51; border-radius: 14px; transition: background .25s, color .25s; }
.way-icon .icon { width: 21px; height: 21px; }
.way-text { min-width: 0; display: flex; flex-direction: column; }
.way-text > span { color: #708277; font-size: 12px; font-weight: 600; }
.way-text strong { color: #213e38; font: 800 clamp(16px,1.65vw,21px)/1.5 var(--font-display); overflow-wrap: anywhere; }
.way-arrow { margin-left: auto; color: #4b8060; }
.way-text .given-email { font: 700 14px/1.5 var(--font-body); }
.contact-help { font-size: 11px; color: #879488; line-height: 1.5; margin: 1px 0 0 62px; }

/* Pie de página */
.site-footer { background: #0b252b; color: #b8cbc4; }
.footer-top { display: grid; grid-template-columns: 1.35fr .65fr 1fr; gap: 55px; padding-block: 75px 65px; }
.footer-brand { display: inline-flex; align-items: center; gap: 20px; align-self: start; font: 600 19px/1.5 var(--font-display); color: #f3f6ed; letter-spacing: -.025em; }
.footer-brand strong { font-weight: 800; }
.footer-logo { width: 83px; height: 103px; background: #fff; border-radius: 11px; overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
.footer-logo img { object-fit: contain; width: 75px; height: 99px; }
.footer-nav, .footer-contact { display: flex; align-items: start; flex-direction: column; gap: 11px; font-size: 13px; }
.footer-nav > span, .footer-contact > span { color: #a9d2ad; letter-spacing: .2em; font: 800 10px var(--font-display); margin-bottom: 12px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact a { color: #fff; font: 700 18px var(--font-display); }
.footer-contact p { margin: 0; line-height: 1.9; }
.footer-bottom { min-height: 80px; border-top: 1px solid rgba(255,255,255,.13); display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 700 10px/1.5 var(--font-display); letter-spacing: .11em; }
.footer-bottom a { color: #d1e5ca; letter-spacing: 0; }
.footer-bottom a:hover { color: var(--gold); }

/* Visor de imágenes */
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: minmax(55px,1fr) minmax(0,1050px) minmax(55px,1fr); align-items: center; padding: 70px 20px 40px; color: #fff; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,19,22,.95); backdrop-filter: blur(14px); }
.lightbox-figure { position: relative; grid-column: 2; justify-self: center; max-width: 100%; min-width: 0; display: flex; align-items: center; flex-direction: column; margin: 0; }
.lightbox-image { display: block; width: auto; height: auto; max-width: min(100%, 1080px); max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 5px; box-shadow: 0 20px 80px rgba(0,0,0,.4); }
.lightbox-figure figcaption { display: flex; justify-content: space-between; width: 100%; gap: 22px; margin-top: 17px; color: #e5efeb; font: 600 13px var(--font-body); }
.lightbox-figure figcaption span:last-child { color: #a1b7b0; white-space: nowrap; }
.lightbox-close, .lightbox-prev, .lightbox-next { z-index: 1; position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .25s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-close { position: absolute; top: 19px; right: 30px; }
.lightbox-prev { justify-self: start; grid-column: 1; grid-row: 1; }
.lightbox-next { justify-self: end; grid-column: 3; grid-row: 1; }
.lightbox .icon { width: 21px; height: 21px; }

/* Aparición suave: el contenido no se oculta si JavaScript no está disponible */
@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js-ready [data-reveal].is-revealed { opacity: 1; transform: none; }
}

@media (max-width: 1140px) {
  .container { width: min(100% - 60px, 1280px); }
  .header-inner { gap: 17px; }
  .desktop-nav { gap: 19px; }
  .hero-grid { min-height: 615px; }
  .hero-copy h1 { font-size: clamp(40px,4.8vw,58px); }
  .hero-copy h1 small { font-size: clamp(31px,3.9vw,43px); }
  .hero-visual { padding-left: 38px; }
  .intro-grid { gap: 50px; }
  .intro-img-wrap { height: 430px; }
  .gallery-grid { columns: 3 240px; }
}
@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 80px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: grid; place-items: center; height: 45px; width: 45px; border: 1px solid #d8e2d8; border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; margin-left: auto; }
  .mobile-toggle .icon { width: 23px; height: 23px; }
  .mobile-menu { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; padding: 0 30px; background: #fff; box-shadow: 0 14px 25px rgba(7,38,41,.09); overflow: hidden; max-height: 0; opacity: 0; pointer-events: none; transition: max-height .3s, opacity .3s, padding .3s; }
  .mobile-menu.is-open { max-height: 360px; opacity: 1; padding: 12px 30px 20px; pointer-events: auto; }
  .mobile-menu a { padding: 12px 5px; border-bottom: 1px solid #e6ebe5; color: #29493e; font-size: 14px; font-weight: 700; }
  .hero-grid { min-height: unset; grid-template-columns: 1fr; padding-block: 72px 66px; gap: 30px; }
  .hero-copy { max-width: 710px; }
  .hero-copy h1 { font-size: clamp(49px,8vw,78px); }
  .hero-copy h1 small { font-size: clamp(35px,6vw,53px); }
  .hero-copy p { max-width: 610px; }
  .hero-small-note { margin-top: 35px; }
  .hero-visual { max-width: 780px; width: 100%; margin-inline: auto; padding: 30px 0 30px 80px; }
  .hero-main-photo { height: clamp(360px,57vw,570px); }
  .hero-inset-photo { width: 38%; }
  .hero-photo-label { right: -6px; }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; }
  .intro-grid { gap: 30px; }
  .intro-visual { max-width: 740px; width: 100%; }
  .intro-img-wrap { height: 440px; }
  .intro-copy { max-width: 680px; padding: 0; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 12px; }
  .gallery-heading p { max-width: 600px; }
  .gallery-controls { align-items: start; flex-direction: column-reverse; }
  .filter-scroll { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 3px 2px 10px; scrollbar-width: thin; }
  .gallery-grid { columns: 3 200px; }
  .contact-layout { gap: 50px; }
  .location-copy { max-width: 700px; }
  .contact-panel { max-width: 700px; width: 100%; }
  .footer-top { grid-template-columns: 1.4fr .8fr; }
  .footer-contact { grid-column: 2; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 36px, 1280px); }
  .section-pad { padding-block: 76px; }
  .header-inner { min-height: 76px; }
  .brand { gap: 8px; }
  .brand-logo { width: 52px; height: 58px; }
  .brand-logo img { width: 42px; height: 56px; }
  .brand-name { font-size: 9px; max-width: 160px; }
  .brand-name span { font-size: 9px; }
  .hero-grid { padding-block: 62px 64px; }
  .hero-copy h1 { font-size: clamp(41px,9.6vw,61px); letter-spacing: -.06em; }
  .hero-copy h1 small { font-size: clamp(28px,7.5vw,43px); }
  .hero-copy p { font-size: 14px; }
  .hero-actions { gap: 10px; margin-top: 29px; }
  .btn { padding: 14px 18px; font-size: 12px; }
  .hero-small-note { margin-top: 29px; }
  .hero-visual { padding: 33px 8px 28px 28px; }
  .hero-main-photo { height: clamp(290px,86vw,470px); border-radius: 100px 11px 11px 11px; }
  .hero-inset-photo { width: 44%; bottom: 0; left: 0; border-width: 5px; border-radius: 13px 13px 45px 13px; }
  .hero-photo-label { width: 143px; min-height: 65px; top: 8px; right: -9px; gap: 6px; padding: 10px 12px; }
  .hero-photo-label .icon { width: 24px; height: 24px; }
  .hero-photo-label span { font-size: 8px; }
  .hero-footer { padding-block: 20px; }
  .hero-footer > span { font-size: 9px; }
  .hero-footer a { font-size: 10px; }
  h2 { font-size: clamp(36px, 8.4vw, 49px); }
  .intro-visual { padding: 0 21px 24px 0; }
  .intro-visual::before { left: 20px; top: 22px; }
  .intro-img-wrap { height: clamp(280px,75vw,425px); border-radius: 12px 64px 12px 12px; }
  .intro-image-stamp { right: -4px; padding: 11px 14px; }
  .intro-image-stamp .icon { height: 24px; width: 24px; }
  .intro-image-stamp span { font-size: 8px; }
  .intro-copy p { font-size: 14px; }
  .category-ribbon-inner { justify-content: start; overflow: hidden; gap: 20px; min-height: 72px; }
  .category-ribbon-inner > span:not(.ribbon-mark) { font-size: 9px; }
  .gallery-heading h2 { margin: 18px 0 0; }
  .gallery-heading p { font-size: 14px; }
  .gallery-grid { columns: 2 140px; column-gap: 11px; }
  .gallery-card { padding: 5px 5px 9px; margin-bottom: 11px; border-radius: 11px; }
  .gallery-image-shell { border-radius: 7px; }
  .gallery-image-mark { width: 27px; height: 27px; right: 7px; bottom: 7px; }
  .gallery-image-mark .icon { width: 14px; height: 14px; }
  .gallery-caption { margin: 9px 3px 0; font-size: 10px; }
  .gallery-photo-num { font-size: 9px; }
  .contact-section { padding-block: 76px; }
  .contact-panel { padding: 27px 24px; }
  .contact-panel h3 { font-size: 28px; }
  .contact-layout { gap: 43px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding-block: 56px; }
  .footer-brand { grid-column: 1/-1; font-size: 17px; }
  .footer-contact { grid-column: 2; }
  .footer-bottom { padding-block: 25px; flex-wrap: wrap; gap: 10px; font-size: 9px; }
  .lightbox { padding: 80px 11px 68px; grid-template-columns: 43px minmax(0,1fr) 43px; }
  .lightbox-image { max-height: calc(100dvh - 210px); }
  .lightbox-close { top: 18px; right: 16px; }
  .lightbox-prev, .lightbox-next { width: 37px; height: 37px; align-self: end; margin-bottom: -56px; }
  .lightbox-figure figcaption { gap: 10px; font-size: 11px; }
}
@media (max-width: 395px) {
  .brand-name { max-width: 131px; font-size: 8px; }
  .brand-name span { font-size: 8px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy h1 small { font-size: 27px; }
  .hero-actions .btn { padding: 12px 14px; }
  .hero-visual { padding-left: 17px; }
  .hero-photo-label { right: -7px; width: 126px; }
  .gallery-caption { font-size: 9px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav, .footer-contact, .footer-brand { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
