/* ─── Custom Properties ─── */
:root {
  --teal-50:  #f0FDFA;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --bg:        #f8fafc;
  --bg-alt:    #f0FDFA;
  --surface:   #ffffff;
  --text:      var(--slate-800);
  --text-muted:var(--slate-500);
  --text-light:var(--slate-600);
  --accent:    var(--teal-600);
  --accent-light:var(--teal-50);
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-700); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-600); color: #fff;
  padding: 8px 16px; z-index: 999; border-radius: 0 0 var(--radius) 0;
  font-size: .875rem;
}
.skip-link:focus { left: 0; }

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

/* ─── Typography ─── */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--accent-light);
  border: 1px solid var(--teal-200);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn-primary:hover {
  background: var(--teal-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.35);
}
.btn-ghost {
  background: rgba(255,255,255,.8);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--teal-700);
  border-color: var(--teal-200);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { 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: 8px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-800);
}
.logo-icon {
  font-size: 1.1rem;
  color: var(--teal-600);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a {
  color: var(--slate-600);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: all var(--transition);
}
.nav-list a:hover { color: var(--teal-600); background: var(--accent-light); }
.btn-nav {
  background: var(--teal-600);
  color: #fff !important;
  margin-left: 4px;
}
.btn-nav:hover { background: var(--teal-700); color: #fff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    padding: 88px 24px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { width: 100%; padding: 12px 14px; font-size: 1rem; }
  .btn-nav { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ─── Hero ─── */
.hero {
  padding: 120px 0 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent-light) 50%, var(--teal-100) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-greeting {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--teal-600);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate-600);
}
.hero-trust li svg { color: var(--teal-500); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-card--main {
  width: 100%;
  max-width: 480px;
}
.hero-img-card--main img,
.hero-img-card--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-card--accent {
  width: 65%;
  max-width: 320px;
  margin-top: -40px;
  margin-left: -20px;
  border: 4px solid var(--surface);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--slate-600);
  box-shadow: var(--shadow-sm);
  align-self: flex-start;
  margin-left: 16px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero-wave {
  position: relative;
  margin-top: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; align-items: center; }
  .hero-img-card--accent { display: none; }
  .hero { padding: 100px 0 0; }
}

/* ─── Services ─── */
.services {
  padding: 96px 0;
  background: var(--bg);
}
.services .container { text-align: center; }
.services .section-sub { margin: 0 auto 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--teal-600);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal-600);
  color: #fff;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── About ─── */
.about {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--surface);
}
.about-img-float img { width: 280px; height: 340px; object-fit: cover; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--teal-600);
}
.stat-label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.about-content .section-title { margin-top: 8px; }
.about-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9375rem;
  color: var(--slate-700);
  font-weight: 500;
}
.about-list li svg { color: var(--teal-500); flex-shrink: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-float { right: 16px; bottom: -24px; }
}

/* ─── Gallery ─── */
.gallery {
  padding: 96px 0;
  background: var(--bg);
}
.gallery .container { text-align: center; }
.gallery .section-sub { margin: 0 auto 56px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--tall img { height: 100%; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--tall img { height: 280px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 280px; }
}

/* ─── Testimonial ─── */
.testimonial {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.testimonial::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -50px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  border-radius: 50%;
}
.testimonial-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  color: rgba(255,255,255,.25);
  margin-bottom: 24px;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 32px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
}
.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  color: #fff;
}
.testimonial-location {
  display: block;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}

/* ─── Contact ─── */
.contact {
  padding: 96px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 6px;
}
.contact-item dt svg { color: var(--teal-500); }
.contact-item dd a,
.contact-item dd span {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-item dd a:hover { color: var(--teal-600); }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--slate-800);
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--text);
  background: var(--slate-50);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--accent-light);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--teal-700);
}
.form-success svg { color: var(--teal-500); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── Footer ─── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand .logo { color: #fff; font-size: 1.375rem; }
.footer-brand .logo-icon { color: var(--teal-400); }
.footer-tagline {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 280px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--slate-400);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--teal-400); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a,
.footer-contact span {
  font-size: .875rem;
  color: var(--slate-400);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: .8125rem;
  color: var(--slate-500);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }
}

/* ─── Mobile overlay ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
