/* ============================================================
   PAINTORA — Design System
   Colors: steel blue (#5C7FA3), dark navy (#1A2E45), warm cream (#F6EEE3)
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
  --blue:        #5C7FA3;
  --blue-dark:   #3D6080;
  --blue-light:  #EBF2F8;
  --navy:        #1A2E45;
  --navy-light:  #2D4A66;
  --cream:       #F6EEE3;
  --cream-dark:  #EDE3D5;
  --cream-mid:   #F0E6D8;
  --white:       #FFFFFF;
  --text-dark:   #1A2E45;
  --text-mid:    #3D5166;
  --text-muted:  #7A8FA3;
  --border:      rgba(92,127,163,0.15);
  --border-dark: rgba(26,46,69,0.12);

  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --shadow:      0 8px 40px rgba(26,46,69,0.10);
  --shadow-card: 0 2px 20px rgba(26,46,69,0.07);
  --shadow-lg:   0 20px 60px rgba(26,46,69,0.14);

  --transition: 0.28s ease;

  --container: 1200px;
}

/* ============================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================ TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem);   font-weight: 700; }
h3 { font-size: 1.2rem;  font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
p  { color: var(--text-mid); }

/* ============================================================ UTILITIES */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(92,127,163,0.22);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,46,69,0.22);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,46,69,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border-dark);
}
.btn-ghost:hover {
  background: var(--cream);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

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

.btn-icon { width: 16px; height: 16px; }

/* ============================================================ REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================ HEADER / NAV */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246,238,227,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
#header.scrolled {
  background: rgba(246,238,227,0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(26,46,69,0.08);
}

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  flex-shrink: 0;
  z-index: 101;
}
.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* Desktop nav links */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--blue-light);
}

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 200;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel — lives outside <header> to avoid Safari backdrop-filter containment */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(300px, 80vw);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(26,46,69,0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 5.5rem 1.5rem 2rem;
  z-index: 150;
  transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav-panel.open { right: 0; }

.mobile-nav-panel .nav-link {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.mobile-nav-cta {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,46,69,0.35);
  backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================ HERO */
.hero-section {
  background: var(--cream);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(92,127,163,0.18) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(237,227,213,0.9) 0%, transparent 70%);
  bottom: 50px; left: -80px;
}
.hero-shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(92,127,163,0.12) 0%, transparent 70%);
  bottom: 200px; right: 30%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(92,127,163,0.12);
  border: 1px solid rgba(92,127,163,0.25);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.title-accent {
  color: var(--blue);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  box-shadow: var(--shadow-card);
}
.trust-item i { width: 14px; height: 14px; color: var(--blue); }

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1/1;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.paint-swatch {
  position: absolute;
  bottom: 0;
  width: 25%;
  border-radius: 8px 8px 0 0;
  transition: height 0.5s ease;
}
.paint-swatch:nth-child(1) { left: 0;    height: 55%; background: var(--cream); }
.paint-swatch:nth-child(2) { left: 25%;  height: 70%; background: var(--blue-light); }
.paint-swatch:nth-child(3) { left: 50%;  height: 45%; background: #D4E6F1; }
.paint-swatch:nth-child(4) { left: 75%;  height: 60%; background: var(--cream-dark); }

.roller-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paint-roller {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roller-handle {
  width: 6px;
  height: 60px;
  background: var(--navy);
  border-radius: 3px;
}
.roller-frame {
  width: 6px;
  height: 30px;
  background: var(--navy);
  border-radius: 3px;
  transform: rotate(90deg) translateX(28px);
  position: absolute;
  top: 52px;
}
.roller-head {
  width: 90px;
  height: 26px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 13px;
  position: absolute;
  top: 62px;
}
.paint-streak {
  width: 90px;
  height: 12px;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(92,127,163,0.15) 100%);
  border-radius: 0 0 6px 6px;
  margin-top: 96px;
}

.hero-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-num {
  display: block;
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.3;
  margin-top: 0.2rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s ease infinite;
  z-index: 1;
}
.hero-scroll-hint i { width: 24px; height: 24px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================ STATS BAR */
.stats-bar {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 1.5rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================ ABOUT */
.about-section {
  padding: 7rem 0;
  background: var(--white);
}

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

.about-visual {
  position: relative;
}

.about-img-card {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92,127,163,0.15) 0%, transparent 60%);
}

.about-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(26,46,69,0.7) 0%, transparent 100%);
}

.about-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--white);
}
.about-stat-pill i { color: rgba(255,255,255,0.8); flex-shrink: 0; }
.about-stat-pill strong { display: block; font-size: 0.85rem; font-weight: 600; }
.about-stat-pill span  { display: block; font-size: 0.75rem; opacity: 0.75; }

.about-accent-card {
  position: absolute;
  top: 32px;
  right: -28px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 200px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  z-index: 2;
}
.about-accent-card i { flex-shrink: 0; color: var(--blue); width: 20px; height: 20px; }

.about-content { }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  transition: all var(--transition);
}
.about-feature:hover .feature-icon {
  background: var(--blue);
  color: var(--white);
}
.about-feature strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.2rem; }
.about-feature p     { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================ SERVICES */
.services-section {
  padding: 7rem 0;
  background: var(--cream);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(92,127,163,0.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--white);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  font-family: 'Inter', sans-serif;
}

.service-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

/* ============================================================ PROCESS */
.process-section {
  padding: 7rem 0;
  background: var(--white);
}

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

/* Connector line between steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue), var(--blue-light));
  opacity: 0.4;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(26,46,69,0.25);
  transition: all var(--transition);
}
.process-step:hover .process-num {
  background: var(--blue);
  transform: scale(1.08);
}

.process-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  width: 100%;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.process-step:hover .process-card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: rgba(92,127,163,0.2);
}

.process-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 0.85rem;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================ TESTIMONIALS */
.testimonials-section {
  padding: 7rem 0;
  background: var(--cream);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  gap: 3px;
}
.stars i {
  width: 16px; height: 16px;
  color: #D4A437;
  fill: #D4A437;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

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

.testimonial-author strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.testimonial-author span  { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================ GALLERY */
.gallery-section {
  padding: 7rem 0;
  background: var(--white);
}

.gallery-grid-wrapper {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.gallery-item.gallery-tall  { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.gallery-wide  { grid-column: span 2; aspect-ratio: auto; min-height: 220px; }

.gallery-bg {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-bg { transform: scale(1.05); }

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

.gb-1 { background: linear-gradient(135deg, #D4E6F1 0%, var(--blue) 100%); }
.gb-2 { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); }
.gb-3 { background: linear-gradient(135deg, var(--cream-dark) 0%, #C9B89A 100%); }
.gb-4 { background: linear-gradient(135deg, #E8D5C4 0%, #C4A882 100%); }
.gb-5 { background: linear-gradient(135deg, var(--blue-light) 0%, #B8D4E8 100%); }
.gb-6 { background: linear-gradient(135deg, #C8D8E8 0%, var(--blue) 100%); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,69,0.78) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.4rem;
  align-self: flex-start;
}

.gallery-overlay strong {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}

/* ============================================================ CTA BAND */
.cta-band {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(92,127,163,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================ CONTACT */
.contact-section {
  padding: 7rem 0;
  background: var(--cream);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

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

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

.cd-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.contact-detail strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.15rem; }
.contact-detail span, .contact-detail a { font-size: 0.88rem; color: var(--text-muted); }
.contact-detail a:hover { color: var(--blue); }

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(92,127,163,0.12);
}
.form-group input.error,
.form-group select.error {
  border-color: #E05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.10);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 0.78rem;
  color: #E05252;
  font-weight: 500;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
}
.form-success.show { display: flex; }
.form-success i { width: 52px; height: 52px; color: #4CAF50; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--text-muted); }

/* ============================================================ FOOTER */
.footer {
  background: var(--navy);
  padding: 5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-socials i { width: 16px; height: 16px; }

.footer-links h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--white); }

.footer-contact h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================ RESPONSIVE — 1100px */
@media (max-width: 1100px) {
  .hero-inner {
    gap: 2.5rem;
  }
  .hero-card {
    width: 340px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================ RESPONSIVE — 900px */
@media (max-width: 900px) {
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid     { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .process-steps         { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-accent-card {
    right: -12px;
    top: 20px;
  }
}

/* ============================================================ RESPONSIVE — 768px */
/* ============================================================ MOBILE SLIDERS */
/* Sections that become horizontal sliders on mobile */
.slider-section {
  overflow-x: clip;
}

@media (max-width: 768px) {
  /* Services slider */
  .services-section .container {
    padding-left: 0;
    padding-right: 0;
  }
  .services-section .section-header {
    padding: 0 24px;
  }
  .services-grid.slider-track {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem 24px 1.5rem;
    grid-template-columns: unset;
  }
  .services-grid.slider-track::-webkit-scrollbar { display: none; }
  .services-grid.slider-track .service-card {
    flex: 0 0 78vw;
    min-width: 78vw;
    scroll-snap-align: start;
  }

  /* Testimonials slider */
  .testimonials-section .container {
    padding-left: 0;
    padding-right: 0;
  }
  .testimonials-section .section-header {
    padding: 0 24px;
  }
  .testimonials-grid.slider-track {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem 24px 1.5rem;
    grid-template-columns: unset;
    max-width: none;
  }
  .testimonials-grid.slider-track::-webkit-scrollbar { display: none; }
  .testimonials-grid.slider-track .testimonial-card {
    flex: 0 0 82vw;
    min-width: 82vw;
    scroll-snap-align: start;
  }

  /* Gallery slider */
  .gallery-section .container {
    padding-left: 0;
    padding-right: 0;
  }
  .gallery-section .section-header {
    padding: 0 24px;
  }
  .gallery-grid-wrapper {
    overflow-x: clip;
  }
  .gallery-grid {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem 24px 1.5rem;
    grid-template-columns: unset;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item,
  .gallery-item.gallery-tall,
  .gallery-item.gallery-wide {
    flex: 0 0 82vw;
    min-width: 82vw;
    aspect-ratio: 4/3;
    height: auto;
    grid-row: unset;
    grid-column: unset;
    scroll-snap-align: start;
    border-radius: var(--radius-sm);
  }
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(26,46,69,0.7) 0%, transparent 60%);
  }

  /* Logo bigger on mobile */
  .logo-img { height: 62px; }

  .hamburger           { display: flex; }
  .nav-cta             { display: none; }
  .nav-desktop-links   { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
    text-align: center;
  }
  .hero-sub    { margin: 0 auto 1.75rem; }
  .hero-trust  { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .stats-grid { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 1 40%; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-accent-card {
    position: static;
    max-width: 100%;
  }

  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-step  {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding-bottom: 2rem;
    position: relative;
  }
  .process-step:last-child { padding-bottom: 0; }
  .process-num {
    width: 52px; height: 52px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .process-card { padding: 1.25rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

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

/* ============================================================ RESPONSIVE — 480px */
@media (max-width: 480px) {
  .services-section,
  .process-section,
  .testimonials-section,
  .gallery-section,
  .about-section,
  .contact-section { padding: 4rem 0; }

  .stats-bar { padding: 2rem 0; }
  .stats-grid { flex-direction: column; gap: 1.25rem; align-items: flex-start; padding: 0 24px; }
  .stat-item { flex-direction: row; gap: 0.75rem; align-items: center; flex: none; width: 100%; justify-content: flex-start; }
  .stat-num  { font-size: 1.6rem; margin-bottom: 0; }

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

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

  .contact-form-wrap { padding: 1.75rem; }
}
