/* ── 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;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Utility ────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 560px;
  line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 72px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #0d9488;
  color: #ffffff;
  border: 1.5px solid #0d9488;
}
.btn-primary:hover { background: #0f766e; border-color: #0f766e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,148,136,0.25); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }
.btn-outline-light {
  background: transparent;
  color: #0d9488;
  border: 1.5px solid #0d9488;
}
.btn-outline-light:hover { background: #0d9488; color: #ffffff; }
.btn-outline-dark {
  background: transparent;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
}
.btn-outline-dark:hover { border-color: #0d9488; color: #0d9488; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 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-weight: 500;
  font-size: 1.1rem;
  color: #0f172a;
}
.nav-logo-icon { color: #0d9488; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #475569;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #0d9488;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #0d9488; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid #0d9488;
  border-radius: 6px;
  color: #0d9488 !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #0d9488; color: #ffffff !important; }
.nav-toggle { display: none; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 40%, #0d9488 70%, #2dd4bf 100%);
}
.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(45,212,191,0.3) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% 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: 820px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 28px;
}
.hero-subheadline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 44px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Services ───────────────────────────────────── */
.services { background: #f8fafc; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.35s ease;
}
.service-card:hover {
  border-color: #0d9488;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,148,136,0.1);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon { background: #0d9488; border-color: #0d9488; color: #ffffff; }
.service-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
}

/* ── About ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  border: 4px solid #ffffff;
}
.about-img-secondary img { width: 240px; height: 180px; object-fit: cover; }
.about-experience {
  position: absolute;
  top: -24px;
  left: -24px;
  background: #0d9488;
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(13,148,136,0.3);
}
.about-exp-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}
.about-exp-text {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
}
.about-content .section-label { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-values { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 400;
}
.about-value svg { color: #0d9488; flex-shrink: 0; }

/* ── Work ───────────────────────────────────────── */
.work { background: #ffffff; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.work-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work-item:hover img { transform: scale(1.05); }
.work-item--large { grid-column: span 7; }
.work-item:not(.work-item--large) { grid-column: span 5; }
.work-item:nth-child(1) { grid-row: 1; min-height: 380px; }
.work-item:nth-child(2) { grid-row: 1; min-height: 280px; }
.work-item:nth-child(3) { grid-row: 2; min-height: 280px; }
.work-item:nth-child(4) { grid-row: 2; min-height: 380px; }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-bottom: 8px;
  width: fit-content;
}
.work-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}
.work-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ── Testimonials ───────────────────────────────── */
.testimonials { background: #f8fafc; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: #0d9488; box-shadow: 0 12px 40px rgba(13,148,136,0.08); }
.testimonial-quote {
  color: #ccfbf1;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author-info { display: flex; flex-direction: column; }
.testimonial-author-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: #0f172a;
}
.testimonial-author-location {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ── CTA ────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #0d9488 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta .section-label { color: #2dd4bf; }
.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-outline-light { color: #ffffff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── Contact ────────────────────────────────────── */
.contact { background: #ffffff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 20px; }
.contact-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; gap: 16px; }
.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  flex-shrink: 0;
}
.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}
.contact-detail-value a { color: #0d9488; transition: color 0.2s; }
.contact-detail-value a:hover { color: #0f766e; }

/* ── Form ───────────────────────────────────────── */
.contact-form-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 44px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}
.form-success svg { color: #0d9488; }
.form-success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #0f172a;
}
.form-success p { font-size: 0.95rem; color: #64748b; line-height: 1.7; }

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-logo svg { color: #2dd4bf; }
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #2dd4bf; }
.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-contact a { color: #2dd4bf; transition: color 0.2s; }
.footer-contact a:hover { color: #5eead4; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Reveal Animations ──────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile Menu ────────────────────────────────── */
@media (max-width: 1023px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; color: #0f172a; }
  .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: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-cta {
    margin-top: 8px;
    justify-content: center;
  }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-images { max-width: 500px; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-item--large { grid-column: span 12; min-height: 300px; }
  .work-item:not(.work-item--large) { grid-column: span 6; min-height: 240px; }
  .work-item:nth-child(1) { grid-row: auto; }
  .work-item:nth-child(2) { grid-row: auto; }
  .work-item:nth-child(3) { grid-row: auto; }
  .work-item:nth-child(4) { grid-row: auto; }
}

@media (max-width: 767px) {
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }
  .hero-stat-divider { display: none; }
  .about-img-secondary { right: 0; bottom: -20px; }
  .about-experience { left: 0; top: -16px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .work-item--large { grid-column: span 12; }
  .work-item:not(.work-item--large) { grid-column: span 12; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .work-overlay { opacity: 1; }
  .work-item img { transition: none; }
}
