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

: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;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --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-800);
  background: var(--slate-50);
  line-height: 1.6;
  -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 { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

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

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13,148,136,0.35);
}
.btn-primary:hover {
  background: var(--teal-700);
  box-shadow: 0 6px 20px rgba(13,148,136,0.45);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-dark {
  background: var(--slate-800);
  color: #fff;
}
.btn-dark:hover {
  background: var(--slate-900);
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--teal-700);
  font-weight: 600;
}
.btn-light:hover {
  background: var(--teal-50);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
}
.btn-outline-dark:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--slate-900);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--teal-600);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: var(--serif);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--teal-700); background: var(--teal-50); }

.nav-cta {
  background: var(--teal-600) !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--teal-700) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.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: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--teal-800) 0%,
    var(--teal-700) 25%,
    var(--slate-800) 55%,
    var(--slate-900) 80%,
    #1a1a2e 100%
  );
}

.hero-bg { position: absolute; inset: 0; }

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(13,148,136,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30,41,59,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(15,23,42,0.3) 0%, transparent 70%);
}

.hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-300);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--slate-300);
}

.hero-trust-divider {
  width: 1px;
  height: 16px;
  background: var(--slate-600);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--slate-400);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Services ─────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--slate-50);
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--teal-300);
  box-shadow: 0 8px 30px rgba(13,148,136,0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
}

.service-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ── About ────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-600);
  border-radius: var(--radius);
  opacity: 0.15;
  z-index: -1;
}

.about-content .section-title { margin-bottom: 24px; }

.about-text {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-weight: 500;
}

.about-feature-icon {
  width: 22px;
  height: 22px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--slate-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-900) 50%, var(--slate-800) 100%);
}

.cta-banner-bg { position: absolute; inset: 0; }
.cta-banner-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(13,148,136,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(15,118,110,0.2) 0%, transparent 60%);
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.cta-quote {
  position: relative;
  max-width: 640px;
  padding: 0;
}

.cta-quote svg {
  margin: 0 auto 20px;
  display: block;
}

.cta-quote p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--slate-200);
  line-height: 1.7;
}

.cta-content { text-align: center; }

.cta-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--slate-400);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info .section-title { margin-bottom: 16px; }

.contact-desc {
  font-size: 1rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-detail {
  display: flex;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--teal-700); text-decoration: underline; }

/* Map */
.contact-map {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-map iframe {
  border-radius: var(--radius);
  min-height: 280px;
}

.contact-form-wrapper {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.contact-form-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: #fff;
  transition: 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(13,148,136,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 8px;
  color: var(--teal-800);
  font-size: 0.9375rem;
  text-align: center;
}
.form-success.show { display: block; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text { color: #fff; }

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  color: var(--slate-500);
  transition: var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--teal-400); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-600);
}

/* ── Scroll Reveal (progressive enhancement) ──────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ──────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-secondary { right: 16px; bottom: -24px; }
  .about-features { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) { grid-row: span 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
