/* =========================================
   K.BARA — MAIN STYLESHEET
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a5c2a;
  --green-mid:   #2d7a40;
  --green-light: #e2f0e6;
  --green-pale:  #f0f8f2;
  --gold:        #c8a84b;
  --gold-light:  #f5edd6;
  --cream:       #f8f6f1;
  --ink:         #181a16;
  --ink-mid:     #363b30;
  --muted:       #636b5a;
  --border:      rgba(0,0,0,0.09);
  --white:       #ffffff;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        22px;
  --font-body:   'Plus Jakarta Sans', sans-serif;
  --font-disp:   'Manrope', sans-serif;
}

/* Logo image styles — preserve original quality */
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.2s;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.nav-logo-img:hover { transform: scale(1.03); }
.footer-logo-img {
  height: 90px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* Manrope handles Latvian diacritics natively in bold */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,0.12);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.btn-ghost:hover { background: #fff; border-color: var(--green); transform: translateY(-1px); }

/* ---- SECTION LABELS ---- */
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2, .section-header h1 {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto; }
.section-header em { font-style: normal; color: var(--green-mid); font-weight: 800; }

/* =========================================
   NAV
   ========================================= */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 74px;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--green); color: #fff;
  padding: 0.5rem 1.25rem; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-mid); }

.hamburger {
  display: none; background: none; border: none; padding: 6px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 74px; left: 0; right: 0; z-index: 190;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mob-link {
  padding: 0.75rem 1.5rem;
  font-size: 16px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mob-link:last-child { border-bottom: none; }
.cta-mob { color: var(--green); font-weight: 600; }

/* =========================================
   HERO with LANDSCAPE BG
   ========================================= */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 6vw, 5rem);
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* Landscape background — sits behind hero content, full-width */
.hero-landscape {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, 
    #c8e8d4 0%,
    #e8f2eb 30%,
    #f5edd6 65%,
    #f8f6f1 100%);
}
/* Sun glow */
.hero-sun {
  position: absolute;
  top: 12%; right: 18%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, 
    rgba(255,235,180,0.85) 0%,
    rgba(245,237,214,0.5) 40%,
    transparent 70%);
  border-radius: 50%;
  animation: sunFloat 8s ease-in-out infinite;
}
@keyframes sunFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateY(-15px) scale(1.05); opacity: 1; }
}
/* Distant mountains */
.hero-mountains-far {
  position: absolute;
  bottom: 28%; left: 0; right: 0;
  height: 25%;
  background: linear-gradient(180deg, transparent 0%, rgba(150,180,160,0.4) 100%);
  clip-path: polygon(
    0% 100%,
    0% 70%,
    8% 50%, 15% 65%, 22% 35%, 30% 55%,
    38% 30%, 45% 50%, 52% 25%, 60% 45%,
    68% 35%, 75% 55%, 82% 30%, 90% 50%,
    100% 40%, 100% 100%
  );
}
/* Mid-distance hills */
.hero-hills-mid {
  position: absolute;
  bottom: 18%; left: 0; right: 0;
  height: 22%;
  background: linear-gradient(180deg, #6a8d6f 0%, #4f7558 100%);
  clip-path: polygon(
    0% 100%,
    0% 60%,
    10% 40%, 25% 55%, 35% 30%, 50% 50%,
    65% 35%, 80% 55%, 92% 40%, 100% 50%,
    100% 100%
  );
  opacity: 0.85;
}
/* Foreground hills */
.hero-hills-front {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(180deg, #3e6645 0%, #2d5236 100%);
  clip-path: polygon(
    0% 100%,
    0% 45%,
    15% 25%, 30% 40%, 45% 20%, 60% 35%,
    75% 18%, 90% 38%, 100% 25%,
    100% 100%
  );
}
/* Grass texture / meadow at bottom */
.hero-meadow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12%;
  background: 
    repeating-linear-gradient(
      90deg,
      #2d5236 0px,
      #356b40 2px,
      #2d5236 4px,
      #3e7548 6px
    ),
    linear-gradient(180deg, #2d5236 0%, #1a3a22 100%);
  background-blend-mode: multiply;
  opacity: 0.95;
}
/* Floating clouds */
.hero-cloud {
  position: absolute;
  background: rgba(255,255,255,0.7);
  border-radius: 50px;
  filter: blur(1px);
}
.hero-cloud-1 {
  top: 18%; left: 8%;
  width: 140px; height: 36px;
  animation: cloudDrift 25s linear infinite;
}
.hero-cloud-2 {
  top: 28%; left: 55%;
  width: 110px; height: 28px;
  animation: cloudDrift 30s linear infinite;
  animation-delay: -10s;
}
.hero-cloud-3 {
  top: 12%; left: 35%;
  width: 90px; height: 24px;
  animation: cloudDrift 35s linear infinite;
  animation-delay: -20s;
}
@keyframes cloudDrift {
  from { transform: translateX(-150px); }
  to { transform: translateX(calc(100vw + 150px)); }
}
/* Subtle vignette so content stays readable */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(248,246,241,0.4) 80%);
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.85); color: #7a5c1a;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200,168,75,0.4);
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(248,246,241,0.6);
}
.hero h1 em { font-style: normal; color: var(--green); font-weight: 800; }
.hero > .hero-content > p { 
  color: var(--ink-mid); 
  font-size: 18px; 
  max-width: 440px; 
  margin-bottom: 2rem;
  text-shadow: 0 1px 12px rgba(248,246,241,0.7);
  font-weight: 500;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-contacts { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-contact-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-mid); font-weight: 600;
  transition: color 0.2s;
  background: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-contact-item:hover { color: var(--green); }
.hero-contact-item svg { flex-shrink: 0; stroke: var(--green); }

.hero-visual { position: relative; }
.hero-img-wrap { border-radius: var(--r-lg); overflow: hidden; }
.hero-logo-showcase {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
}
.hero-logo-big {
  width: 95%; height: 95%; object-fit: contain;
  position: relative; z-index: 1;
  animation: floatLogo 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.25));
}
.hero-logo-glow {
  position: absolute; inset: 8%;
  background: radial-gradient(circle, rgba(255,235,180,0.4) 0%, transparent 65%);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
  background: var(--white);
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  position: relative; background: var(--cream);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-disp); font-size: 64px; font-weight: 700;
  color: var(--green-light); position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; user-select: none;
}
.step-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--green);
}
.step-card h3 { font-family: var(--font-disp); font-size: 20px; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =========================================
   SERVICES
   ========================================= */
.services { padding: clamp(4rem, 8vw, 6rem) 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(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-img-wrap { overflow: hidden; }
.service-img {
  width: 100%; height: 200px; object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-img-placeholder {
  height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
.service-img-placeholder.green  { background: #e8f2eb; color: #2d5a3d; }
.service-img-placeholder.brown  { background: #f2ebe0; color: #5a3d2d; }
.service-img-placeholder.orange { background: #fdf0e0; color: #7c5a1e; }
.service-img-placeholder.blue   { background: #e0ecf7; color: #1e4a7c; }
.service-img-placeholder.red    { background: #f7e0e0; color: #7c1e1e; }
.service-img-placeholder.purple { background: #ede0f7; color: #4a1e7c; }
.service-img-placeholder svg { opacity: 0.6; }
.service-img-wrap img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-img-wrap img { transform: scale(1.04); }
.service-body { padding: 1.25rem 1.5rem 1.5rem; }
.service-body h3 { font-family: var(--font-disp); font-size: 19px; font-weight: 700; margin-bottom: 0.5rem; }
.service-body p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 1rem; }
.service-link { font-size: 13px; font-weight: 600; color: var(--green); transition: gap 0.2s; }
.service-link:hover { text-decoration: underline; }

/* =========================================
   BEFORE/AFTER
   ========================================= */
.showcase { background: var(--ink); padding: clamp(4rem, 8vw, 6rem) 0; }
.showcase .section-header h2, .showcase .section-header p { color: #fff; }
.showcase .section-header p { color: rgba(255,255,255,0.6); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ba-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden; }
.ba-images { display: flex; align-items: stretch; position: relative; }
.ba-half { flex: 1; position: relative; }
.ba-img-placeholder {
  height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: #2a2820;
}
.ba-img-placeholder.after-style { background: #1e2e22; }
.ba-img-placeholder p { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.3); }
.ba-img-placeholder span { font-size: 11px; color: rgba(255,255,255,0.2); }
.ba-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ba-half img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ba-label {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.ba-label.before { background: rgba(200,50,50,0.85); color: #fff; }
.ba-label.after  { background: rgba(50,150,80,0.85);  color: #fff; }
.ba-divider {
  width: 32px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4);
  font-size: 16px; flex-shrink: 0;
}
.ba-desc { padding: 1.25rem; }
.ba-desc h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 0.4rem; }
.ba-desc p { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.6; }

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--white); padding: clamp(4rem, 8vw, 6rem) 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; }
.quality-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 440px;
  margin: 0 auto;
}
.qi-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.12));
  animation: qiFloat 6s ease-in-out infinite;
}
@keyframes qiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.qi-sparkles circle {
  animation: qiTwinkle 2s ease-in-out infinite;
}
.qi-sparkles circle:nth-child(2) { animation-delay: 0.3s; }
.qi-sparkles circle:nth-child(3) { animation-delay: 0.6s; }
.qi-sparkles circle:nth-child(4) { animation-delay: 0.9s; }
.qi-sparkles circle:nth-child(5) { animation-delay: 1.2s; }
@keyframes qiTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.qi-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 14px 8px 10px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.qi-badge svg { color: var(--green); }
.qi-badge-1 {
  top: 8%; left: -4%;
  animation: qiBadgeFloat1 5s ease-in-out infinite;
}
.qi-badge-2 {
  top: 45%; right: -8%;
  animation: qiBadgeFloat2 6s ease-in-out infinite;
  animation-delay: 0.5s;
}
.qi-badge-3 {
  bottom: 12%; left: -2%;
  animation: qiBadgeFloat1 5.5s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes qiBadgeFloat1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes qiBadgeFloat2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
.about-text .section-tag { display: inline-block; margin-bottom: 0.75rem; }
.about-text h2 { font-family: var(--font-disp); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 1rem; }
.about-text p { color: var(--muted); font-size: 15px; margin-bottom: 1rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.av-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.av-item svg { flex-shrink: 0; color: var(--green); }

/* =========================================
   CONTACTS STRIP
   ========================================= */
.contacts-strip { background: var(--green-pale); padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--border); }
.cs-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cs-text h2 { font-family: var(--font-disp); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.cs-text p { color: var(--muted); margin-top: 0.25rem; }
.cs-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 1.25rem; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.cs-btn.phone { background: var(--green); color: #fff; }
.cs-btn.phone:hover { background: var(--green-mid); }
.cs-btn.email { background: var(--white); color: var(--ink); border: 1px solid var(--border); }
.cs-btn.email:hover { background: var(--green-light); }
.cs-btn.form { background: var(--white); color: var(--green); border: 1.5px solid var(--green); }
.cs-btn.form:hover { background: var(--green-light); }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--ink); color: #fff; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .logo-main { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 0.75rem; }
.footer-links h4, .footer-contact h4 { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links a, .footer-contact a { display: block; color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-cta { color: var(--green-mid) !important; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; }
.footer-bottom p { text-align: center; font-size: 13px; color: rgba(255,255,255,0.35); }

/* =========================================
   FORM MODAL
   ========================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: var(--r-lg);
  padding: 2rem 2rem 2rem;
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-small { max-width: 400px; }
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--cream); border: none; width: 32px; height: 32px;
  border-radius: 50%; font-size: 14px; cursor: pointer; color: var(--muted);
  transition: background 0.2s;
}
.modal-close:hover { background: #eee; }
.modal-box h3 { font-family: var(--font-disp); font-size: 24px; font-weight: 700; margin-bottom: 0.25rem; }
.modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-mid); }
.form-group input, .form-group textarea, .form-group select {
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--cream); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); background: var(--white); }
.form-group textarea { resize: vertical; }

.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--r-sm);
  padding: 1.5rem; cursor: pointer; position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.file-upload-area:hover { border-color: var(--green); background: var(--green-pale); }
.file-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
  border: none; background: none; padding: 0;
}
.file-upload-ui { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); pointer-events: none; }
.file-upload-ui span { font-size: 14px; font-weight: 500; }
.file-upload-ui small { font-size: 12px; }
#file-list { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.file-item { font-size: 12px; color: var(--green); background: var(--green-light); padding: 3px 8px; border-radius: 4px; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; font-size: 16px; padding: 0.9rem; }
.form-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 0.75rem; }

.form-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem 0; gap: 1rem;
}
.form-success h4 { font-family: var(--font-disp); font-size: 22px; }
.form-success p { color: var(--muted); }

/* =========================================
   CONTACTS PAGE
   ========================================= */
.contacts-hero { 
  padding: clamp(5rem, 10vw, 8rem) 0 3rem; 
  text-align: center;
  background: linear-gradient(180deg, #e2f0e6 0%, #f0f8f2 60%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.contacts-hero::before {
  content: '';
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
}
.contact-choice { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.cc-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
.cc-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem 2rem;
}
.cc-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.phone-card .cc-icon { background: var(--green-light); color: var(--green); }
.form-card .cc-icon.form-icon { background: #e8ecf5; color: #2d3d7c; }
.cc-card h2 { font-family: var(--font-disp); font-size: 26px; font-weight: 700; margin-bottom: 0.25rem; }
.cc-tagline { font-size: 13px; color: var(--green-mid); font-weight: 600; margin-bottom: 0.75rem; }
.cc-card > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 1.5rem; }
.cc-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 0.85rem; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.phone-btn { background: var(--green); color: #fff; }
.phone-btn:hover { background: var(--green-mid); }
.alt-btn { background: var(--cream); color: var(--ink); border: 1.5px solid var(--border); margin-top: 0.75rem; }
.alt-btn:hover { background: var(--green-light); border-color: var(--green); }
.form-btn { background: #2d3d7c; color: #fff; }
.form-btn:hover { background: #1e2e6b; }
.cc-note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 0.75rem; }
.cc-divider { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--muted); margin: 1.25rem 0; }
.cc-alt { font-size: 14px; color: var(--muted); }
.cc-email-link { display: inline-block; margin-top: 0.5rem; color: var(--green); font-weight: 600; font-size: 14px; }
.cc-or { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding-top: 6rem; }
.cc-or-line { width: 1px; height: 80px; background: var(--border); }
.cc-or span { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }

/* =========================================
   SERVICE DETAIL PAGES
   ========================================= */
.service-hero {
  background: var(--green);
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(4rem, 6vw, 5rem);
  color: #fff;
}
.service-hero h1 { font-family: var(--font-disp); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1rem; }
.service-hero p { font-size: 18px; opacity: 0.8; max-width: 520px; }
.service-detail-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.service-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.service-detail-text p { color: var(--muted); font-size: 16px; margin-bottom: 1.25rem; line-height: 1.7; }
.service-detail-text h3 { font-family: var(--font-disp); font-size: 22px; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.service-includes { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; position: sticky; top: 88px; }
.service-includes h4 { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.si-item { display: flex; align-items: flex-start; gap: 10px; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.si-item:last-child { border-bottom: none; }
.si-check { width: 20px; height: 20px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.si-check svg { color: var(--green); }
.si-item span { font-size: 14px; color: var(--ink-mid); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin: 0 auto 2rem; }
  .qi-badge { font-size: 11px; padding: 6px 10px 6px 8px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cc-grid { grid-template-columns: 1fr; }
  .cc-or { flex-direction: row; padding-top: 0; padding: 0; }
  .cc-or-line { width: 80px; height: 1px; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-includes { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .cs-inner { flex-direction: column; text-align: center; }
  .cs-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}
