/* ===== 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;
  color: #1E293B;
  background: #F8FAFC;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== CSS VARIABLES ===== */
:root {
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --teal-light: #14B8A6;
  --teal-bg: #F0FDFA;
  --slate: #334155;
  --slate-dark: #1E293B;
  --slate-light: #64748B;
  --slate-bg: #F1F5F9;
  --accent: #F59E0B;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem;
  color: var(--slate-dark);
}
.nav-dot { color: var(--teal); font-size: 1.5rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 10px 20px; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--slate-dark);
  position: absolute; left: 7px; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.active span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,148,136,0.88) 0%, rgba(30,41,59,0.82) 60%, rgba(30,41,59,0.70) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: 100px;
  color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700;
  color: var(--white); line-height: 1.08; margin-bottom: 24px;
  max-width: 780px;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.85);
  max-width: 560px; line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
}
.trust-item svg { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.25s; cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 16px rgba(13,148,136,0.35);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.4); }
.btn-outline-light {
  background: transparent; color: var(--white);
  border: 2px solid 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); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.6); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; transition: color 0.2s;
}
.hero-scroll a:hover { color: rgba(255,255,255,0.9); }

/* Geometric shapes */
.geo { position: absolute; z-index: 1; pointer-events: none; }
.geo-1 {
  width: 300px; height: 300px; background: var(--accent); opacity: 0.12;
  border-radius: 50%; top: 10%; right: -60px;
}
.geo-2 {
  width: 180px; height: 180px; background: var(--teal-light); opacity: 0.15;
  border-radius: 30px; bottom: 20%; right: 10%;
  transform: rotate(35deg);
}
.geo-3 {
  width: 100px; height: 100px; background: var(--white); opacity: 0.06;
  border-radius: 20px; top: 30%; right: 25%;
  transform: rotate(20deg);
}
.geo-4 {
  width: 60px; height: 60px; background: var(--accent); opacity: 0.2;
  border-radius: 50%; bottom: 30%; right: 30%;
}

/* ===== SECTION COMMON ===== */
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal);
  margin-bottom: 12px;
}
.section-tag-light { color: rgba(255,255,255,0.7); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--slate-dark); margin-bottom: 16px;
}
.section-title-light { color: var(--white); }
.accent { color: var(--teal); }
.accent-light { color: var(--accent); }
.section-desc {
  font-size: 1.05rem; color: var(--slate-light); max-width: 600px;
  line-height: 1.7; margin-bottom: 48px;
}
.section-desc-light { color: rgba(255,255,255,0.75); }
.section-header { margin-bottom: 64px; }
.section-header.light { text-align: center; }
.section-header .section-desc { margin-left: auto; margin-right: auto; }

/* ===== SERVICES ===== */
.services {
  padding: 120px 0; position: relative; overflow: hidden;
  background: var(--bg);
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  position: relative; z-index: 1;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--teal); transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card[data-color="slate"]::before { background: var(--slate); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card[data-color="teal"] .service-icon { background: var(--teal-bg); color: var(--teal); }
.service-card[data-color="slate"] .service-icon { background: var(--slate-bg); color: var(--slate); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--slate-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.92rem; color: var(--slate-light); line-height: 1.65;
  margin-bottom: 20px;
}
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--slate); font-weight: 500;
}
.service-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}

/* Geometric accents */
.geo-accent { position: absolute; pointer-events: none; }
.geo-accent-1 {
  width: 400px; height: 400px; background: var(--teal); opacity: 0.04;
  border-radius: 50%; top: -100px; left: -100px;
}
.geo-accent-2 {
  width: 250px; height: 250px; background: var(--accent); opacity: 0.06;
  border-radius: 40px; bottom: -50px; right: -50px;
  transform: rotate(25deg);
}

/* ===== ABOUT ===== */
.about { padding: 120px 0; background: var(--white); position: relative; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img-wrap img { width: 100%; height: 720px; object-fit: cover; border-radius: var(--radius-lg); }
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 200px; height: 200px; background: var(--teal); opacity: 0.1;
  border-radius: var(--radius-lg); z-index: -1;
}
.about-stat-card {
  position: absolute; bottom: 40px; left: -30px;
  background: var(--white); border-radius: var(--radius); padding: 24px 32px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.stat-number {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 700; color: var(--teal);
}
.stat-label { font-size: 0.85rem; color: var(--slate-light); font-weight: 500; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1rem; color: var(--slate-light); line-height: 1.75;
  margin-bottom: 20px;
}
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.value-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--teal-bg); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.value-item strong { display: block; font-size: 0.95rem; color: var(--slate-dark); margin-bottom: 2px; }
.value-item span { font-size: 0.88rem; color: var(--slate-light); line-height: 1.5; }

/* ===== AREAS ===== */
.areas {
  padding: 120px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--slate-dark) 100%);
}
.areas-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 32px; position: relative; z-index: 1;
}
.area-chip {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9); padding: 12px 24px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; transition: all 0.2s;
}
.area-chip:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.areas-note {
  text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem;
  position: relative; z-index: 1;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--slate-bg);
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape { position: absolute; border-radius: 50%; }
.cta-shape-1 {
  width: 500px; height: 500px; background: var(--teal); opacity: 0.06;
  top: -200px; right: -100px;
}
.cta-shape-2 {
  width: 300px; height: 300px; background: var(--accent); opacity: 0.08;
  bottom: -100px; left: -50px;
}
.cta-shape-3 {
  width: 150px; height: 150px; background: var(--teal-light); opacity: 0.1;
  top: 50%; left: 40%;
}
.cta-content {
  text-align: center; position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: var(--slate-dark); margin-bottom: 20px;
}
.cta-text {
  font-size: 1.05rem; color: var(--slate-light); line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 120px 0; background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-desc { font-size: 1rem; color: var(--slate-light); line-height: 1.7; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--teal-bg); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-detail span, .contact-detail a {
  font-size: 1rem; color: var(--slate-dark); font-weight: 500;
}
.contact-detail a:hover { color: var(--teal); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* Form */
.contact-form-wrap { position: relative; }
.form-accent {
  position: absolute; top: -15px; left: -15px;
  width: 120px; height: 120px; background: var(--teal); opacity: 0.08;
  border-radius: var(--radius-lg); z-index: 0;
}
.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow); position: relative; z-index: 1;
}
.contact-form h3 {
  font-size: 1.5rem; font-weight: 700; color: var(--slate-dark);
  margin-bottom: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--slate); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 2px solid #E2E8F0;
  border-radius: 10px; font-size: 0.95rem; font-family: 'Inter', sans-serif;
  color: var(--slate-dark); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94A3B8; }

/* Success message */
.form-success {
  text-align: center; padding: 60px 48px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.success-icon { margin-bottom: 20px; }
.form-success h3 {
  font-size: 1.5rem; color: var(--slate-dark); margin-bottom: 12px;
}
.form-success p { color: var(--slate-light); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--slate-dark); padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 60px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem;
  color: var(--white); margin-bottom: 16px;
}
.footer-dot { color: var(--teal); font-size: 1.5rem; line-height: 1; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }
.footer-links strong, .footer-contact strong {
  display: block; color: var(--white); font-size: 0.9rem;
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--teal-light); }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.6; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal-light); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { 
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 32px 24px; gap: 24px;
    box-shadow: var(--shadow); transform: translateY(-120%);
    transition: transform 0.3s; z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .hero { padding: 140px 24px 100px; min-height: auto; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-img-wrap img { height: 400px; }
  .about-stat-card { left: 16px; bottom: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 16px 80px; }
  .container { padding: 0 16px; }
  .services, .about, .areas, .cta-banner, .contact { padding: 80px 0; }
  .service-card { padding: 28px; }
  .contact-form { padding: 24px 20px; }
}
