*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --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;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --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,.04);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.1), 0 4px 12px rgba(15,23,42,.05);
  --shadow-xl: 0 24px 60px rgba(15,23,42,.12);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

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

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--teal); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}
.nav.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; text-decoration: none; color: var(--slate-800); }
.logo-text { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.logo-accent { color: var(--teal); }

.nav nav { display: flex; align-items: center; gap: 8px; }
.nav nav a {
  color: var(--slate-600); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav nav a:hover { color: var(--teal); background: var(--teal-50); }

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

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-white:hover { background: var(--teal-50); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; padding: 16px 28px; font-size: 1rem; }

/* HERO */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 50%, var(--slate-50) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(13,148,136,.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(13,148,136,.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--teal); font-size: .82rem; font-weight: 600;
  padding: 8px 16px; border-radius: 50px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
  border: 1px solid var(--teal-100);
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700; line-height: 1.15; color: var(--slate-900);
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--teal); }
.hero-sub { font-size: 1.1rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual { position: relative; min-height: 480px; }
.hero-card-main {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-card-main img { width: 100%; height: 380px; object-fit: cover; }

.stat-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: float 4s ease-in-out infinite;
}
.stat-card-1 { top: -20px; left: -30px; animation-delay: 0s; }
.stat-card-2 { bottom: 60px; right: -20px; animation-delay: 1.3s; }
.stat-card-3 { bottom: -20px; left: 20px; animation-delay: 2.6s; }
.stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--teal-50); display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}
.stat-num { font-size: 1.4rem; font-weight: 700; color: var(--slate-800); line-height: 1; }
.stat-label { font-size: .75rem; color: var(--slate-400); line-height: 1.3; }

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

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* SECTION HEADERS */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--slate-900); line-height: 1.2; margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--slate-400); line-height: 1.7; }

/* SERVICES */
.services { padding: 100px 0; background: var(--slate-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  border: 1px solid var(--slate-100);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-200); }
.service-icon-wrap { padding: 28px 28px 0; }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--slate-800); padding: 16px 28px 8px; }
.service-card p { font-size: .92rem; color: var(--slate-500); padding: 0 28px 16px; line-height: 1.7; }
.service-card img { width: 100%; height: 180px; object-fit: cover; }

/* ABOUT */
.about { padding: 100px 0; background: var(--white); }
.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-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -30px; right: -30px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 4px solid var(--white);
}
.about-img-float img { width: 260px; height: 200px; object-fit: cover; }
.about-accent {
  position: absolute; top: -20px; right: 40px;
  background: var(--white); border-radius: var(--radius-md); padding: 14px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--teal); font-size: .88rem;
}
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-lead { font-size: 1.05rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 16px; }
.about-content > p { font-size: .95rem; color: var(--slate-500); line-height: 1.8; margin-bottom: 28px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 32px; }
.about-feature { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--slate-700); font-weight: 500; }

/* GALLERY */
.gallery { padding: 100px 0; background: var(--slate-50); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.6) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: .9rem; }
.gallery-item[data-cols="2"] { grid-column: span 2; }
.gallery-item[data-rows="2"] { grid-row: span 2; }

/* TESTIMONIALS */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--slate-50); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--slate-100); transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-text { font-size: .95rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--slate-800); }
.testimonial-author span { font-size: .8rem; color: var(--slate-400); }

/* CTA BANNER */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; z-index: 1; flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* CONTACT */
.contact { padding: 100px 0; background: var(--slate-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .section-tag { text-align: left; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-desc { font-size: .95rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--teal-50); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .85rem; color: var(--slate-800); margin-bottom: 4px; }
.contact-item p { font-size: .9rem; color: var(--slate-500); line-height: 1.6; }
.contact-item a { color: var(--teal); }
.contact-item a:hover { color: var(--teal-dark); }

.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--slate-100);
}
.form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--slate-800); 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: .85rem; font-weight: 600; 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-sm); font-family: var(--font-body); font-size: .92rem;
  color: var(--slate-700); background: var(--slate-50);
  transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); background: var(--white);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--slate-300); }
.form-group textarea { resize: vertical; }
.form-note { font-size: .8rem; color: var(--slate-400); text-align: center; margin-top: 12px; }
.form-success {
  display: flex; align-items: center; gap: 12px;
  background: var(--teal-50); border: 1px solid var(--teal-200);
  border-radius: var(--radius-sm); padding: 16px 20px;
  margin-top: 16px; color: var(--teal-dark); font-size: .92rem;
}

/* 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: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 16px; color: var(--slate-400); }
.footer-links strong, .footer-services strong, .footer-contact strong {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em;
}
.footer-links a, .footer-services a { display: block; font-size: .88rem; color: var(--slate-400); padding: 5px 0; transition: color var(--transition); }
.footer-links a:hover, .footer-services a:hover { color: var(--teal-light); }
.footer-contact p { font-size: .88rem; line-height: 1.8; }
.footer-contact a { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid var(--slate-800); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--slate-500);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 360px; order: -1; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .stat-card-1 { left: 0; }
  .stat-card-2 { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-content .section-tag, .about-content .section-title { text-align: center; }
  .about-features { max-width: 480px; margin-left: auto; margin-right: auto; }
  .about-content > .btn { margin: 0 auto; display: inline-flex; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav nav { 
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 16px 24px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 0; }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-visual { min-height: 280px; }
  .hero-card-main img { height: 260px; }
  .stat-card { padding: 12px 16px; }
  .stat-icon { width: 36px; height: 36px; }
  .stat-num { font-size: 1.1rem; }
  .stat-label { font-size: .7rem; }
  .stat-card-1 { top: -10px; left: -10px; }
  .stat-card-2 { bottom: 40px; right: -10px; }
  .stat-card-3 { bottom: -10px; left: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item[data-cols="2"] { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-img-float { right: -10px; bottom: -20px; }
  .about-img-float img { width: 180px; height: 140px; }
  .about-accent { right: 20px; top: -10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item[data-cols="2"] { grid-column: span 1; }
  .about-features { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ANIMATIONS */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
