/* =========================================================
   CONSTRUCTORA VALERIO — Design System
   ========================================================= */

:root{
  --ink: #12151a;
  --ink-2: #1c2029;
  --ink-3: #232833;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --paper-3: #e2dccc;
  --bronze: #b6672f;
  --bronze-light: #d99a5b;
  --steel: #3d4a5c;
  --line-dark: rgba(244,241,234,0.12);
  --line-light: rgba(18,21,26,0.12);
  --text-muted: rgba(18,21,26,0.62);
  --text-muted-dark: rgba(244,241,234,0.62);

  --font-head: "Archivo", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1220px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }
input,select,textarea{ font-family: inherit; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Progress bar ---------- */
.progress-bar{
  position: fixed; top:0; left:0; height:2px; width:0%;
  background: var(--bronze);
  z-index: 999;
  transition: width .1s linear;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .1s; }
[data-reveal-delay="2"]{ transition-delay: .2s; }
[data-reveal-delay="3"]{ transition-delay: .3s; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  padding: 12px 0;
  background: rgba(244,241,234,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner{
  display:flex; align-items:center; justify-content: space-between; gap: 24px;
}
.brand{ display:flex; align-items:center; gap:10px; color: var(--ink); }
.brand-mark{ color: var(--bronze); display:flex; }
.brand-text{
  font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: 1px;
  display:flex; flex-direction: column; line-height: 1;
}
.brand-sub{ font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: 2.5px; color: var(--text-muted); margin-top:4px; text-transform: uppercase; }

/* logo lockup: white plate keeps the mark legible even when the header
   is still transparent over the dark hero, before the user scrolls */
.brand-logo-plate{
  background: #ffffff;
  border-radius: 8px;
  padding: 7px 16px;
  display:flex; align-items:center;
  box-shadow: 0 6px 18px rgba(18,21,26,0.16);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brand:hover .brand-logo-plate{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18,21,26,0.2); }
.brand-logo-img{ height: 54px; width: auto; display:block; }

.main-nav{ display:flex; gap: 30px; }
.main-nav a{
  font-size: 13.5px; font-weight: 600; letter-spacing: .3px; color: var(--ink);
  display:flex; align-items:center; gap:6px; position: relative; padding: 4px 0;
}
.main-nav a span{ font-size: 10px; color: var(--bronze); font-weight: 700; }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0%; height:1.5px; background: var(--bronze);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:20px; }
.header-phone{ display:flex; align-items:center; gap:7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.header-phone svg{ color: var(--bronze); }

.nav-toggle{
  display:none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; padding:0;
}
.nav-toggle span{ display:block; width: 100%; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
  border-radius: 2px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-small{ padding: 10px 18px; font-size: 12.5px; }
.btn-large{ padding: 17px 34px; font-size: 14.5px; }
.btn-primary{
  background: var(--bronze); color: var(--paper);
}
.btn-primary:hover{ background: var(--ink); transform: translateY(-2px); }
.btn-ghost{
  border-color: var(--line-light); color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--bronze); color: var(--bronze); transform: translateY(-2px); }
.btn-ghost svg{ transition: transform .25s var(--ease); }
.btn-ghost:hover svg{ transform: translateX(3px); }

/* =========================================================
   TYPOGRAPHY / SHARED
   ========================================================= */
.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--bronze); margin: 0 0 18px;
}
.eyebrow-light{ color: var(--bronze-light); }
.eyebrow-dot{ width:7px; height:7px; background: var(--bronze); border-radius: 50%; flex-shrink:0; }

.section-title{
  font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12; letter-spacing: -.5px; margin: 0 0 20px; max-width: 780px;
}
.section-title-light{ color: var(--paper); }
.section-text{ font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 0 16px; }
.section-text-lead{ font-size: 17.5px; color: var(--text-muted); max-width: 460px; margin:0; }

.section{ padding: 128px 0; position: relative; }
.section-alt{ background: var(--paper-2); }
.section-dark{ background: var(--ink); position: relative; overflow:hidden; }

.section-head{ margin-bottom: 64px; }
.section-head-row{ display:flex; justify-content: space-between; align-items:flex-end; gap: 40px; flex-wrap: wrap; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 190px 0 0;
  overflow: hidden;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(244,241,234,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
}
.hero-coords{
  position:absolute; top: 24px; right: 32px;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 2px; color: rgba(244,241,234,0.35);
}
.hero-inner{
  position: relative; z-index: 2;
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center;
  padding-bottom: 70px;
}
.hero-copy .eyebrow{ color: var(--bronze-light); }
.hero-title{
  font-family: var(--font-head); font-weight: 900; font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05; letter-spacing: -1px; margin: 0 0 26px;
}
.hero-underline{ position:relative; color: var(--bronze-light); }
.hero-underline::after{
  content:""; position:absolute; left:0; right:0; bottom: 2px; height: 10px;
  background: rgba(182,103,47,0.28); z-index:-1;
}
.hero-sub{ font-size: 17.5px; color: rgba(244,241,234,0.68); max-width: 480px; margin: 0 0 38px; }
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost{ border-color: rgba(244,241,234,0.25); color: var(--paper); }
.hero .btn-ghost:hover{ border-color: var(--bronze-light); color: var(--bronze-light); }

.hero-art{ position: relative; }
.hero-illustration{ width:100%; height:auto; }

/* ---- ambient grid drift ---- */
.hero-grid{ animation: gridDrift 60s linear infinite; }
@keyframes gridDrift{
  from{ background-position: 0 0, 0 0; }
  to{ background-position: 56px 56px, 56px 56px; }
}

/* ---- skyline: buildings draw themselves in ---- */
.bld{
  animation: drawBuilding 1.7s var(--ease) forwards;
  animation-delay: .4s;
}
.bld-2{ animation-delay: .6s; }
.bld-3{ animation-delay: .8s; }
.bld-4{ animation-delay: 1s; }
@keyframes drawBuilding{ to{ stroke-dashoffset: 0; } }

/* ---- windows: soft ambient glow, staggered per building ---- */
.win{ opacity:.4; animation: windowGlow 4.6s ease-in-out infinite; animation-delay: 2s; }
.win-2{ animation-delay: 2.7s; }
.win-3{ animation-delay: 3.4s; }
.win-4{ animation-delay: 4.1s; }
@keyframes windowGlow{
  0%,100%{ opacity:.38; }
  50%{ opacity:.9; }
}

/* ---- ground survey line: marching dashes ---- */
.ground-line{ animation: marchAnts 1.3s linear infinite; }
@keyframes marchAnts{ to{ stroke-dashoffset: -16; } }

/* ---- crane: slewing jib, traveling trolley, full hoist from ground, blinking beacon ---- */
.crane-jib{
  transform-origin: 470px 90px;
  animation: craneSlew 11s ease-in-out infinite;
}
.crane-trolley{ animation: trolleyMove 11s ease-in-out infinite; }
.crane-beacon{ animation: beaconBlink 1.5s ease-in-out infinite; }

/* cable: anchored at the trolley (520,90), stretches all the way down to the
   base of the building / street level (520,555) and retracts back up */
.crane-cable{
  transform-origin: 520px 90px;
  animation: cableHoist 8s cubic-bezier(.45,0,.2,1) infinite;
}
/* load: travels the same vertical distance in lock-step with the cable */
.crane-load{
  animation: loadHoist 8s cubic-bezier(.45,0,.2,1) infinite;
}

@keyframes craneSlew{
  0%,100%{ transform: rotate(0deg); }
  50%{ transform: rotate(-4.5deg); }
}
@keyframes trolleyMove{
  0%,100%{ transform: translateX(0); }
  50%{ transform: translateX(-22px); }
}
@keyframes cableHoist{
  0%, 6%   { transform: scaleY(1); }      /* hook down at street level, picking up load */
  42%, 58% { transform: scaleY(.13); }    /* load hoisted up near the jib */
  94%,100% { transform: scaleY(1); }      /* lowering back down */
}
@keyframes loadHoist{
  0%, 6%   { transform: translateY(0); }
  42%, 58% { transform: translateY(-405px); }
  94%,100% { transform: translateY(0); }
}
@keyframes beaconBlink{
  0%,100%{ opacity:.2; }
  50%{ opacity:1; }
}

/* ---- floor lights: toggled on/off by JS based on scroll position ---- */
.floor-light{
  fill: rgba(244,241,234,0.14);
  transition: fill .5s ease, opacity .5s ease;
}
.floor-light.is-on{
  fill: #e0965a;
}

/* ---- floating stat callouts ---- */
.hero-art-tag-1{ animation: floatTag 5.5s ease-in-out infinite; }
.hero-art-tag-2{ animation: floatTag 5.5s ease-in-out infinite; animation-delay: -2.75s; }
@keyframes floatTag{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce){
  .bld{ stroke-dashoffset: 0; animation: none; }
  .win{ opacity:.6; animation: none; }
  .crane-jib, .crane-trolley, .crane-cable, .crane-load, .crane-beacon{ animation: none; }
}

.hero-art-tag{
  position:absolute; background: var(--ink-2); border: 1px solid var(--line-dark);
  padding: 14px 18px; display:flex; flex-direction:column; gap:2px; border-radius:2px;
  backdrop-filter: blur(6px);
}
.hero-art-tag-1{ top: 8%; left: -6%; }
.hero-art-tag-2{ bottom: 4%; right: -4%; }
.tag-num{ font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--bronze-light); }
.tag-label{ font-size: 11.5px; color: rgba(244,241,234,0.6); max-width: 140px; }

.hero-stats{
  position: relative; z-index:2;
  display:grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  padding-top: 0;
}
.hero-stat{
  padding: 30px 32px; border-right: 1px solid var(--line-dark);
  display:flex; flex-direction:column; gap: 6px;
}
.hero-stat:last-child{ border-right:none; }
.hero-stat-num{
  font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,2.6vw,38px); color: var(--bronze-light);
}
.hero-stat-label{ font-size: 13px; color: rgba(244,241,234,0.6); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-section{
  background: var(--paper-3); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  overflow: hidden; padding: 20px 0;
}
.marquee-track{
  display:flex; gap: 20px; white-space: nowrap; width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
}
.marquee-track .dot{ color: var(--bronze); font-size: 10px; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================================================
   SPLIT / NOSOTROS
   ========================================================= */
.split-layout{
  display:grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start;
}
.split-media{ position: relative; }
.about-illustration{ width:100%; height:auto; border-radius: 3px; }
.split-media-tag{
  position:absolute; left: -10%; bottom: -8%; width: 78%;
  background: var(--paper); border: 1px solid var(--line-light); padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(18,21,26,0.14);
}
.tag-quote{ font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height:1.4; margin:0 0 8px; }
.tag-author{ font-size: 12.5px; color: var(--text-muted); margin:0; }

.values-list{ margin-top: 40px; display:flex; flex-direction:column; gap: 26px; }
.value-item{ display:flex; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.value-item:first-child{ border-top:none; padding-top:0; }
.value-num{ font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--bronze); flex-shrink:0; padding-top:2px; }
.value-item h3{ font-family: var(--font-head); font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.value-item p{ margin:0; color: var(--text-muted); font-size: 14.5px; max-width: 460px; }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band{ background: var(--ink); color: var(--paper); padding: 76px 0; }
.stats-band-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align:center; }
.stats-band-item{ display:flex; flex-direction:column; gap: 8px; }
.stats-band-num{ font-family: var(--font-head); font-weight: 900; font-size: clamp(34px,3.4vw,52px); color: var(--bronze-light); }
.stats-band-label{ font-size: 13.5px; color: rgba(244,241,234,0.6); letter-spacing: .2px; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.service-card{
  background: var(--paper); padding: 44px 36px; position: relative;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover{ background: var(--ink); color: var(--paper); }
.service-card:hover .section-text, .service-card:hover p{ color: rgba(244,241,234,0.7); }
.service-card:hover .service-icon{ color: var(--bronze-light); }
.service-card:hover .service-num{ color: var(--bronze-light); }
.service-num{
  font-family: var(--font-head); font-weight: 800; font-size: 12.5px; color: var(--text-muted);
  position: absolute; top: 32px; right: 36px; transition: color .3s var(--ease);
}
.service-icon{ width: 40px; height: 40px; color: var(--bronze); margin-bottom: 26px; transition: color .3s var(--ease); }
.service-card h3{ font-family: var(--font-head); font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.service-card p{ font-size: 14.5px; color: var(--text-muted); margin:0; line-height:1.55; transition: color .3s var(--ease); }

/* =========================================================
   PROCESO
   ========================================================= */
.proceso-grid-bg{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(244,241,234,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.process-track{
  position: relative; z-index:2;
  display:grid; grid-template-columns: repeat(4,1fr); gap: 40px; margin-top: 20px;
}
.process-line{
  grid-column: 1 / -1; height: 2px; background: var(--line-dark); position: relative; margin-bottom: 46px;
  overflow:hidden;
}
.process-line span{ position:absolute; left:0; top:0; height:100%; width:0%; background: var(--bronze); transition: width 1.4s var(--ease); }
.process-step{ position: relative; padding-top: 8px; }
.process-dot{
  position: absolute; top: -54px; left:0; width: 14px; height:14px; border-radius:50%;
  background: var(--ink); border: 2px solid var(--bronze);
}
.process-index{ font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--bronze-light); letter-spacing: 1px; }
.process-step h3{ font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--paper); margin: 10px 0 10px; }
.process-step p{ font-size: 14px; color: rgba(244,241,234,0.6); margin:0; line-height:1.6; }

/* =========================================================
   PROYECTOS — grid + photo carousel
   ========================================================= */
.projects-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.project-card{ cursor: default; }

.project-gallery{
  position: relative; overflow:hidden; border-radius: 2px; aspect-ratio: 4/3;
  background: #181c22; outline: none;
}
.gallery-track{ position: relative; width:100%; height:100%; }
.gallery-slide{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; opacity:0; transition: opacity .5s var(--ease);
}
.gallery-slide.active{ opacity:1; }
.gallery-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:34px; height:34px; border-radius:50%; background:rgba(18,21,26,0.55);
  color:#fff; display:flex; align-items:center; justify-content:center; border:none; padding:0;
  opacity:0; transition: opacity .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.project-gallery:hover .gallery-arrow,
.project-gallery:focus-within .gallery-arrow{ opacity:1; }
.gallery-prev{ left:10px; }
.gallery-next{ right:10px; }
.gallery-arrow:hover{ background:var(--bronze); }
.gallery-arrow:active{ transform: translateY(-50%) scale(.92); }
.gallery-counter{
  position:absolute; bottom:10px; right:10px; z-index:3;
  background:rgba(18,21,26,0.65); color:#fff; font-size:11px; font-weight:600;
  padding:4px 9px; border-radius:20px; letter-spacing:.3px; font-family: var(--font-head);
}
.project-tag{
  position:absolute; top:16px; left:16px; z-index:3; background: rgba(18,21,26,0.75); color: var(--bronze-light);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 7px 12px;
  border: 1px solid rgba(182,103,47,0.4);
}
.project-info{ padding: 20px 2px 0; }
.project-info h3{ font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 0 0 6px; line-height:1.3; }
.project-info p{ margin:0; font-size: 13.5px; color: var(--text-muted); }

@media (max-width: 860px){
  .gallery-arrow{ opacity: 1; }
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonial-slider{ max-width: 760px; }
.testimonial-track{ position: relative; min-height: 180px; }
.testimonial{
  position:absolute; inset:0; margin:0; opacity:0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events:none;
}
.testimonial.active{ opacity:1; transform: translateY(0); pointer-events:auto; position: relative; }
.testimonial p{
  font-family: var(--font-head); font-weight: 600; font-size: clamp(20px,2.2vw,26px);
  line-height: 1.4; margin: 0 0 22px; color: var(--ink);
}
.testimonial footer{ font-size: 14px; color: var(--text-muted); }
.testimonial-dots{ display:flex; gap: 10px; margin-top: 34px; }
.testimonial-dots button{
  width: 34px; height: 3px; background: var(--line-light); border:none; padding:0;
  transition: background .3s var(--ease);
}
.testimonial-dots button.active{ background: var(--bronze); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{ background: var(--ink); color: var(--paper); position: relative; overflow:hidden; padding: 110px 0; }
.cta-grid-bg{
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 20% 30%, rgba(182,103,47,0.14), transparent 45%),
    linear-gradient(rgba(244,241,234,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.cta-inner{ position: relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; gap: 36px; }
.cta-inner h2{ font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.4vw,42px); line-height:1.2; margin:0; max-width: 720px; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact-layout{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-details{ margin-top: 36px; display:flex; flex-direction:column; gap: 22px; }
.contact-detail{ display:flex; flex-direction:column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.contact-detail:last-child{ border-bottom:none; }
.contact-label{ font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bronze); }
.contact-detail a:hover{ color: var(--bronze); }

.contact-form{ background: var(--paper-2); padding: 44px; border: 1px solid var(--line-light); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field{ margin-bottom: 20px; display:flex; flex-direction:column; gap: 8px; }
.form-field label{ font-size: 12.5px; font-weight: 700; letter-spacing: .5px; color: var(--ink); text-transform: uppercase; font-family: var(--font-head); }
.form-field input, .form-field select, .form-field textarea{
  border: 1px solid var(--line-light); background: var(--paper); padding: 13px 14px; font-size: 14.5px; color: var(--ink);
  transition: border-color .25s var(--ease);
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color: var(--bronze);
}
.form-submit{ width:100%; margin-top: 6px; }
.form-note{ font-size: 13.5px; color: var(--bronze); margin: 14px 0 0; min-height: 18px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--paper); padding: 90px 0 0; position: relative; overflow:hidden; }
.footer-grid-bg{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(244,241,234,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(244,241,234,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.footer-inner{ position:relative; z-index:2; display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand p{ font-size: 14px; color: rgba(244,241,234,0.55); max-width: 300px; margin: 18px 0 24px; line-height:1.6; }
.brand-footer .brand-logo-plate{ background:#fff; }
.footer-social{ display:flex; gap: 14px; }
.footer-social a{
  width: 36px; height:36px; display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--line-dark); color: var(--paper); transition: border-color .25s var(--ease), color .25s var(--ease);
}
.footer-social a:hover{ border-color: var(--bronze); color: var(--bronze-light); }
.footer-col h4{ font-family: var(--font-head); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bronze-light); margin: 0 0 20px; }
.footer-col{ display:flex; flex-direction:column; gap: 12px; }
.footer-col a, .footer-address{ font-size: 14.5px; color: rgba(244,241,234,0.65); transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--paper); }
.footer-bottom{
  position:relative; z-index:2; border-top: 1px solid var(--line-dark);
  padding: 24px 0; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(244,241,234,0.45); letter-spacing: .3px;
}

/* =========================================================
   GROUP BRANDS (footer)
   ========================================================= */
.group-brands{
  position: relative; z-index: 2;
  padding: 54px 0 10px;
  border-top: 1px solid var(--line-dark);
}
.group-brands-title{
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(244,241,234,0.5); text-align: center; margin: 0 0 32px;
}
.group-brands-grid{
  display:flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px;
}
.group-brand{
  background: #ffffff; border-radius: 6px; padding: 14px 24px;
  display:flex; align-items:center; justify-content:center;
  height: 74px; width: 190px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.group-brand:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.28); }
.group-brand img{ max-width: 100%; max-height: 100%; width:auto; height:auto; object-fit: contain; }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-float{
  position: fixed; bottom: 28px; left: 28px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(18,21,26,0.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float::before{
  content:""; position:absolute; inset:-6px; border-radius:50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(18,21,26,0.34); }
@keyframes waPulse{
  0%{ transform: scale(.85); opacity:.9; }
  100%{ transform: scale(1.4); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float::before{ animation: none; }
}
@media (max-width: 560px){
  .whatsapp-float{ width: 50px; height: 50px; bottom: 20px; left: 20px; }
  .whatsapp-float svg{ width: 24px; height: 24px; }
  .back-to-top{ bottom: 20px; right: 20px; }
  .group-brand{ width: 150px; height: 66px; padding: 10px 16px; }
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top{
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light);
  background: var(--paper); color: var(--ink); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  box-shadow: 0 10px 30px rgba(18,21,26,0.14);
}
.back-to-top.visible{ opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--bronze); color: var(--paper); border-color: var(--bronze); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .hero-inner{ grid-template-columns: 1fr; gap: 60px; }
  .hero-art{ max-width: 460px; margin: 0 auto; }
  .split-layout{ grid-template-columns: 1fr; gap: 60px; }
  .split-media{ max-width: 460px; margin: 0 auto 60px; }
  .contact-layout{ grid-template-columns: 1fr; gap: 50px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px){
  .main-nav, .header-actions{ display:none; }
  .nav-toggle{ display:flex; }
  .main-nav.open{
    display:flex; position: fixed; top: 66px; left:0; right:0; bottom:0;
    background: var(--paper); flex-direction: column; padding: 30px 32px; gap: 4px; z-index: 490;
    overflow-y:auto;
  }
  .main-nav.open a{ padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
  .header-actions.open{ display:flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 32px 30px; background: var(--paper); position:fixed; top: 226px; left:0; right:0; z-index:490; }

  .hero{ padding-top: 150px; }
  .hero-stats{ grid-template-columns: repeat(2,1fr); }
  .hero-stat{ border-bottom: 1px solid var(--line-dark); }
  .hero-art-tag{ display:none; }

  .stats-band-grid{ grid-template-columns: repeat(2,1fr); gap: 40px; }
  .services-grid{ grid-template-columns: 1fr; }
  .process-track{ grid-template-columns: 1fr; gap: 50px; }
  .process-dot{ top: -30px; }
  .process-line{ display:none; }
  .projects-grid{ grid-template-columns: 1fr 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .section-head-row{ align-items: flex-start; }
}

@media (max-width: 560px){
  .container{ padding: 0 20px; }
  .section{ padding: 90px 0; }
  .projects-grid{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: 1fr 1fr; }
  .split-media-tag{ position: static; width:100%; margin-top: 20px; }
  .contact-form{ padding: 28px; }
  .brand-logo-img{ height: 40px; }
}
