/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #334155;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; line-height: 1.25; color: #0f172a; }
em { font-style: italic; }
.label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 0.75rem;
}
.label--light { color: rgba(255,255,255,0.7); }
.section-title { font-size: clamp(1.875rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.section-subtitle { max-width: 520px; margin: 0 auto; color: #64748b; }
.body { color: #475569; font-size: 1rem; }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn--full { width: 100%; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-primary {
  background: #0d9488;
  color: #fff;
  border-color: #0d9488;
}
.btn-primary:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-white {
  background: #fff;
  color: #0d9488;
  border-color: #fff;
}
.btn-white:hover { background: #f0fdfa; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #0d9488;
  border-color: #0d9488;
}
.btn-outline:hover { background: #0d9488; color: #fff; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.35s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}
.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a { color: #334155; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: #fff;
  font-weight: 500;
}
.nav-logo-icon { color: #fff; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
}
.nav.scrolled .nav-toggle span { background: #334155; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,148,136,0.82) 0%, rgba(15,23,42,0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 1.5rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.hero-title em { font-style: italic; color: #99f6e4; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ── */
.section { padding: 6rem 0; }
.section--alt { background: #f1f5f9; }

/* ── Grid ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.grid-2--reverse .section-media { order: 1; }
.grid-2--reverse .section-left { order: 2; }
.section-left { max-width: 520px; }
.section-media { }
.media-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.media-card:hover img { transform: scale(1.03); }
.media-card--large { aspect-ratio: 3/4; }
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.media-row .media-card { aspect-ratio: 4/3; }

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: #0d9488;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,148,136,0.08);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0fdfa;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0.625rem;
}
.service-body { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

/* ── Methodology ── */
.method-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.75rem; }
.method-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.method-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d9488;
  margin-top: 0.55rem;
}
.method-body { font-size: 0.875rem; color: #64748b; margin-top: 0.25rem; }

/* ── CTA ── */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #134e4a 100%);
}
.cta-section .container { position: relative; z-index: 1; text-align: center; }
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: 1.25rem;
}
.cta-body {
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}
.cta-section .btn-white { font-weight: 500; }

/* ── Contact ── */
.contact-info {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.contact-item svg { color: #0d9488; flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: #0d9488; transition: color 0.2s; }
.contact-item a:hover { color: #0f766e; text-decoration: underline; }

/* ── Form ── */
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #475569;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #334155;
  background: #f8fafc;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}
.form-success {
  text-align: center;
  padding: 3rem 2rem;
  color: #0d9488;
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #0f172a;
  margin: 1rem 0 0.5rem;
}
.form-success p { color: #64748b; font-size: 0.9375rem; }

/* ── Footer ── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-logo svg { color: #0d9488; }
.footer-tagline { font-size: 0.875rem; line-height: 1.65; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #0d9488; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-2 { gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: #334155; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2--reverse .section-media { order: 0; }
  .grid-2--reverse .section-left { order: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .media-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}
