:root {
  color-scheme: light;
  --bg: #f9faf8;
  --surface: #ffffff;
  --surface-alt: #f3f5f2;
  --primary: #0d5f47;
  --primary-dark: #073d2f;
  --primary-light: #e0f5f0;
  --accent: #d4af37;
  --accent-2: #c9a961;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #d4d4d4;
  --shadow: 0 24px 60px -36px rgba(13, 95, 71, 0.8);
  --shadow-soft: 0 16px 40px -32px rgba(13, 95, 71, 0.6);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 25%),
    radial-gradient(circle at bottom right, rgba(13, 95, 71, 0.06), transparent 20%),
    linear-gradient(180deg, #f9faf8 0%, #f7f8f5 50%, #f3f5f2 100%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
  box-shadow: 0 14px 40px -28px rgba(13, 95, 71, 0.7);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  text-decoration: none;
}

.brand-logo {
  max-height: 50px;
  width: auto;
  display: block;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d5f47, #1a8c63);
  color: #ffffff;
  box-shadow: 0 10px 22px -18px #0d5f47;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -8px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 28px;
  margin: 6px auto;
  background: #0d5f47;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  padding: 2rem 0;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1rem;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  letter-spacing: -0.04em;
}

.hero-text {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 40rem;
  margin: 1.35rem 0 2.2rem;
  color: #4a4a4a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 38px -18px #103b5c;
}

.btn-primary {
  background: linear-gradient(135deg, #0d5f47, #1a8c63);
  color: #ffffff;
  box-shadow: 0 20px 42px -24px #0d5f47;
  position: relative;
  overflow: hidden;
}

.btn-secondary {
  border-color: #d0d0d0;
  color: var(--primary-dark);
  background: #ffffff;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 2.2rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 245, 245, 0.5));
  border: 1px solid rgba(200, 200, 200, 0.7);
  border-radius: 14px;
  font-size: 0.88rem;
  color: #333333;
  transition: all 0.3s ease;
}

.hero-card {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f3f5f2);
  border: 1px solid #e0e0e0;
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
  transform-style: preserve-3d;
  position: relative;
}

.hero-card-inner {
  background: linear-gradient(135deg, #0d5f47, #1a8c63, #2d9d7f);
  border-radius: 22px;
  padding: 1.8rem;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.metric {
  padding: 1rem 0;
}

.metric + .metric {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.metric strong {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
}

.metric span {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.98rem;
  opacity: 0.76;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(234, 242, 251, 0.45), transparent);
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.about-card,
.service-card,
.content-card,
.info-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-card.large {
  background: linear-gradient(135deg, #0d5f47, #1a8c63, #2d9d7f);
  color: #ffffff;
}

.about-card h3,
.service-card h3,
.info-card h3,
.content-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.about-card p,
.service-card p,
.info-card p,
.content-card p {
  line-height: 1.7;
}

.services-grid,
.three-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e0f5f0, #d9ede8);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.inline-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.inline-link:hover::after {
  transform: translateX(4px);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 3rem;
  padding: 3.5rem;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.animated-gradient-bg {
  background: linear-gradient(-45deg, #0d5f47, #1a8c63, #2d9d7f, #0d5f47);
  background-size: 400% 400%;
  animation: gradientMovement 12s ease infinite;
}

.contact-info-block {
  z-index: 2;
}

.contact-subtext {
  line-height: 1.6;
  margin-top: 1rem;
}

.phone-contacts-container {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.8rem;
}

.phone-contacts-container h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.phone-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-badge:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.3);
}

.phone-icon {
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.phone-details {
  display: flex;
  flex-direction: column;
}

.phone-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.phone-number {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.contact-form-container {
  background: #ffffff;
  padding: 2.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px -20px rgba(12, 40, 61, 0.35);
  z-index: 2;
}

.main-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border-radius: 14px;
  border: 1px solid #d0d0d0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafafa;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
  transform: translateY(-1px);
}

.animate-fade-in {
  animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hover-scale:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 26px 55px -20px rgba(13, 95, 71, 0.4);
}

.hover-bounce:hover {
  transform: translateY(-5px) scale(1.04);
}

.btn-glow {
  position: relative;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: pulseGlow 2s infinite;
}
.btn-glow:hover::after {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMovement {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.w-full { width: 100%; }
.page-hero { padding: 4.2rem 0 2.2rem; }
.page-hero-small { padding-top: 3.3rem; }
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 14ch; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.content-grid.single-column { grid-template-columns: 1fr; }
.highlight-card { background: linear-gradient(180deg, #ffffff, #f5f5f5); }
.feature-list { padding-left: 1.2rem; margin: 0; }
.feature-list li { padding: 0.4rem 0; line-height: 1.6; }
.site-footer { padding: 1.6rem 0 2.2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #e0e0e0; padding-top: 1.4rem; font-size: 0.95rem; color: #666666; }

@media (max-width: 990px) {
  .hero-grid, 
  .about-grid, 
  .content-grid, 
  .services-grid, 
  .three-cards, 
  .why-grid, 
  .process-grid, 
  .contact-panel {
    grid-template-columns: 1fr !important;
  }
  .phone-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-panel {
    gap: 2.5rem;
    padding: 2.2rem;
  }
}

@media (max-width: 760px) {
  :root {
    --text: #111111;
    --muted: #4b5563;
  }
  
  body {
    background: #f9faf8;
  }

  .hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    color: var(--primary-dark);
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .hero-copy {
    order: 1 !important;
  }

  .hero-card {
    order: 2 !important;
    animation: none !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    border-radius: 16px !important;
    padding: 8px !important;
  }

  .hero-card-inner.banner-carousel {
    display: block !important;
    position: relative !important;
    padding: 1.5rem 1rem !important;
    min-height: 110px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  .carousel-slide {
    display: none;
    width: 100%;
    text-align: center;
  }

  .carousel-slide.active {
    display: block;
    animation: fadeInSlide 0.4s ease-in-out;
  }

  .metric {
    padding: 0 !important;
    border: none !important;
  }

  .metric strong {
    font-size: 2.2rem !important;
    display: inline-block;
    margin-right: 0.5rem;
  }

  .metric span {
    display: inline-block !important;
    margin-top: 0 !important;
    font-size: 1rem !important;
  }

  .carousel-dots {
    display: flex !important;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
    position: absolute;
    bottom: 8px;
    width: calc(100% - 2rem);
  }

  .carousel-dots .dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transition: background 0.3s;
  }

  .carousel-dots .dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 4px;
  }

  .container { width: min(100% - 2rem, var(--max-width)); }
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    width: min(260px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #d0d0d0;
    border-radius: 18px;
    box-shadow: 0 18px 42px -28px #0d5f47;
    transform: scale(0.98);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: scale(1); }
  .hero { padding-top: 2rem; }
  .hero-highlights { grid-template-columns: 1fr; }
  .partner-list { justify-content: center; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding-top: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.partners-section { padding: 0 0 1rem; }
.partner-panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(245, 245, 245, 0.5)); border: 1px solid #e0e0e0; border-radius: 24px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-soft); }
.partner-list { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.partner-pill { padding: 0.8rem 1.2rem; border-radius: 999px; background: #ffffff; border: 1px solid #d0d0d0; color: var(--primary-dark); font-weight: 600; transition: all 0.3s ease; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.reason-card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 245, 245, 0.6)); border: 1px solid #e0e0e0; border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-soft); }
.reason-index { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #0d5f47, #1a8c63); color: #fff; font-weight: 700; margin-bottom: 1.4rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.process-card { background: linear-gradient(180deg, #ffffff, #f5f5f5); border: 1px solid #e0e0e0; border-radius: 24px; padding: 2rem; position: relative; }
.process-card::after { content: ''; position: absolute; inset: auto 1.5rem 1.5rem 1.5rem; height: 4px; background: linear-gradient(135deg, #0d5f47, #1a8c63); border-radius: 999px; }
.process-step { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 1.2rem; border-radius: 14px; background: #eff5fb; color: var(--primary-dark); font-weight: 700; }