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

:root {
  --teal-900: #042f2e;
  --teal-800: #0f766e;
  --teal-700: #0d9488;
  --teal-600: #14b8a6;
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:  0 1px 2px rgba(15,23,42,0.06);
  --shadow-md:  0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg:  0 12px 40px rgba(15,23,42,0.12);
  --shadow-xl:  0 20px 60px rgba(15,23,42,0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-800);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,118,110,0.3);
}
.btn-primary:hover {
  background: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,118,110,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-ghost:hover {
  border-color: var(--teal-700);
  color: var(--teal-800);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--slate-100);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1.125rem;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text span:last-child {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--slate-500);
  letter-spacing: 0.02em;
}

/* ── Navigation ──────────────────────────────────── */
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-list a:hover {
  color: var(--teal-800);
  background: var(--teal-50);
}
.nav-cta {
  background: var(--teal-800) !important;
  color: var(--white) !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--teal-700) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translate(3px, 3px); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg) translate(3px, -3px); }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--teal-50) 50%, var(--white) 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal-700);
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--slate-900);
}
.hero-headline em {
  font-style: italic;
  color: var(--teal-800);
  position: relative;
}
.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--teal-100);
  z-index: -1;
  border-radius: 3px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image { position: relative; }
.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--teal-800);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.15;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--slate-200);
}
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 6px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--slate-200);
}

/* ── Services ────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-desc { margin: 0 auto; }

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

.service-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal-800);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--teal-100);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  color: var(--teal-800);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal-800);
  color: var(--white);
}
.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ── About ───────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--slate-50);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 200px;
  height: 200px;
  background: var(--teal-800);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.08;
}

.about-content .section-title { margin-bottom: 28px; }
.about-text {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--teal-800);
}
.value-icon svg { width: 24px; height: 24px; }
.value-item h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.value-item p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── Why Us ──────────────────────────────────────── */
.why-us {
  padding: 120px 0;
  background: var(--white);
}
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-us-content .section-title { margin-bottom: 20px; }
.why-us-text {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 48px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.why-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal-100);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.why-item h4 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.why-item p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Testimonials ────────────────────────────────── */
.testimonials {
  padding: 120px 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15,118,110,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials .section-header { position: relative; z-index: 1; }
.testimonials .section-eyebrow { color: var(--teal-400); }
.testimonials .section-title { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(15,118,110,0.3);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-600);
  opacity: 0.4;
  margin-bottom: -8px;
}
.testimonial-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}
.author-detail {
  font-size: 0.8125rem;
  color: var(--slate-400);
}

/* ── CTA / Contact ───────────────────────────────── */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 50%, var(--slate-50) 100%);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-content .section-title { margin-bottom: 20px; }
.cta-text {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 48px;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cta-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  color: var(--teal-800);
}
.cta-info-icon svg { width: 22px; height: 22px; }
.cta-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 2px;
}
.cta-info-value {
  display: block;
  font-size: 1rem;
  color: var(--slate-700);
  font-weight: 500;
}
.cta-info-value a {
  color: var(--teal-800);
  transition: var(--transition);
}
.cta-info-value a:hover { color: var(--teal-600); }

/* ── Form ────────────────────────────────────────── */
.cta-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--slate-900);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--slate-700);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}
.success-icon svg { width: 32px; height: 32px; }
.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--slate-500);
  font-size: 1rem;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.logo-light { margin-bottom: 20px; }
.logo-light .logo-mark { background: var(--teal-700); }
.logo-light .logo-text span:last-child { color: rgba(255,255,255,0.4); }
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255,255,255,0.5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a,
.footer-col li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

/* ── Mobile Nav Overlay ──────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ── Animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner,
  .about-inner,
  .why-us-inner,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-image { order: -1; }
  .hero-img-wrapper { max-height: 480px; }
  .why-us-image { order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; z-index: 999; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 96px 32px 32px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .main-nav.open { right: 0; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-list a {
    padding: 14px 16px;
    font-size: 1rem;
  }
  .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 12px; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-headline { font-size: clamp(2.25rem, 8vw, 3rem); }
  .hero-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
  .stat-divider { width: 48px; height: 1px; }

  .services,
  .about,
  .why-us,
  .testimonials,
  .cta { padding: 80px 0; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .footer-links { grid-template-columns: 1fr; }
}
