/* ============================================================
   Cape Coral Modern — style.css
   Coastal Modern Florida Interior Design
   Palette: Ocean Blue · Seafoam Green · Ivory · Driftwood Beige · Deep Navy
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --ocean:      #2a7fbd;
  --seafoam:    #6dbfb8;
  --ivory:      #f8f5ef;
  --driftwood:  #c9b99a;
  --navy:       #0f2d4a;
  --navy-dark:  #091e33;
  --white:      #ffffff;
  --text-dark:  #1a2535;
  --text-mid:   #4a5568;
  --text-light: #718096;
  --border:     #e2d9cc;
  --shadow-sm:  0 2px 8px rgba(15,45,74,.08);
  --shadow-md:  0 6px 24px rgba(15,45,74,.12);
  --shadow-lg:  0 16px 48px rgba(15,45,74,.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}

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

.btn-seafoam {
  background: var(--seafoam);
  color: var(--white);
  border-color: var(--seafoam);
}

.btn-seafoam:hover {
  background: #56aaa3;
  border-color: #56aaa3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- HEADER ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9, 30, 51, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}

#header.scrolled {
  background: rgba(9, 30, 51, .99);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-sub {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-top: 2px;
}

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

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .04em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--seafoam);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--seafoam);
  transition: color var(--transition);
}

.header-phone:hover { color: var(--white); }

.header-phone svg { width: 16px; height: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy-dark);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.08);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: .75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--seafoam); }

.mobile-menu .mobile-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .85rem 1.5rem;
  background: var(--seafoam);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  justify-content: center;
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9,30,51,.82) 0%,
    rgba(9,30,51,.55) 50%,
    rgba(9,30,51,.25) 100%
  );
}

/* subtle paper-texture overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 0;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(109,191,184,.18);
  border: 1px solid rgba(109,191,184,.4);
  border-radius: 50px;
  padding: .45rem 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-trust-badge span.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--seafoam);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: var(--seafoam);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-phone-display {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--driftwood);
  margin-bottom: 2rem;
}

.hero-phone-display svg { width: 18px; height: 18px; color: var(--seafoam); }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Floating card */
.hero-floating-card {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50%       { transform: translateY(-50%) translateY(-12px); }
}

.hero-floating-card .stat-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-floating-card .stat-row:last-child { border-bottom: none; }

.stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(109,191,184,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg { width: 18px; height: 18px; color: var(--seafoam); }

.stat-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-text span {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  line-height: 0;
  z-index: 4;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ---------- ABOUT ---------- */
#about {
  padding: 6rem 0;
  background: var(--white);
}

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge .badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--seafoam);
  line-height: 1;
}

.about-badge .badge-label {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: .25rem;
}

.about-text .section-sub {
  margin-bottom: 1.5rem;
}

.about-areas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.area-tag {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ---------- SERVICES ---------- */
#services {
  padding: 6rem 0;
  background: var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(180deg, var(--seafoam), var(--ocean));
  transition: height var(--transition);
  border-radius: 0 0 4px 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109,191,184,.3);
}

.service-card:hover::before { height: 100%; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(109,191,184,.15), rgba(42,127,189,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--seafoam), var(--ocean));
}

.service-icon svg {
  width: 24px; height: 24px;
  color: var(--ocean);
  transition: color var(--transition);
}

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

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--navy);
}

.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- WHY CHOOSE US ---------- */
#why {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#why::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,191,184,.08) 0%, transparent 70%);
  pointer-events: none;
}

#why .section-title { color: var(--white); }
#why .section-sub   { color: rgba(255,255,255,.65); }
#why .section-label { color: var(--seafoam); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(109,191,184,.1);
  border-color: rgba(109,191,184,.3);
  transform: translateY(-3px);
}

.why-check {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(109,191,184,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-check svg { width: 18px; height: 18px; color: var(--seafoam); }

.why-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .35rem;
}

.why-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* ---------- GALLERY ---------- */
#gallery {
  padding: 6rem 0;
  background: var(--white);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-featured {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.gallery-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-featured:hover img { transform: scale(1.04); }

.gallery-featured .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(9,30,51,.7));
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-featured:hover .gallery-caption { opacity: 1; }

.gallery-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-thumb:hover img { transform: scale(1.06); }

.gallery-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- PROCESS ---------- */
#process {
  padding: 6rem 0;
  background: var(--ivory);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%;
  width: 80%; height: 2px;
  background: linear-gradient(90deg, var(--seafoam), var(--ocean));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem;
}

.step-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--seafoam);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover .step-circle {
  background: var(--seafoam);
  border-color: var(--seafoam);
}

.step-circle svg { width: 28px; height: 28px; color: var(--ocean); transition: color var(--transition); }
.process-step:hover .step-circle svg { color: var(--white); }

.step-num {
  position: absolute;
  top: -8px; right: calc(50% - 50px);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.process-step p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- REVIEWS ---------- */
#reviews {
  padding: 6rem 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109,191,184,.4);
}

.review-quote {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
  color: var(--seafoam);
  opacity: .25;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.stars svg { width: 18px; height: 18px; color: #f6c90e; fill: #f6c90e; }

.review-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seafoam), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-info strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
}

.reviewer-info span {
  font-size: .8rem;
  color: var(--text-light);
}

/* ---------- CONTACT ---------- */
#contact {
  padding: 6rem 0;
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 20px; height: 20px; color: var(--seafoam); }

.contact-detail strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: .2rem;
}

.contact-detail a,
.contact-detail span {
  font-size: .95rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-detail a:hover { color: var(--ocean); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
  color: var(--navy);
}

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

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

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .45rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--ivory);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--seafoam);
  box-shadow: 0 0 0 3px rgba(109,191,184,.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

#form-success {
  display: none;
  text-align: center;
  padding: 2.5rem;
}

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(109,191,184,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg { width: 32px; height: 32px; color: var(--seafoam); }

#form-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

#form-success p {
  color: var(--text-mid);
  font-size: .95rem;
}

/* ---------- MAP ---------- */
#map {
  background: var(--navy);
  padding: 4rem 0 0;
}

#map .section-title { color: var(--white); }
#map .section-label { color: var(--seafoam); }
#map .section-sub   { color: rgba(255,255,255,.65); }

.map-embed {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(15%) contrast(1.05);
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--navy-dark);
  padding: 3.5rem 0 2rem;
  color: rgba(255,255,255,.7);
}

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

.footer-brand .logo-main { font-size: 1.5rem; color: var(--white); }
.footer-brand .logo-sub  { color: var(--seafoam); }

.footer-brand p {
  margin-top: 1rem;
  font-size: .88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col ul li {
  margin-bottom: .6rem;
}

.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--seafoam); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .75rem;
  font-size: .88rem;
}

.footer-contact-item svg { width: 15px; height: 15px; color: var(--seafoam); flex-shrink: 0; margin-top: 3px; }

.footer-contact-item a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--seafoam); }

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

.footer-bottom a { color: var(--seafoam); }

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-floating-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 560px; }
  .about-badge { right: 0; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-featured { grid-row: auto; aspect-ratio: 16/9; }
  .gallery-small-grid { grid-template-columns: repeat(4, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .header-phone { display: none; }
  .hamburger { display: flex; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .gallery-small-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: 1fr 1fr; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}
