/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a2e;
  background: #faf8f5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ─── Custom Properties ─── */
:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #059669;
  --emerald-400: #10b981;
  --cream-50:  #faf8f5;
  --cream-100: #f5f0e8;
  --cream-200: #ebe4d6;
  --cream-300: #e0d5c0;
  --navy-900:  #0f172a;
  --navy-800:  #1e293b;
  --text-dark: #1a1a2e;
  --text-mid:  #374151;
  --text-light: #6b7280;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --transition: .25s ease;
}

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

/* ─── Skip Link ─── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-700); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 200; font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 20px; color: var(--emerald-700);
}
.logo-icon { color: var(--emerald-600); }
.nav-menu {
  display: flex; align-items: center; gap: 32px;
}
.nav-menu a {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--emerald-600); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text-dark); padding: 4px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; border-radius: var(--radius-sm);
  padding: 12px 24px; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform .15s ease, box-shadow var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--emerald-600); color: var(--white); border-color: var(--emerald-600);
}
.btn-primary:hover { background: var(--emerald-700); border-color: var(--emerald-700); box-shadow: 0 4px 16px rgba(4,120,87,.35); }
.btn-outline {
  background: transparent; color: var(--emerald-600); border-color: var(--emerald-600);
}
.btn-outline:hover { background: var(--emerald-600); color: var(--white); }
.btn-outline-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: var(--white); color: var(--emerald-700); border-color: var(--white); }
.btn-white {
  background: var(--white); color: var(--emerald-700); border-color: var(--white);
}
.btn-white:hover { background: var(--cream-100); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-full { width: 100%; }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--emerald-900);
  overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(4,120,87,.25) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(16,185,129,.12) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 480px; gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.15); color: var(--emerald-400);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid rgba(16,185,129,.25);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald-400); display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800; line-height: 1.12;
  color: var(--white); margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal; color: var(--emerald-400);
}
.hero-sub {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.7);
  max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 24px 32px;
  backdrop-filter: blur(8px);
}
.stat { flex: 1; text-align: center; }
.stat-number {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700; color: var(--white);
}
.stat-label { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }
.hero-visual { position: relative; }
.hero-img {
  width: 100%; height: auto; aspect-ratio: 520/640;
  object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-card {
  position: absolute; bottom: -20px; left: -24px;
  display: flex; align-items: center; gap: 14px;
  background: var(--white); padding: 16px 20px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-card svg { color: var(--emerald-500); flex-shrink: 0; }
.hero-card strong { display: block; font-size: 14px; color: var(--text-dark); }
.hero-card span { font-size: 12px; color: var(--text-light); }

/* ─── Section Shared ─── */
section { padding: 100px 0; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-600);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; line-height: 1.7; color: var(--text-light);
  max-width: 600px;
}

/* ─── Services ─── */
.services { background: var(--cream-50); }
.services .container > .section-label,
.services .container > .section-title,
.services .container > .section-sub { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform .2s ease;
}
.service-card:hover {
  border-color: var(--emerald-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px;
  background: rgba(4,120,87,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-600); margin-bottom: 20px;
}
.service-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; line-height: 1.7; color: var(--text-light); }

/* ─── About ─── */
.about { background: var(--white); }
.about-inner {
  display: grid; grid-template-columns: 480px 1fr; gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img {
  width: 100%; height: auto; aspect-ratio: 480/560;
  object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  background: var(--emerald-100);
  border-radius: var(--radius);
  z-index: -1;
}
.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; }
.about-content > p {
  font-size: 15px; line-height: 1.75; color: var(--text-mid);
  margin-bottom: 16px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 28px 0 32px;
}
.feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-dark);
}
.feature svg { color: var(--emerald-500); flex-shrink: 0; }
.about-content .btn { margin-top: 8px; }

/* ─── Testimonials ─── */
.testimonials { background: var(--cream-50); }
.testimonials .container > .section-label,
.testimonials .container > .section-title,
.testimonials .container > .section-sub {
  text-align: center; display: block; margin-left: auto; margin-right: auto;
  margin-bottom: 56px;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius); padding: 32px 28px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex; gap: 4px; color: #f59e0b; margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 15px; line-height: 1.75; color: var(--text-mid);
  font-style: italic; margin-bottom: 20px;
}
.testimonial-card cite {
  font-size: 13px; font-weight: 600; color: var(--text-dark);
  font-style: normal;
}

/* ─── CTA ─── */
.cta {
  background: var(--emerald-800);
  padding: 80px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-content { max-width: 520px; }
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; color: var(--white); line-height: 1.2;
  margin-bottom: 16px;
}
.cta p { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Contact ─── */
.contact { background: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-info .section-label { margin-bottom: 12px; }
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(4,120,87,.08); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-600);
}
.contact-item dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: 4px; }
.contact-item dd { font-size: 15px; color: var(--text-dark); line-height: 1.6; }
.contact-item a { color: var(--emerald-600); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.map-placeholder { border-radius: var(--radius); overflow: hidden; }

/* ─── Contact Form ─── */
.contact-form-wrap {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius); padding: 40px 32px;
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form-wrap > p { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--cream-300); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14px; color: var(--text-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(--emerald-500); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 12px; text-align: center; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success svg { color: var(--emerald-500); margin: 0 auto 16px; }
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-dark); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }

/* ─── Footer ─── */
.footer { background: var(--navy-900); color: rgba(255,255,255,.6); padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-icon { color: var(--emerald-400); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col strong {
  display: block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--white); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--emerald-400); }
.footer-col address { font-size: 14px; line-height: 1.7; font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream-50); border-bottom: 1px solid var(--cream-200);
    flex-direction: column; align-items: stretch;
    padding: 24px; gap: 20px;
    transform: translateY(-120%); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-menu a { font-size: 16px; padding: 8px 0; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
