/* ═══════════════════════════════════════════════════════════════
   FANTASTIC IRRIGATION SYSTEM — style.css
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Custom Properties ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-900: #0A2540;
  --blue-800: #0F3460;
  --blue-700: #1A4F8A;
  --blue-500: #2272CC;
  --blue-400: #3D8EE8;
  --green-700: #156B31;
  --green-600: #1E8A3E;
  --green-400: #2DB554;
  --teal-500: #0891B2;
  --teal-400: #0EA5B0;
  --teal-300: #22C9D4;
  --teal-100: #CFFAFE;
  --gray-50: #F4F7FB;
  --gray-100: #E8EFF7;
  --gray-200: #D0DCEE;
  --gray-300: #B0BFD4;
  --gray-500: #6B7FA0;
  --gray-700: #2E3D52;
  --white: #FFFFFF;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease-premium);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 28px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.16);
  --shadow-blue: 0 8px 32px rgba(34, 114, 204, 0.32);
  --shadow-green: 0 8px 32px rgba(30, 138, 62, 0.30);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  background: rgba(14, 165, 176, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(14, 165, 176, 0.22);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(30, 138, 62, 0.38);
}

.btn-white {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover,
.btn-white:focus-visible {
  background: var(--teal-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-3px) scale(1.02);
}

.btn-nav-cta {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus-visible {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s var(--ease-premium) both;
  animation-delay: var(--delay, 0s);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 37, 64, 0.92);
  padding: 0.65rem 0;
  box-shadow: 0 4px 30px rgba(10, 37, 64, 0.28);
}

.nav-container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text strong {
  color: var(--teal-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}

/* Full-bleed hero photo */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10, 37, 64, 0.72) 0%, rgba(10, 37, 64, 0.55) 60%, rgba(10, 37, 64, 0.80) 100%);
}

.hero-water-rings {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  z-index: 2;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 165, 176, 0.18);
  inset: 0;
  animation: pulseRing 4s var(--ease-premium) infinite;
}

.ring-2 {
  animation-delay: 1.3s;
}

.ring-3 {
  animation-delay: 2.6s;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--teal-100);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: var(--teal-300);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.headline-accent {
  background: linear-gradient(135deg, var(--teal-300), var(--green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  display: block;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--blue-800);
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--teal-300);
  font-size: 1rem;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ── Services ────────────────────────────────────────────────── */
.services {
  padding: 6rem 0;
  background: var(--white);
  scroll-margin-top: 90px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--blue-500));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::after {
  opacity: 1;
}

/* Card photo */
.card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease-premium);
}

.service-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-icon-wrap {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(14, 165, 176, 0.12), rgba(34, 114, 204, 0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-500);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .card-icon-wrap {
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  color: var(--white);
  transform: scale(1.1) rotate(-3deg);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.915rem;
  color: var(--gray-500);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: rgba(14, 165, 176, 0.1);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 176, 0.2);
  align-self: flex-start;
}

/* CTA card (no photo) */
.service-card--cta {
  background: linear-gradient(145deg, var(--blue-900), var(--blue-800));
  border-color: transparent;
  min-height: 340px;
}

.service-card--cta .card-icon-wrap {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-300);
}

.service-card--cta .card-title {
  color: var(--white);
}

.service-card--cta .card-desc {
  color: rgba(255, 255, 255, 0.65);
}

.service-card--cta:hover {
  background: linear-gradient(145deg, var(--blue-800), var(--blue-700));
  box-shadow: var(--shadow-blue);
}

/* ── Photo Break ─────────────────────────────────────────────── */
.photo-break {
  overflow: hidden;
}

.photo-break-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
}

.pb-img {
  overflow: hidden;
  position: relative;
}

.pb-img--large {
  grid-row: 1 / 3;
}

.pb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium);
  min-height: 220px;
}

.pb-img--large img {
  min-height: 440px;
}

.pb-img:hover img {
  transform: scale(1.04);
}

/* ── Why Choose Us ───────────────────────────────────────────── */
.why-us {
  padding: 6rem 0;
  background: var(--gray-50);
  scroll-margin-top: 90px;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* Photo column */
.why-photo-col {
  position: relative;
}

.why-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-photo-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

/* Floating badge on the photo */
.why-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.why-photo-badge>i {
  font-size: 1.6rem;
  color: var(--teal-300);
  flex-shrink: 0;
}

.why-photo-badge strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.why-photo-badge span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Content column */
.why-content-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-content-col .section-tag {
  align-self: flex-start;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-auto-rows: 1fr;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(30, 138, 62, 0.1), rgba(14, 165, 176, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-600);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--green-600), var(--teal-400));
  color: var(--white);
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.35rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Testimonials */
.testimonial-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial p {
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0.65rem;
}

.testimonial cite {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-500);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ── Quote Form ──────────────────────────────────────────────── */
.quote-section {
  padding: 6rem 0;
  background: var(--white);
}

#quote {
  scroll-margin-top: 90px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 820px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(30, 138, 62, 0.07);
  border: 1px solid rgba(30, 138, 62, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  color: var(--green-700);
}

.form-success.visible {
  display: flex;
}

.form-success i {
  font-size: 1.6rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.form-success strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.form-success p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-900);
}

.required {
  color: var(--teal-400);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap>i:not(.select-arrow) {
  position: absolute;
  left: 1rem;
  color: var(--gray-300);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
  transition: color 0.3s ease;
}

.input-wrap:focus-within>i:not(.select-arrow) {
  color: var(--blue-500);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--blue-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem 0.8rem 2.75rem;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-300);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--gray-200);
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 114, 204, 0.12);
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: #e24b4a;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap>i:not(.select-arrow) {
  top: 0.9rem;
}

.select-wrap {
  position: relative;
}

select {
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-arrow {
  position: absolute;
  right: 1rem;
  color: var(--gray-300);
  font-size: 0.75rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.select-wrap:focus-within .select-arrow {
  color: var(--blue-500);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.form-note i {
  color: var(--teal-400);
}

.btn-submit {
  min-width: 200px;
  justify-content: center;
}

/* ── Contact Bar (with photo bg) ─────────────────────────────── */
.contact-bar {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.contact-bar-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-bar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.contact-bar-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.82);
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact-info {
  text-align: center;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 0.4rem;
}

.contact-heading {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-100);
  transition: var(--transition);
}

.contact-phone:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.contact-divider {
  width: 1px;
  height: 90px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--blue-900);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.footer-brand .logo-text strong {
  color: var(--teal-300);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-photo-col {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 37, 64, 0.97);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.25rem;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .btn-nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-container {
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn-submit {
    width: 100%;
  }

  .form-note {
    justify-content: center;
  }

  .trust-items {
    gap: 0.75rem 1rem;
  }

  .trust-divider {
    display: none;
  }

  .contact-bar-inner {
    gap: 2.5rem;
  }

  .contact-divider {
    width: 80px;
    height: 1px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-ghost,
  .btn-primary.btn-large {
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }

  .photo-break-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pb-img--large {
    grid-row: auto;
  }

  .pb-img--large img {
    min-height: 260px;
  }

  .pb-img img {
    min-height: 200px;
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Focus visible accessibility ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   START STAGE 3 PROMO STYLES  —  Premium High-Contrast Hybrid Redesign
   Fully scoped to .stage3-promo-section. Zero bleed into site styles.
   ═══════════════════════════════════════════════════════════════ */

.stage3-promo-section {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.stage3-promo-section *,
.stage3-promo-section *::before,
.stage3-promo-section *::after {
  box-sizing: border-box;
}

/* Main Container: Split 55% Hero Image Content / 45% Clean White Feature Section */
.stage3-promo-section .s3-container {
  max-width: 1150px;
  margin: 0 auto;
  background: #ffffff; /* Clean white base for the right-side cards to sit on */
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.22);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr; 
  align-items: stretch; /* Forces equal heights */
  position: relative;
  overflow: hidden;
}

/* --- THE PREMIUM VERTICAL RIBBON --- */
.stage3-promo-section .s3-ribbon {
  position: absolute;
  top: 0;
  right: 40px;
  width: 64px;
  height: 110px;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;

  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* --- LEFT COLUMN: Image Content Area --- */
.stage3-promo-section .s3-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 50px;
  background-image: url('Images/Drip.jpeg');
  background-size: cover;
  background-position: center;
}

/* 
   THE GRAPHIC SOLUTION: 
   A stylized dark gradient plate that ensures white text reads cleanly over 
   the background without ruining or muddying the image details.
*/
.stage3-promo-section .s3-left-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, 
    rgba(15, 23, 42, 0.92) 0%, 
    rgba(15, 23, 42, 0.82) 45%, 
    rgba(15, 23, 42, 0.40) 80%,
    rgba(15, 23, 42, 0.15) 100%
  );
  z-index: 1;
}

/* Forces content layout above the graphic layer overlay */
.stage3-promo-section .s3-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
}

/* Warning Pill Badge */
.stage3-promo-section .s3-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5; /* High-visibility warning pink/red */
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

/* Pulsing Red Dot */
.stage3-promo-section .s3-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.stage3-promo-section .s3-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ef4444;
  animation: s3Pulse 1.8s infinite ease-in-out;
}

@keyframes s3Pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* High-End Typography Styling */
.stage3-promo-section .s3-heading {
  color: #ffffff; /* Total contrast visibility */
  font-size: clamp(2.2rem, 3.8vw, 2.85rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.stage3-promo-section .s3-subheading {
  background: linear-gradient(135deg, #2dd4bf 0%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.stage3-promo-section .s3-body {
  color: #e2e8f0; /* Ultra clear soft slate reading text */
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 36px 0;
}

.stage3-promo-section .s3-body strong {
  color: #4ade80; /* Pops out critical keyword statements dynamically */
  font-weight: 700;
}

/* Action CTA Area */
.stage3-promo-section .s3-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.stage3-promo-section .s3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.stage3-promo-section .s3-btn--solid {
  background-color: #16a34a;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
}

.stage3-promo-section .s3-btn--solid:hover {
  background-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.5);
}

.stage3-promo-section .s3-btn--outline {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.stage3-promo-section .s3-btn--outline:hover {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
}

/* --- RIGHT COLUMN: Isolated Cards Container --- */
.stage3-promo-section .s3-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 50px 40px;
  background: #ffffff; /* Guarantees explicit white surface insulation */
}

/* Clean, modern standalone feature layout cards */
.stage3-promo-section .s3-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.stage3-promo-section .s3-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.12);
}

/* --- THE RE-DESIGNED SQUIRCLE ICON BOX --- */
.stage3-promo-section .s3-card-icon {
  width: 48px;
  height: 48px;
  background-color: #f0fdf4; /* Very soft light green tint */
  border: 1px solid #bbf7d0;
  color: #16a34a;
  border-radius: 14px; /* Smooth rounded square corners */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.stage3-promo-section .s3-card:hover .s3-card-icon {
  background: linear-gradient(135deg, #00a8b5 0%, #2b72d8 100%);
  border-color: transparent; /* Seamless blend for the gradient edges */
  color: #ffffff;            /* Keeps structural glyph icons crisp white */
  transform: scale(1.05);
}

.stage3-promo-section .s3-card-text {
  display: flex;
  flex-direction: column;
}

.stage3-promo-section .s3-card-stat {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.stage3-promo-section .s3-card-label {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 3px;
}

/* --- Responsive Adaptations --- */
@media (max-width: 968px) {
  .stage3-promo-section {
    padding: 30px 14px;
  }

  .stage3-promo-section .s3-container {
    grid-template-columns: 1fr;
  }

  .stage3-promo-section .s3-left {
    padding: 70px 24px 48px 24px;
  }

  .stage3-promo-section .s3-left-overlay {
    background: linear-gradient(180deg, 
      rgba(15, 23, 42, 0.95) 0%, 
      rgba(15, 23, 42, 0.85) 80%, 
      rgba(15, 23, 42, 0.95) 100%
    );
  }

  .stage3-promo-section .s3-right {
    padding: 40px 24px;
  }

  .stage3-promo-section .s3-cta-group .s3-btn {
    width: 100%;
  }

  .stage3-promo-section .s3-ribbon {
    right: 24px;
    height: 100px;
    width: 60px;
  }
}