/* ===== CUSTOM PROPERTIES ===== */
:root {
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --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;
  --slate-950: #020617;

  --warm-white: #faf8f5;
  --warm-cream: #f5f0e8;
  --warm-sand:  #ede7db;

  --gold-400: #f59e0b;
  --gold-500: #d97706;

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  --shadow-xl: 0 24px 60px rgba(15,23,42,.16), 0 8px 20px rgba(15,23,42,.08);

  --transition: 0.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-body);
  color: var(--slate-800);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--teal-700); color: #fff; padding: 8px 16px;
  border-radius: var(--radius-sm); z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,23,42,.06);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--teal-800);
}
.logo-icon { color: var(--teal-600); }
.logo-text { letter-spacing: -0.01em; }

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

nav ul { display: flex; align-items: center; gap: 8px; }
nav ul li a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.935rem; color: var(--slate-700);
  transition: var(--transition);
}
nav ul li a:hover { color: var(--teal-700); background: var(--teal-50); }
.btn-nav {
  background: var(--teal-700); color: #fff !important;
  border-radius: var(--radius-lg) !important; padding: 10px 22px !important;
}
.btn-nav:hover { background: var(--teal-800) !important; color: #fff !important; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250,248,245,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,23,42,.06);
    padding: 16px 24px; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  nav.open { max-height: 420px; padding: 24px; }
  nav ul { flex-direction: column; gap: 4px; }
  nav ul li a { display: block; padding: 12px 16px; font-size: 1rem; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-lg);
  font-weight: 700; font-size: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-primary {
  background: var(--teal-700); color: #fff;
}
.btn-primary:hover { background: var(--teal-800); }
.btn-secondary {
  background: rgba(255,255,255,.18); color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.7); }
.btn-outline-light {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,.82) 0%,
    rgba(17,94,89,.72) 50%,
    rgba(15,23,42,.80) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 780px;
  padding: 120px 24px 80px;
}
.hero-greeting {
  font-size: 1.15rem; font-weight: 700; color: var(--teal-300);
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700; color: #fff; line-height: 1.15;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic; color: var(--teal-300);
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.82);
  line-height: 1.8; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-weight: 600; font-size: 0.9rem;
}
.trust-item svg { color: var(--teal-400); }
.scroll-down {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION SHARED ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--slate-900); line-height: 1.2;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.08rem; color: var(--slate-500); line-height: 1.75;
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--warm-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}
.service-icon { margin-bottom: 20px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--slate-900); margin-bottom: 12px;
}
.service-card p { color: var(--slate-500); line-height: 1.75; font-size: 0.97rem; }

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: var(--slate-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; aspect-ratio: auto;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(15,23,42,.75), transparent);
  color: #fff; font-weight: 700; font-size: 0.9rem;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--warm-white);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.about-image { position: relative; }
.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%; height: 100%; object-fit: cover;
}
.about-image-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--teal-200);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about-content .section-eyebrow { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 24px; }
.about-content > p {
  color: var(--slate-600); line-height: 1.85; margin-bottom: 16px;
  font-size: 1.02rem;
}
.about-stats {
  display: flex; gap: 40px; margin: 32px 0;
}
.stat { text-align: center; }
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--teal-700);
}
.stat-label {
  font-size: 0.85rem; color: var(--slate-500); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content .section-eyebrow,
  .about-content .section-title { text-align: center; }
  .about-content > p { text-align: center; }
  .about-stats { justify-content: center; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--slate-900) 100%);
}
.testimonials .section-eyebrow { color: var(--teal-300); }
.testimonials .section-title { color: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-text {
  color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.8;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
  color: var(--teal-300); font-weight: 700; font-size: 0.92rem;
}

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--warm-white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; text-align: left;
  font-weight: 700; font-size: 1.02rem; color: var(--slate-800);
  gap: 16px; transition: color var(--transition);
}
.faq-question:hover { color: var(--teal-700); }
.faq-toggle {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--teal-50);
  color: var(--teal-700); transition: all var(--transition);
}
.faq-item.open .faq-toggle {
  background: var(--teal-700); color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--slate-500); line-height: 1.8; font-size: 0.97rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
  text-align: center;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em;
}
.cta-text {
  color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 32px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--slate-50); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.contact-info .section-eyebrow { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-intro {
  color: var(--slate-500); line-height: 1.8; margin-bottom: 32px;
  font-size: 1.02rem;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: var(--teal-50); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-700);
}
.contact-item strong {
  display: block; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--slate-400); margin-bottom: 4px;
}
.contact-item p { color: var(--slate-700); line-height: 1.6; }
.contact-item a {
  color: var(--teal-700); font-weight: 600;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--teal-500); }

.contact-form-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 40px 36px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
}
.contact-form-card h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--slate-900); margin-bottom: 8px;
}
.contact-form-card > p {
  color: var(--slate-500); font-size: 0.95rem; margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.88rem;
  color: var(--slate-700); margin-bottom: 6px;
}
.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-md);
  font-family: var(--font-body); font-size: 0.97rem;
  color: var(--slate-800); background: var(--slate-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20,184,166,.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center; padding: 24px;
  animation: fadeIn 0.4s ease;
}
.form-success h4 {
  font-family: var(--font-display); font-size: 1.4rem;
  color: var(--teal-700); margin: 12px 0 8px;
}
.form-success p { color: var(--slate-500); font-size: 0.95rem; }
.form-success svg { margin: 0 auto; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info .section-eyebrow,
  .contact-info .section-title { text-align: center; }
  .contact-intro { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--slate-950); color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-icon { color: var(--teal-400); }
.footer-brand p { line-height: 1.8; font-size: 0.95rem; }
.footer-links h4,
.footer-contact h4 {
  color: #fff; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.95rem; transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal-400); }
.footer-contact p { line-height: 1.8; font-size: 0.95rem; }
.footer-contact a { color: var(--teal-400); transition: color var(--transition); }
.footer-contact a:hover { color: var(--teal-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.88rem; color: rgba(255,255,255,.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--teal-800); transform: translateY(-3px); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
}

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