/* =========================================================================
   Valley Modern Plumbing - Main Stylesheet
   Modern, Mobile-First, Premium Aesthetic
   ========================================================================= */

/* ── VARIABLES & DESIGN TOKENS ── */
:root {
  /* Brand Colors */
  --color-navy-dark: #091628;
  --color-navy: #0f1f3d;
  --color-navy-light: #1a315a;

  --color-orange-dark: #c4511e;
  --color-orange: #e8622a;
  --color-orange-light: #ff7a3d;
  --color-orange-glow: rgba(232, 98, 42, 0.4);

  --color-cream-dark: #e8e0ce;
  --color-cream: #f5f0e8;
  --color-cream-light: #faf8f5;

  --color-gold: #d4b55e;

  --color-white: #ffffff;
  --color-black: #050a14;

  /* Text Colors */
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #8a94a6;
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Nunito", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container-width: 1200px;
  --container-padding: 1.5rem;
  --header-height: 80px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 12px rgba(15, 31, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 31, 61, 0.1);
  --shadow-lg: 0 24px 64px rgba(15, 31, 61, 0.15);
  --shadow-glow: 0 0 24px var(--color-orange-glow);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset, var(--header-height));
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--color-cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-orange-light),
    var(--color-orange)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT & UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--dark {
  background-color: var(--color-navy);
  color: var(--text-light);
}

.section--deep {
  background-color: var(--color-navy-dark);
  color: var(--text-light);
}

.section--cream {
  background-color: var(--color-cream);
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background-color: var(--color-orange);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  color: var(--color-navy-dark);
}

.section--dark .section-title,
.section--deep .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section-subtitle,
.section--deep .section-subtitle {
  color: var(--text-light-muted);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 2rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}

.btn--primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(232, 98, 42, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--outline-dark:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--pill {
  border-radius: 50px;
}

/* ── HEADER & NAVIGATION ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

/* Transparent starting state */
.header[data-scrolled="false"] {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrolled state (Solid + Glassmorphism) */
.header[data-scrolled="true"] {
  background-color: rgba(9, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--color-orange);
  box-shadow: var(--shadow-md);
  height: 70px; /* Slightly thinner when scrolled */
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  position: relative;
  z-index: 1001; /* Above mobile nav */
}

.brand__title {
  font-size: 1.75rem;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.brand__subtitle {
  font-size: 0.8rem;
  color: var(--color-orange);
  letter-spacing: 0.15em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header__actions .btn {
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-white);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  z-index: 1001;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-fast);
  margin-left: auto;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-height) + var(--banner-height, 0px) + 2rem);
  overflow: hidden;
  background-color: var(--color-navy-dark);
}

/* Background Effects */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Abstract modern pattern instead of just a flat color */
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(232, 98, 42, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(26, 49, 90, 0.4) 0%,
      transparent 40%
    ),
    linear-gradient(to bottom, transparent, var(--color-navy-dark) 90%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    40px 40px,
    40px 40px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  color: var(--color-orange);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(232, 98, 42, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(232, 98, 42, 0.2);
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.trust-badge__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.trust-badge__text {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-badge__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* ── STATS STRIP ── */
.stats {
  background: linear-gradient(
    135deg,
    var(--color-orange),
    var(--color-orange-dark)
  );
  padding: 3rem 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SERVICES SECTION ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  border: 1px solid rgba(15, 31, 61, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Orange border effect on hover */
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 98, 42, 0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card__icon {
  background: var(--color-orange);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-orange);
  transition: fill var(--transition-smooth);
}

.service-card:hover .service-card__icon svg {
  fill: var(--color-white);
}

.service-card__title {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.service-card__text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card__link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link {
  color: var(--color-orange);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ── WHY CHOOSE US ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  transition: background var(--transition-fast);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.06);
}

.feature__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(232, 98, 42, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 98, 42, 0.3);
}

.feature__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-orange);
}

.feature__title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.feature__text {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.review-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-orange);
}

.review__stars {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.review__text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  position: relative;
}

/* Quote mark decoration */
.review__text::before {
  content: '"';
  font-family: serif;
  font-size: 4rem;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  color: rgba(15, 31, 61, 0.05);
  line-height: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review__avatar {
  width: 48px;
  height: 48px;
  background: var(--color-cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.25rem;
}

.review__name {
  font-weight: 700;
  color: var(--color-navy);
  display: block;
}

.review__source {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.review__source svg {
  width: 14px;
  height: 14px;
}

/* ── ABOUT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-navy-light);
}

.about-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-navy),
    var(--color-navy-dark)
  );
  color: rgba(255, 255, 255, 0.2);
}

.about-img-placeholder svg {
  width: 80px;
  height: 80px;
  fill: currentColor;
  margin-bottom: 1rem;
}

.about-img-placeholder span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

.badge-floating {
  position: absolute;
  bottom: -2rem;
  right: 2rem;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-glow);
  text-align: center;
  border: 4px solid var(--color-white);
  z-index: 2;
}

.badge-floating .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.badge-floating .text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ── SERVICE AREA ── */
.area-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.city-item::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-bottom: 3px solid var(--color-orange);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-orange);
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.info-value {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 1.125rem;
  line-height: 1.4;
}

a.info-value:hover {
  color: var(--color-orange);
}

.bilingual-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 98, 42, 0.1);
  color: var(--color-orange-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 1rem;
  border: 1px solid rgba(232, 98, 42, 0.2);
}

/* Form Styles */
.contact-form-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--color-orange);
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-cream-dark);
  border-radius: 8px;
  background: var(--color-cream-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(232, 98, 42, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.25rem;
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(232, 98, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-orange);
}

.form-success h4 {
  font-size: 2rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--color-orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .brand {
  margin-bottom: 1.5rem;
}

.footer-quote {
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-family: serif;
}

.footer-desc {
  line-height: 1.7;
}

.footer-title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-orange);
}

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

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  fill: var(--color-orange);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

/* ── ANIMATIONS & EFFECTS ── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Micro-animations triggered by Intersection Observer */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-split,
  .area-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .badge-floating {
    bottom: auto;
    top: 2rem;
    right: 2rem;
  }

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

/* ── TABLET & MOBILE NAV BREAKPOINT (1024px) ── */
@media (max-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero__eyebrow {
    margin-top: 1rem;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(9, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.active {
    transform: translateX(0);
  }

  /* Hide logo when mobile nav is open */
  .nav.active ~ .brand,
  .header:has(.nav.active) .brand {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .nav__link {
    font-size: 1.75rem;
  }

  .header__actions {
    flex-direction: column;
    width: 100%;
  }

  .header__actions .btn {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Lang toggle always visible in navbar on mobile, between logo and burger */
  .lang-toggle {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ── MOBILE SPECIFIC (768px) ── */
@media (max-width: 768px) {
  .stats {
    padding: 2rem 0;
  }

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

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stat__number {
    font-size: 3rem;
  }
}

/* =========================================================================
   UPGRADE: Emergency Banner
   ========================================================================= */
.emergency-banner {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #fff;
  text-align: center;
  padding: 0.6rem var(--container-padding);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  letter-spacing: 0.01em;
}
/* Push the fixed header below the emergency banner */
.emergency-banner ~ .header {
  top: var(--banner-height, 36px);
}
/* When banner is dismissed, header returns to top */
.emergency-banner.hidden ~ .header {
  top: 0;
}
.emergency-banner a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.emergency-banner a:hover { text-decoration: underline; }
.emergency-banner__close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem;
  line-height: 1;
}
.emergency-banner__close:hover { color: #fff; }
.emergency-banner.hidden { display: none; }

/* =========================================================================
   UPGRADE: Trust Badge Bar
   ========================================================================= */
.trust-bar {
  background: var(--color-cream);
  border-top: 1px solid var(--color-cream-dark);
  border-bottom: 1px solid var(--color-cream-dark);
  padding: 3rem 0;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.trust-bar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  border-radius: 50%;
  color: var(--color-gold);
  flex-shrink: 0;
}
.trust-bar__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.trust-bar__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.trust-bar__sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .trust-bar__item:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================================
   UPGRADE: EN/ES Language Toggle
   ========================================================================= */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
  border-radius: 999px;
  padding: 0.15rem;
  gap: 0;
  font-family: var(--font-body);
}
.lang-toggle__btn {
  background: none;
  border: none;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 999px;
  transition: var(--transition-fast);
  letter-spacing: 0.05em;
}
.lang-toggle__btn.active {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.lang-toggle__btn:hover:not(.active) {
  color: var(--color-navy);
}

/* =========================================================================
   UPGRADE: Mobile Sticky CTA Bar
   ========================================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-navy-dark);
  border-top: 2px solid var(--color-orange);
  padding: 0.6rem var(--container-padding);
}
.mobile-cta__inner {
  display: flex;
  gap: 0.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}
.mobile-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
}
.mobile-cta__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.mobile-cta__btn--call {
  background: var(--color-orange);
  color: #fff;
}
.mobile-cta__btn--call:hover { background: var(--color-orange-light); }
.mobile-cta__btn--text {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.mobile-cta__btn--text:hover { border-color: rgba(255,255,255,0.5); }
.mobile-cta__btn--quote {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid rgba(212,181,94,0.3);
}
.mobile-cta__btn--quote:hover { border-color: var(--color-gold); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

@media (max-width: 768px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 70px; }
  .footer { padding-bottom: 70px; }
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
