/* ==========================================================================
   FIERRO FUERTE — HERRERÍA & ESTRUCTURAS
   Master Stylesheet — Typographic Harmony & Proportional Mobile Balance
   Fixes: Balanced Font Sizes, HD Metal Cutting Video, Clean Single-Line Titles
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-deep: #07080B;
  --bg-main: #0D0E12;
  --bg-surface: #14161E;
  --bg-card: #1B1D26;
  --bg-card-hover: #222532;
  
  /* Luminous High-Contrast Radiant Gold (Approved by User) */
  --gold-primary: #FFD54F;
  --gold-light: #FFF0BA;
  --gold-amber: #FFB300;
  --gold-glow: rgba(255, 213, 79, 0.35);
  
  --steel-primary: #CBD5E1;
  --steel-light: #F8FAFC;
  --steel-muted: #8E95A5;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(255, 213, 79, 0.45);
  --border-gold-subtle: rgba(255, 213, 79, 0.2);

  /* Typography */
  --font-brand: 'Cinzel', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --text-heading: #FFFFFF;
  --text-body: #9DA3AE;
  --text-muted: #6B7280;

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Focus Accessibility */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  overflow-x: hidden;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Typographic Parity & Line Balance Standard (Anti-Staircase)
   ========================================================================== */
h1, h2, h3, h4, 
.hero-main-title, 
.about-title, 
.featured-title, 
.section-centered-title,
.service-col-title {
  text-wrap: balance;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Radiant Champagne Gold Text Accent (Consistent, Bright, Never Muddy) */
.gold-text-accent {
  color: #FFD54F !important;
  background: linear-gradient(180deg, #FFFDE7 0%, #FFD54F 60%, #FFCA28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 213, 79, 0.4);
}

.text-gold {
  color: #FFD54F !important;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(10, 11, 15, 0.97);
  border-bottom-color: rgba(255, 213, 79, 0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.brand-title {
  font-size: 1.05rem;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFF;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--gold-primary);
}

.header-phone-box {
  display: none;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 213, 79, 0.1);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.header-phone-box:hover {
  background: rgba(255, 213, 79, 0.2);
  border-color: var(--gold-primary);
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFF;
}

/* ==========================================================================
   HERO WITH 1080P HD METALWORK VIDEO
   High-impact visual: authentic steel cutting & sparks in crisp detail
   ========================================================================== */
.hero-wrapper {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* 1080p Full HD video: clear and bright */
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88) contrast(1.1);
}

/* Subtle gradient overlay: keeps video 100% visible while text stays crisp */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 65% 45%, rgba(7, 8, 11, 0.22) 0%, rgba(7, 8, 11, 0.78) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.45) 0%, rgba(7, 8, 11, 0.88) 100%);
  pointer-events: none;
}

.hero-container-inner {
  position: relative;
  z-index: 10;
  max-width: 840px;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neon-radar {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.status-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-primary);
  margin-bottom: 1rem;
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.neon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: neon-radar 2s infinite;
}

/* BALANCED HERO TITLE (Balanced on Mobile 390px and Desktop 1200px) */
.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.8vw, 2.35rem);
  line-height: 1.22;
  font-weight: 900;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-main-title span {
  display: block;
}

.hero-slogan-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.slogan-pill {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 213, 79, 0.16);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero-desc-short {
  font-size: 0.95rem;
  color: var(--steel-light);
  max-width: 540px;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.btn-primary-gold {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--gold-primary);
  color: #07080B;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(255, 213, 79, 0.35);
  transition: all var(--transition-fast);
}

.btn-primary-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 85%
  );
  transform: rotate(25deg);
  animation: goldSheen 4.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes goldSheen {
  0%, 75% {
    left: -60%;
  }
  100% {
    left: 140%;
  }
}

.btn-primary-gold:hover {
  background: #FFE082;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 213, 79, 0.5);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.3rem;
  background: rgba(20, 22, 30, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  color: #FFF;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary-glass:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   THE 4 SERVICE CARDS (PERFECT SPACING & EQUAL PROPORTIONS)
   ========================================================================== */
.floating-cards-section {
  position: relative;
  margin-top: -3.5rem;
  z-index: 25;
}

.floating-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .floating-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .floating-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card.featured-highlight {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, #171922 0%, #101218 100%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 213, 79, 0.08);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.card-icon-wrap {
  width: 30px;
  height: 30px;
  color: var(--gold-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
}

.card-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--steel-primary);
  line-height: 1.55;
  margin-bottom: 1.75rem; /* Generous breathing room above the line! */
  flex-grow: 1; /* Pushes the footer naturally to the bottom */
}

/* In-Flow Flex Footer Row (Separated with generous padding) */
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-primary);
  white-space: nowrap;
}

.card-arrow-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #07080B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.service-card:hover .card-arrow-circle {
  transform: scale(1.1);
  background: var(--gold-light);
}

/* ==========================================================================
   KINETIC MANIFESTO SECTION
   ========================================================================== */
.manifesto-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.manifesto-text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.4vw, 1.85rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
  color: #FFF;
  max-width: 780px;
  margin: 0 auto;
}

/* ==========================================================================
   SOBRE FIERRO FUERTE (BALANCED TYPOGRAPHY & BESPOKE ATELIER PHOTO)
   ========================================================================== */
.about-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
  display: block;
}

/* BALANCED MULTI-LINE TYPOGRAPHY (ZERO ORPHANS) */
.about-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.8vw, 1.95rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.25;
  color: #FFF;
  margin-bottom: 0.85rem;
  text-wrap: balance;
  max-width: 520px;
}

.about-desc {
  font-size: 0.92rem;
  color: var(--steel-primary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.about-bullet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem 0;
}

.about-bullet-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
}

.about-bullet-icon {
  font-size: 0.95rem;
  color: var(--gold-primary);
}

.about-bullet-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel-light);
}

.about-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  background: #111318;
  margin: 0 auto;
}

.about-real-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.08) brightness(0.95);
  transition: transform var(--transition-smooth);
}

.about-photo-wrapper:hover .about-real-img {
  transform: scale(1.03);
}

.about-photo-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(13, 14, 18, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-photo-tag-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFF;
}

.about-photo-tag-sub {
  font-size: 0.65rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   5-STEP METHODOLOGY
   ========================================================================== */
.how-it-works-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-centered-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.section-centered-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 auto;
}

.section-centered-subtitle {
  font-size: 0.9rem;
  color: var(--steel-primary);
  line-height: 1.5;
  max-width: 500px;
  margin: 0.65rem auto 0 auto;
  text-wrap: balance;
}

.steps-five-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.step-card-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all var(--transition-fast);
  overflow: hidden;
}

.step-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.step-watermark-number {
  position: absolute;
  top: 0.4rem;
  right: 0.65rem;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
}

.step-card-item:hover .step-watermark-number {
  color: rgba(255, 213, 79, 0.16);
}

.step-gold-icon {
  width: 28px;
  height: 28px;
  color: var(--gold-primary);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1.2;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ==========================================================================
   COTIZADOR ASISTIDO WHATSAPP
   ========================================================================== */
.quote-interactive-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  max-width: 760px;
  margin: 0 auto;
}

.quote-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.quote-opt-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.5rem;
  color: var(--steel-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.quote-opt-btn:hover {
  border-color: var(--gold-primary);
  color: #FFF;
}

.quote-opt-btn.active {
  background: rgba(255, 213, 79, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(255, 213, 79, 0.25);
}

.form-inputs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.quote-text-field {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.quote-text-field:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.btn-send-whatsapp {
  width: 100%;
  padding: 0.95rem;
  background: #25D366;
  color: #07080B;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
}

.btn-send-whatsapp:hover {
  background: #20BA59;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer-reference {
  background: #07080B;
  border-top: 1px solid var(--border-subtle);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-reference-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-map-card {
  background: #111319;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-card-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--steel-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--gold-primary);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-primary);
  flex-shrink: 0;
}

.footer-contact-icon.wa-icon {
  color: #25D366;
  background: rgba(37, 211, 102, 0.12);
}

.footer-map-embed-wrap {
  width: 100%;
  height: 175px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-gold-subtle);
  background: #0D0E12;
  margin-top: 0.15rem;
}

.footer-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(15%) invert(92%) contrast(92%) hue-rotate(180deg);
  transition: filter var(--transition-fast);
}

.footer-map-embed-wrap:hover .footer-map-iframe {
  filter: grayscale(5%) invert(90%) contrast(96%) hue-rotate(180deg);
}

.footer-maps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 213, 79, 0.1);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-maps-cta:hover {
  background: rgba(255, 213, 79, 0.18);
  border-color: var(--gold-primary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Floating WhatsApp Button with Breathing Pulse */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  animation: wa-pulse 2.4s infinite;
  transition: transform var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

/* Mobile Drawer with Fluid Slide & Blur Physics */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-gold);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.active .mobile-drawer-box {
  transform: translateX(0);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFF;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .header-phone-box {
    display: flex;
  }

  .hamburger-btn {
    display: none;
  }

  .floating-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-five-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-inputs-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-reference-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .floating-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-five-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ==========================================================================
   Mobile Fine-Tuning (< 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .hero-wrapper {
    min-height: 65vh;
    padding-top: 2.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-main-title {
    font-size: 1.35rem;
    line-height: 1.22;
  }

  .hero-desc-short {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .about-title {
    font-size: 1.25rem;
    line-height: 1.22;
  }

  .section-centered-title {
    font-size: 1.25rem;
    line-height: 1.22;
  }

  .manifesto-text {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .floating-cards-section {
    margin-top: -2.5rem;
  }

  .section-centered-subtitle {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .card-title {
    font-size: 0.98rem;
  }

  .card-desc {
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
  }

  .about-bullet-text {
    font-size: 0.74rem;
  }

  .step-title {
    font-size: 0.82rem;
  }

  .step-desc {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Kinetic Motion & Interactive Physics (Scroll Reveals & Mobile Touch)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger cascade delays */
.floating-cards-grid .service-card:nth-child(1) { transition-delay: 0.05s; }
.floating-cards-grid .service-card:nth-child(2) { transition-delay: 0.14s; }
.floating-cards-grid .service-card:nth-child(3) { transition-delay: 0.23s; }
.floating-cards-grid .service-card:nth-child(4) { transition-delay: 0.32s; }

.steps-five-grid .step-card-item:nth-child(1) { transition-delay: 0.05s; }
.steps-five-grid .step-card-item:nth-child(2) { transition-delay: 0.12s; }
.steps-five-grid .step-card-item:nth-child(3) { transition-delay: 0.19s; }
.steps-five-grid .step-card-item:nth-child(4) { transition-delay: 0.26s; }
.steps-five-grid .step-card-item:nth-child(5) { transition-delay: 0.33s; }

.about-bullet-grid .about-bullet-item:nth-child(1) { transition-delay: 0.08s; }
.about-bullet-grid .about-bullet-item:nth-child(2) { transition-delay: 0.18s; }
.about-bullet-grid .about-bullet-item:nth-child(3) { transition-delay: 0.28s; }

/* Tactile Mobile Physics (Spring-like feedback on touch) */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .service-card:active {
    transform: scale(0.978);
    border-color: var(--gold-primary);
    transition: transform 0.1s ease;
  }

  .step-card-item:active {
    transform: scale(0.978);
    border-color: var(--gold-primary);
    transition: transform 0.1s ease;
  }

  .btn-primary-gold:active,
  .btn-secondary-glass:active,
  .btn-send-whatsapp:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }

  .quote-opt-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
}

/* Accessibility: User preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
