/* =============================================
   APOLLO PAINTING – STYLES.CSS
   ============================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
  --blue:       #1a56db;
  --blue-dark:  #1340b0;
  --blue-light: #e8f0fd;
  --navy:       #0d1b3e;
  --dark:       #111827;
  --gray-700:   #374151;
  --gray-500:   #6b7280;
  --gray-300:   #d1d5db;
  --gray-100:   #f3f4f6;
  --gray-50:    #f9fafb;
  --white:      #ffffff;
  --gold:       #f59e0b;

  --font-body:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);

  --transition: 0.22s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 78px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-size: 16px; }

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-sub { margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-nav {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn-nav:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* ---------- IMAGE PLACEHOLDER ---------- */
.img-placeholder {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8edf5 25%, #cfd6e6 50%, #e8edf5 75%);
  background-size: 200% 200%;
  animation: shimmer 2.2s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-300);
}

.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .logo-text    { color: var(--dark); }
.navbar.scrolled .hamburger span { background: var(--dark); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.4rem; display: flex; align-items: center; }
.logo-icon > svg { display: none; }
.logo-brush {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  transform: rotate(-2deg);
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.logo-text strong { font-weight: 800; }

.logo-light .logo-text { color: var(--white); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    padding: 20px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
  .nav-links.open a {
    display: block;
    color: var(--dark);
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}

.hero-img {
  background: var(--gray-300);
}
.hero-img-1 { background-color: #c4c9d4; }
.hero-img-2 { background-color: #b8bec8; }
.hero-img-3 { background-color: #adb3bf; }
.hero-img-4 { background-color: #a2a9b6; }

/* Dark overlay for hero readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,0.88) 0%, rgba(13,27,62,0.68) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-highlight {
  color: #7eb3ff;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}
.trust-item:first-child { padding-left: 0; }
.trust-item strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--white); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
}

.about-img-accent {
  width: 220px;
  height: 200px;
  border-radius: var(--radius-md);
  position: absolute;
  bottom: -32px;
  right: -32px;
  border: 6px solid var(--white);
}

.about-badge-card {
  position: absolute;
  top: 28px;
  left: -28px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}
.about-badge-card strong { font-size: 1.4rem; font-weight: 800; }
.about-badge-card span  { font-size: 0.78rem; opacity: 0.82; margin-top: 2px; }

.about-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.about-body {
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 28px;
}

.specialties-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.specialties-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.specialties-list li {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
}
.specialties-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.about-owner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.owner-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.owner-info {
  display: flex;
  flex-direction: column;
}
.owner-info strong {
  font-size: 0.95rem;
  color: var(--dark);
}
.owner-info span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}
.service-link:hover { color: var(--blue-dark); }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-us {
  background: var(--navy);
  color: var(--white);
}

.why-us .section-label { color: #7eb3ff; }
.why-us .section-title { color: var(--white); }
.why-us .section-sub   { color: rgba(255,255,255,0.62); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}

.why-card {
  padding: 36px 30px;
  background: rgba(255,255,255,0.03);
  transition: background var(--transition);
  position: relative;
}

.why-card:hover { background: rgba(255,255,255,0.07); }

.why-card-featured {
  background: var(--blue);
}
.why-card-featured:hover {
  background: var(--blue-dark);
}

.why-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.why-card-featured .why-number { color: rgba(255,255,255,0.55); }

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}
.why-card-featured p { color: rgba(255,255,255,0.82); }

.why-cta {
  text-align: center;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
  align-items: start;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.gallery-item-featured {
  grid-column: 1 / -1;
}

.before-after {
  display: flex;
  height: 220px;
  position: relative;
}

.gallery-item-featured .before-after {
  height: min(72vw, 760px);
  min-height: 620px;
}

.ba-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  overflow: hidden;
  background: var(--gray-100);
}

.ba-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gallery-item-featured .ba-panel img {
  object-fit: cover;
  object-position: center 18%;
}

.ba-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.92);
  color: var(--dark);
  position: relative;
  z-index: 2;
}

.ba-before { background-color: #b0b8c8; }
.ba-after  { background-color: #8fa8d6; }

.ba-divider {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  z-index: 2;
  flex-shrink: 0;
}

.ba-arrow {
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.gallery-photo {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}

.gallery-photo-card {
  width: min(100%, 430px);
  justify-self: center;
}

.gallery-photo img {
  width: 100%;
  height: auto;
}

.gallery img {
  cursor: default;
}

.progress-gallery-card {
  background: var(--white);
}

.progress-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-100);
}

.progress-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gray-100);
}

.progress-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.progress-stage figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 20, 36, 0.78);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.gallery-caption {
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.gallery-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.88rem;
  font-style: italic;
}

/* Photo viewer */
body.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 12, 24, 0.92);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal img {
  max-width: min(100%, 1040px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
  background: var(--gray-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-featured {
  grid-column: span 1;
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
}

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--gray-700);
  flex: 1;
  font-style: italic;
}
.review-featured .review-text { color: rgba(255,255,255,0.82); }

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}
.review-featured .review-author { border-top-color: rgba(255,255,255,0.12); }

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.review-featured .reviewer-avatar {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.review-author > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.review-author strong {
  font-size: 0.88rem;
  color: var(--dark);
}
.review-featured .review-author strong { color: var(--white); }
.review-author span {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.review-featured .review-author span { color: rgba(255,255,255,0.55); }

.review-source {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 8px;
  border-radius: 100px;
}

.reviews-cta {
  text-align: center;
}
.reviews-cta .btn-outline {
  color: var(--dark);
  border-color: var(--gray-300);
}
.reviews-cta .btn-outline:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--dark);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-sub {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail > div:last-child {
  display: flex;
  flex-direction: column;
}
.contact-detail strong {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}
.contact-detail a:hover { color: var(--blue); }

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
}
.contact-hours strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}
.contact-hours span {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.required { color: var(--blue); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group input.error,
.form-group select.error {
  border-color: #dc2626;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }

.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.78rem;
  color: #dc2626;
  min-height: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: -8px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #065f46;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success.visible { display: flex; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 18px;
  max-width: 280px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-cta {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .container { padding: 0 22px; }
  .section { padding: 84px 0; }

  .nav-inner {
    height: 66px;
    gap: 16px;
  }

  .nav-links.open {
    top: 66px;
    max-height: calc(100dvh - 66px);
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 126px;
    padding-bottom: 64px;
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 7vw, 3.25rem);
  }

  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 640px;
  }

  .trust-divider { display: none; }

  .trust-item {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
  }

  .about-grid      { gap: 48px; }
  .contact-grid    { gap: 48px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .reviews-grid    { grid-template-columns: 1fr 1fr; }
  .gallery-item-featured .before-after {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title {
    font-size: 2rem;
    line-height: 1.15;
  }
  .section-sub {
    font-size: 0.98rem;
  }

  .nav-inner {
    height: 62px;
  }

  .nav-links.open {
    top: 62px;
    max-height: calc(100dvh - 62px);
    padding: 12px 20px 18px;
  }

  .logo { gap: 6px; }
  .logo-brush {
    width: 40px;
    height: 40px;
  }
  .logo-text {
    font-size: 1rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 102px;
    padding-bottom: 44px;
  }

  .hero-badge {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.35;
    white-space: normal;
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.62;
    margin-bottom: 28px;
  }

  .hero-cta {
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .btn-lg {
    padding: 13px 18px;
    font-size: 0.95rem;
  }

  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-item {
    padding: 10px 12px;
  }

  .trust-item strong {
    font-size: 0.92rem;
  }

  .trust-item span {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .about-images { min-height: 300px; }
  .about-img-main { height: 280px; }
  .about-img-accent { width: 160px; height: 150px; right: 0; bottom: -24px; }
  .about-badge-card { left: 0; top: 16px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-item-featured .before-after {
    flex-direction: row;
    height: 330px;
    min-height: 0;
  }
  .gallery-item-featured .ba-panel {
    flex: 1;
    aspect-ratio: auto;
  }
  .gallery-item-featured .ba-divider {
    width: 32px;
    height: auto;
  }
  .gallery-photo-card {
    width: 100%;
  }
  .gallery-photo {
    aspect-ratio: 4 / 3;
  }
  .gallery-photo img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .progress-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .progress-stage {
    aspect-ratio: 3 / 4;
  }
  .progress-stage figcaption {
    left: 8px;
    bottom: 8px;
    padding: 5px 8px;
    font-size: 0.68rem;
  }

  .reviews-grid { grid-template-columns: 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr 1fr; }

  .footer { padding-top: 56px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 44px;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .section { padding: 58px 0; }
  .section-header { margin-bottom: 30px; }
  .section-title { font-size: 1.78rem; }

  .nav-inner {
    height: 58px;
    gap: 10px;
  }
  .nav-links.open {
    top: 58px;
    max-height: calc(100dvh - 58px);
    padding-inline: 16px;
  }
  .logo-brush {
    width: 36px;
    height: 36px;
  }
  .logo-text {
    font-size: 0.94rem;
  }

  .hero-content {
    padding-top: 88px;
    padding-bottom: 36px;
  }
  .hero h1 { font-size: 1.94rem; }
  .hero-badge {
    padding: 6px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
  .hero-sub {
    font-size: 0.93rem;
  }
  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item {
    padding: 9px 10px;
  }

  .specialties-list {
    grid-template-columns: 1fr;
  }

  .about-images {
    min-height: 250px;
  }
  .about-img-main {
    height: 240px;
    border-radius: var(--radius-md);
  }
  .about-img-accent {
    display: none;
  }
  .about-badge-card {
    left: 12px;
    top: 12px;
  }

  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card {
    padding: 26px 22px;
  }
  .before-after { height: 190px; }
  .gallery-item-featured .before-after { height: 260px; }
  .gallery-photo { aspect-ratio: 1 / 1; }
  .progress-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
    background: var(--white);
  }
  .progress-stage {
    aspect-ratio: 4 / 3;
  }
  .progress-stage figcaption {
    font-size: 0.72rem;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-badge {
    align-items: flex-start;
    border-radius: var(--radius-sm);
    line-height: 1.35;
  }
  .contact-form { padding: 22px; }
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}
