@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0B1F3F;
  --navy-light: #132D5E;
  --navy-dark: #071428;
  --cyan: #00B4D8;
  --cyan-glow: #00D4FF;
  --cyan-dark: #0090AA;
  --white: #FFFFFF;
  --white-muted: #B8C5D6;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(0,180,216,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 1. Base Reset + Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2. Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.header.header--scrolled {
  background: rgba(11,31,63,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  height: 50px;
  transition: var(--transition);
}

.header.header--scrolled .header__logo {
  height: 40px;
}

.header__logo img {
  height: 100%;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  color: var(--white-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--cyan);
}

.header__cta {
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.header__cta:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.header__menu-btn {
  display: none;
}

/* 3. Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ─── HERO CAROUSEL ─────────────────────────────────────── */

/* Ken Burns keyframes */
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@keyframes kenBurnsAlt {
  0%   { transform: scale(1.00) translate(0, 0); }
  100% { transform: scale(1.08) translate(1%, -1%); }
}

/* Carousel container fills the hero */
.hero__carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* Individual slides — stacked on top of each other */
.carousel__slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}

/* Active slide: visible + Ken Burns running */
.carousel__slide.active {
  opacity: 1;
  animation: kenBurns 7s ease-in-out forwards;
}

/* Alternate slides use the mirror pan */
.carousel__slide.active:nth-child(even) {
  animation-name: kenBurnsAlt;
}

/* Leaving slide: fade out while holding last transform */
.carousel__slide.leaving {
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

/* ─── DOT INDICATORS ────────────────────────────────────── */
.carousel__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
  padding: 6px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.carousel__dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(0,194,216,0.7);
}

/* ─── FILM GRAIN OVERLAY ────────────────────────────────── */
.hero__carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
}

/* ─── REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .carousel__slide.active {
    animation: none;
    transform: none;
  }
  .carousel__slide {
    transition: opacity 0.8s ease-in-out;
  }
  .hero__text-block,
  .hero__text-block.active,
  .hero__text-block.leaving,
  .hero__badge {
    transition: none !important;
    transform: none !important;
  }
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,31,63,0.78) 0%, rgba(11,31,63,0.38) 50%, rgba(11,31,63,0.70) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* ─── SEGMENT SWITCHER TABS ─────────────────────────────── */
.hero__segments {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 31, 63, 0.75);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 6px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero__segment-btn {
  background: transparent;
  border: none;
  color: var(--white-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.hero__segment-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero__segment-btn.active {
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 194, 216, 0.45);
}

.hero__segment-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero__segment-btn.active .hero__segment-dot {
  transform: scale(1.2);
}

/* ─── TEXT SLIDER & SEGMENT TRANSITIONS ──────────────────── */
.hero__text-slider {
  position: relative;
  min-height: 290px;
  margin-bottom: 12px;
}

.hero__text-block {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 500ms ease-out 150ms, transform 500ms ease-out 150ms;
}

.hero__text-block.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.hero__text-block.leaving {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 400ms ease-in, transform 400ms ease-in;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: scale(0.95);
  opacity: 0.7;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms, opacity 400ms ease-out 180ms;
}

.hero__text-block.active .hero__badge {
  transform: scale(1);
  opacity: 1;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title--residential {
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--cyan);
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.58;
  margin-bottom: 34px;
  max-width: 580px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.hero__cta:hover {
  background: var(--cyan-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.hero__cta svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

/* 4. Services */
.services {
  padding: 120px 0;
  background: var(--navy);
}

.services__header {
  text-align: center;
  margin-bottom: 64px;
}

.services__label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.services__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(0,180,216,0.3);
}

.service-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.08);
}

.service-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 40%, var(--navy-dark) 100%);
}

.service-card__body {
  padding: 24px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(0,180,216,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--cyan);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
}

/* 5. Value Props */
.value-props {
  padding: 120px 0;
  background: var(--navy-dark);
}

.value-props__header {
  text-align: center;
  margin-bottom: 64px;
}

.value-props__label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.value-props__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.value-prop {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.value-prop:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,180,216,0.3);
}

.value-prop__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(0,180,216,0.2), rgba(0,180,216,0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 2rem;
}

.value-prop__icon svg {
  width: 36px;
  height: 36px;
}

.value-prop__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-prop__desc {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.7;
}

/* 6. Methodology */
.methodology {
  padding: 120px 0;
  background: var(--navy);
}

.methodology__header {
  text-align: center;
  margin-bottom: 64px;
}

.methodology__label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.methodology__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.methodology__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.method-block {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.method-block:hover {
  border-color: rgba(0,180,216,0.3);
}

.method-block__number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0,180,216,0.1);
  position: absolute;
  top: -10px;
  right: 16px;
  line-height: 1;
}

.method-block__icon {
  width: 56px;
  height: 56px;
  margin: 0 0 24px 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.2), rgba(0,180,216,0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 2rem;
}

.method-block__icon svg {
  width: 36px;
  height: 36px;
}

.method-block__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-block__desc {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.7;
}

/* 7. Smart Quote */
.smart-quote {
  padding: 120px 0;
  background: var(--navy-dark);
}

.smart-quote__header {
  text-align: center;
  margin-bottom: 64px;
}

.smart-quote__label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.smart-quote__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}

.smart-quote__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.smart-quote__panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 550px;
}

.chat-panel {
  background: var(--glass-bg);
}

.chat-panel__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,180,216,0.08);
}

.chat-panel__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-panel__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.chat-panel__avatar svg {
  width: 20px;
  height: 20px;
}

.chat-panel__header-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.chat-panel__header-info span {
  font-size: 0.75rem;
  color: var(--cyan);
}

.chat-panel__badge {
  background: rgba(0,180,216,0.15);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.chat-panel__messages {
  padding: 24px;
  min-height: 350px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-message {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-message--bot {
  background: rgba(0,180,216,0.12);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid rgba(0,180,216,0.15);
}

.chat-message--user {
  background: var(--cyan);
  color: var(--navy-dark);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

.chat-panel__input {
  padding: 16px 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 12px;
  align-items: center;
}

.chat-panel__input input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 12px 20px;
  color: white;
  font-size: 0.9rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.chat-panel__input input::placeholder {
  color: var(--white-muted);
}

.chat-panel__input input:focus {
  border-color: var(--cyan);
}

.chat-panel__send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan);
  border: none;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-panel__send:hover {
  background: var(--cyan-glow);
  transform: scale(1.1);
}

.chat-panel__send svg {
  width: 20px;
  height: 20px;
}

.calendly-panel {
  background: var(--glass-bg);
}

.calendly-panel__header {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.calendly-panel__header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.calendly-panel__header p {
  font-size: 0.85rem;
  color: var(--white-muted);
}

.calendly-panel__content {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.audit-card {
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.audit-card__icon {
  width: 72px;
  height: 72px;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cyan);
}

.audit-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.audit-card p {
  font-size: 0.9rem;
  color: var(--white-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.audit-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-card__features li {
  font-size: 0.85rem;
  color: var(--white);
  background: rgba(0,180,216,0.08);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,180,216,0.15);
}

.audit-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--cyan);
  color: var(--navy-dark);
  font-weight: 700;
  border-radius: 50px;
  padding: 15px 24px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.audit-card__btn:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
}

.audit-card__note {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--white-muted);
  opacity: 0.8;
}

/* 8. Footer */
.footer {
  padding: 64px 0 32px;
  background: var(--navy-dark);
  border-top: 1px solid var(--glass-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 48px;
}

.footer__brand p {
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer__links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-muted);
  margin-bottom: 20px;
}

.footer__links ul {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: white;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--white-muted);
  font-size: 0.9rem;
}

.footer__contact-item svg {
  color: var(--cyan);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__contact-item a {
  color: var(--white-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__contact-item a:hover {
  color: var(--cyan);
}

.footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  color: var(--white-muted);
  font-size: 0.8rem;
}

/* 9. WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-float__bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--navy-light);
  color: white;
  padding: 10px 18px;
  border-radius: 12px 12px 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float__bubble.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.whatsapp-float__bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: var(--navy-light);
  transform: rotate(45deg);
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* 10. Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* 11. Keyframe Animations */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glow-pulse { 0%,100% { box-shadow: 0 0 20px rgba(0,180,216,0.3); } 50% { box-shadow: 0 0 40px rgba(0,180,216,0.6); } }
@keyframes typing { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  align-self: flex-start;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
}

.typing-indicator span:nth-child(1) {
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation: typing 1.4s infinite 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation: typing 1.4s infinite 0.4s;
}

/* 12. Mobile Navigation Overlay */
.mobile-nav {
  display: none;
}

.mobile-nav.active {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(11,31,63,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav a {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* 13. Responsive Breakpoints */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-props__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .methodology__grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .smart-quote__layout {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header__menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
  .header__nav, .header__cta {
    display: none;
  }
  .hero__title {
    font-size: clamp(1.9rem, 7.5vw, 2.4rem);
  }
  .hero__title--residential {
    font-size: clamp(1.6rem, 6.2vw, 2.1rem);
    line-height: 1.16;
  }
  .hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.52;
    margin-bottom: 24px;
  }
  .hero__text-slider {
    min-height: 310px;
  }
  .services, .value-props, .methodology, .smart-quote {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .services, .value-props, .methodology, .smart-quote {
    padding: 60px 0;
  }
  .service-card__body, .value-prop, .method-block {
    padding: 24px;
  }
}

/* 14. Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* 15. Selection */
::selection {
  background: rgba(0,180,216,0.3);
  color: white;
}
