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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
  background: #fafaf9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }

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

/* ── Section Eyebrow ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 12px;
}

/* ── Section Title ── */
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 48px;
}

.section-title--left {
  text-align: left;
}

/* ── Divider ── */
.divider {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider-line {
  display: block;
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn--primary {
  background: #0d9488;
  color: #f8fafc;
}

.btn--primary:hover {
  background: #0f766e;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.btn--ghost:hover {
  border-color: #0d9488;
  color: #0d9488;
}

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-bottom-color: #e2e8f0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #0d9488;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

.nav-logo-text {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #334155;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #475569;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0d9488;
  transition: width 0.25s;
}

.nav-link:hover {
  color: #0d9488;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  background: #0d9488;
  color: #f8fafc !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: #0f766e;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-logo-text { display: none; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    letter-spacing: 0.06em;
    color: #1e293b;
  }

  .nav-link--cta {
    font-size: 13px;
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .nav-logo-text { display: inline; }
  .nav-toggle { display: none; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: #fafaf9;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-col--text {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.hero-meta-dot {
  color: #cbd5e1;
}

.hero-col--image {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 640 / 820;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 1px solid #0d9488;
  border-radius: 4px;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }

  .hero-col--text {
    max-width: 100%;
    order: 1;
  }

  .hero-col--image {
    order: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-image {
    aspect-ratio: 400 / 500;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

/* ── Services ── */
.services {
  padding: 100px 0;
}

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

.service-card {
  background: #f1f5f9;
  padding: 40px 32px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}

.service-card:hover {
  background: #e8f4f4;
  transform: translateY(-2px);
}

.service-card-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0d9488;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.service-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.services-note {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
}

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

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

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

.about-col--image {
  border-radius: 6px;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.about-col--text {
  max-width: 480px;
}

.about-body {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  letter-spacing: 0.02em;
}

.about-value svg {
  color: #0d9488;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about { padding: 72px 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-col--text { max-width: 100%; }
  .about-image { aspect-ratio: 600/400; }
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
}

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

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .gallery { padding: 72px 0; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.contact .section-eyebrow {
  color: #2dd4bf;
}

.contact .section-title {
  color: #f8fafc;
  margin-bottom: 56px;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #2dd4bf;
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
}

.contact-link,
.contact-link-value {
  color: #2dd4bf;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.contact-link:hover,
.contact-link-value:hover {
  border-bottom-color: #2dd4bf;
}

/* Form */
.contact-form-wrap {
  background: #1e293b;
  border-radius: 6px;
  padding: 36px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}

.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #475569;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px;
  color: #f1f5f9;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #475569;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0d9488;
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 4px;
  font-size: 13px;
  color: #5eead4;
}

.form-success svg {
  color: #2dd4bf;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact { padding: 72px 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap {
    padding: 24px;
  }
}

/* ── Footer ── */
.footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #e2e8f0;
}

.footer-name {
  color: #94a3b8;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2dd4bf;
}

.footer-copy {
  font-size: 12px;
  color: #475569;
  line-height: 1.7;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: always visible if JS disabled or reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
