/* ==========================================================================
   APC Edificación — Sitio estático limpio
   Tipografía: DM Serif Display (títulos) + Be Vietnam Pro (cuerpo)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --green: #2e9e5b;
  --green-dark: #247a47;
  --green-soft: rgba(46, 158, 91, .1);
  --navy: #1b2430;
  --navy-2: #232f3e;
  --ink: #141a24;
  --muted: #5b6675;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 3px;
  --shadow-sm: 0 1px 3px rgba(20, 26, 36, .06), 0 1px 2px rgba(20, 26, 36, .04);
  --shadow-md: 0 10px 30px -12px rgba(20, 26, 36, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 26, 36, .28);
  --maxw: 1200px;
  --header-h: 100px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #cfd6e0; }
.section--tight { padding: 64px 0; }

/* Eyebrow + heading -------------------------------------------------------- */
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; font-size: 13px;
  color: var(--green); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 44px); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { color: var(--muted); font-size: 17px; }
.section--dark .section-title { color: #fff; }
.section--dark .lead { color: #aeb8c6; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 3px; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

/* Header ------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s, box-shadow .25s, border-color .25s;
}
.header.scrolled { background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* logo: blanco sobre héroe transparente, navy al hacer scroll */
.brand { display: block; position: relative; }
.brand img { height: 84px; width: auto; display: block; }
.brand .logo-light { position: absolute; inset: 0; opacity: 1; transition: opacity .25s; }
.brand .logo-dark { opacity: 0; transition: opacity .25s; }
.header.scrolled .brand .logo-light { opacity: 0; }
.header.scrolled .brand .logo-dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-weight: 500; font-size: 15px; color: #fff; position: relative; padding: 4px 0;
  transition: color .2s;
}
.header.scrolled .nav a { color: var(--ink); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.header.scrolled .nav a:hover, .header.scrolled .nav a[aria-current="page"] { color: var(--green); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span + span { margin-top: 6px; }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 112vh; display: flex; align-items: center;
  color: #fff; background: var(--navy); padding-top: var(--header-h);
}
/* tira vertical de redes sociales en el borde izquierdo del hero */
.hero__social { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero__social-line { width: 1px; height: 90px; background: rgba(255,255,255,.45); margin-bottom: 6px; }
.hero__social a { color: #fff; opacity: .85; transition: opacity .2s, color .2s, transform .2s; }
.hero__social a:hover { opacity: 1; color: var(--green); transform: translateY(-2px); }
.hero__social svg { width: 17px; height: 17px; }
.hero__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 28, .78) 0%, rgba(15, 20, 28, .52) 45%, rgba(15, 20, 28, .18) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 820px; padding: 60px 0; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); color: #fff; margin-bottom: 44px; }
.hero p.sub { font-size: 18px; color: #d6dde6; margin-bottom: 34px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.hero__phone span small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9fb0bf; }
.hero__phone .ic { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; }
.hero__phone .ic svg { width: 18px; height: 18px; }

/* Page banner (interior pages) -------------------------------------------- */
.banner {
  position: relative; color: #fff; background: var(--navy);
  min-height: 58vh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 40px; text-align: center;
}
.banner__bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.banner::after { content: ''; position: absolute; inset: 0; background: rgba(15, 20, 28, .55); }
.banner .container { position: relative; z-index: 2; }
.banner h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); }
.crumbs { margin-top: 14px; color: #b9c3cf; font-size: 14px; }
.crumbs a:hover { color: #fff; }

/* Feature cards ------------------------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 3px; background: var(--green-soft);
  color: var(--green); display: grid; place-items: center; margin-bottom: 20px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__img { margin-bottom: 22px; }
.feature__img img { width: 124px; height: auto; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Project cards ------------------------------------------------------------ */
.grid-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pcard {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11;
  display: block; box-shadow: var(--shadow-sm);
}
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,28,0) 35%, rgba(15,20,28,.88) 100%); }
.pcard:hover img { transform: scale(1.06); }
.pcard__num { position: absolute; top: 18px; right: 22px; z-index: 2; font-family: var(--serif); font-size: 30px; color: rgba(255,255,255,.85); }
.pcard__body { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 28px; color: #fff; }
.pcard__body h3 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.pcard__body .loc { display: flex; align-items: center; gap: 7px; font-size: 14px; color: #cdd6e0; }
.pcard__body .loc svg { width: 15px; height: 15px; color: var(--green); }
.pcard__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff; opacity: 0; transform: translateY(8px); transition: .3s; }
.pcard:hover .pcard__cta { opacity: 1; transform: translateY(0); }
.pcard__cta svg { width: 15px; height: 15px; }

/* Methodology steps -------------------------------------------------------- */
.steps { display: flex; flex-direction: column; gap: 64px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__num { font-family: var(--serif); font-size: 16px; color: var(--green); letter-spacing: .1em; margin-bottom: 10px; display: block; }
.step h3 { font-size: 28px; margin-bottom: 14px; }
.step p { color: var(--muted); }

/* Services (como el original: cajas con borde, sin iconos, sobre imagen tenue) */
.services-section { position: relative; overflow: hidden; }
.services-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.services-section .container { position: relative; z-index: 2; }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: border-color .25s, background .25s, transform .25s; }
.service:hover { border-color: var(--green); background: rgba(46,158,91,.08); transform: translateY(-3px); }
.service h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.service p { color: #9fb0bf; font-size: 14.5px; }

/* Team --------------------------------------------------------------------- */
.grid-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.member:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.member__body { padding: 22px 24px; }
.member__role { color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.member h3 { font-size: 21px; }

/* Project detail ----------------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.detail__desc p { color: var(--muted); margin-bottom: 18px; }
.specs { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 28px; }
.specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.spec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec:nth-last-child(-n+2) { border-bottom: 0; }
.spec dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.spec dd { font-weight: 600; font-size: 16px; margin: 0; }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }

/* Lightbox ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 20, .94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 3px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 999px; display: grid; place-items: center; transition: background .2s; }
.lightbox__close { top: 24px; right: 24px; width: 46px; height: 46px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; }
.lightbox__nav.prev { left: 24px; } .lightbox__nav.next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox svg { width: 22px; height: 22px; }

/* CTA con formulario en línea (fondo blanco, sin imagen) -------------------- */
.ctaform { background: var(--bg); padding: 88px 0; }
.ctaform__inner { display: grid; grid-template-columns: minmax(260px, 1fr) 1.7fr; gap: 48px; align-items: center; }
.ctaform__head h2 { font-size: clamp(26px, 3vw, 38px); color: var(--ink); margin-top: 6px; }
.ctaform__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; }
.ctaform__field {
  font-family: var(--sans); font-size: 15px; color: var(--ink); width: 100%;
  padding: 18px 20px; border: 1px solid transparent; border-radius: 3px; background: #f1f3f5;
  transition: border-color .2s, background .2s;
}
.ctaform__field::placeholder { color: #8b94a2; }
.ctaform__field:focus { outline: 0; border-color: var(--green); background: #fff; }
select.ctaform__field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b94a2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; cursor: pointer; }
.ctaform__btn {
  grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; min-width: 180px;
  background: var(--green); color: #fff; border: 0; border-radius: 3px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  padding: 20px 28px; transition: background .2s, transform .2s;
}
.ctaform__btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.ctaform__btn svg { width: 26px; height: 26px; }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg-alt);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.ccard { display: flex; gap: 16px; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ccard:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ccard__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 3px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.ccard__icon svg { width: 24px; height: 24px; }
.ccard h3 { font-size: 18px; margin-bottom: 2px; }
.ccard .role { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.ccard a, .ccard .row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); padding: 3px 0; transition: color .2s; }
.ccard a:hover { color: var(--green-dark); }
.ccard .row svg, .ccard a svg { width: 16px; height: 16px; color: #9aa4b2; flex: 0 0 16px; }
.form-success { background: var(--green-soft); border: 1px solid var(--green); border-radius: var(--radius); color: var(--ink); padding: 24px 26px; font-size: 16px; line-height: 1.6; }
.form-success strong { color: var(--green-dark); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Prose (páginas legales) -------------------------------------------------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 24px; margin: 38px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green-dark); text-decoration: underline; }
.prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

/* Footer (réplica del original: bloque Contáctanos sobre skyline + 3 columnas) */
.footer { background: #14162c; color: #9aa3b8; }
.footer__top { position: relative; padding: 84px 0 60px; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.footer__top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,44,.45), rgba(20,22,44,.78)); }
.footer__top-inner { position: relative; z-index: 2; }
.footer__title { font-family: var(--serif); color: #fff; font-size: clamp(34px, 5vw, 50px); margin-bottom: 44px; }
.footer__cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 860px; }
.footer__label { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer__big { display: inline-block; font-size: clamp(19px, 1.9vw, 26px); font-weight: 300; color: #fff; transition: color .2s; word-break: break-word; }
.footer__big:hover { color: var(--green); }
.footer__addr { margin-top: 22px; font-size: 15px; line-height: 1.7; color: #c2c8d6; max-width: 320px; }
.footer .socials { display: flex; gap: 18px; margin-top: 24px; }
.footer .socials a { color: #fff; transition: color .2s, transform .2s; }
.footer .socials a:hover { color: var(--green); transform: translateY(-2px); }
.footer .socials svg { width: 18px; height: 18px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 56px 0 40px; border-top: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; }
.footer__col p { font-size: 14.5px; line-height: 1.8; color: #9aa3b8; }
.footer__links a { display: block; padding: 8px 0; font-size: 15px; color: #b3bac8; transition: color .2s; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 14px; color: #8b94a6; }

/* Floating call button ----------------------------------------------------- */
.fab { position: fixed; left: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 999px; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s, background .2s; }
.fab:hover { background: var(--green-dark); transform: scale(1.07); }
.fab svg { width: 24px; height: 24px; }

/* Reveal on scroll --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-3, .grid-services, .grid-team { grid-template-columns: 1fr; }
  .detail, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .ctaform__inner { grid-template-columns: 1fr; gap: 28px; }
  .ctaform__form { grid-template-columns: 1fr 1fr; }
  .ctaform__btn { grid-column: 1 / span 2; grid-row: auto; flex-direction: row; min-width: 0; }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) .step__media { order: 0; }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; padding: 12px 24px 24px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav.open a::after { display: none; }
  .grid-projects, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__social { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__cinfo { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 86vh; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .ctaform__form { grid-template-columns: 1fr; }
  .ctaform__btn { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pcard img, .gallery img { transition: none; }
}
