﻿:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6472;
  --primary: #0ea5a4;
  --primary-dark: #0b7c7a;
  --accent: #60a5fa;
  --section-alt: #ffffff;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 0px;
  --radius-sm: 0px;
  --gradient: linear-gradient(135deg, #0ea5a4 0%, #60a5fa 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: 78px;
}
img { max-width: 100%; display: block; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}
main .section:nth-of-type(even) {
  background: var(--section-alt);
}

.section-title {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 0;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn:hover { transform: translateY(-2px); }

.site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 4px 18px rgba(15,23,42,0.06);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 10px 30px rgba(15,23,42,0.12);
}
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links a {
  color: #000000;
}
.site-header:not(.scrolled) .nav-toggle span {
  background: #000000;
}
.navbar {
  padding: 6px 0;
}
.navbar .nav-links a {
  transition: color 0.2s ease;
}
.site-header .brand,
.site-header .nav-links a {
  color: #000000;
  text-shadow: none;
}
.site-header .nav-toggle span {
  background: #000000;
}
.nav-links {
  background: transparent;
}
.nav-close {
  display: none;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  background: currentColor;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 999;
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  padding: 140px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  background: url('../images/hero_1.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 34, 47, 0.75), rgba(6, 34, 47, 0.25));
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #ffffff;
}
.hero .highlight {
  color: #facc15;
}
.hero .hero-subtitle {
  color: #ffffff;
}
 
.hero .btn-outline {
  border-color: #ffffff;
  color: #ffffff;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.12);
}
.hero .stat {
  background: rgba(255,255,255,0.9);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p { color: var(--muted); margin-bottom: 22px; }
.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.stat {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow);
}
.stat h3 { font-size: 26px; color: var(--primary); }
.stat span { color: var(--muted); font-size: 14px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 35px rgba(15,23,42,0.12); }
.card-body { padding: 18px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(14,165,164,0.12);
  color: var(--primary-dark);
}

.services-preview .card-body h4 { margin-bottom: 6px; }

.testimonials {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-controls {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.page-hero {
  padding: 60px 0;
  background: var(--gradient);
  color: #fff;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.filter-btn {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1200;
}
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
}
.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 26px;
}
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }
@media (max-width: 700px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.modal.open { opacity: 1; visibility: visible; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.6);
}
.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  width: min(760px, 92%);
  z-index: 2;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-body { padding: 20px; }
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer { padding: 0 20px 16px; display: none; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }

.team-card img { border-bottom: 3px solid rgba(14,165,164,0.2); }

.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(14,165,164,0.4);
}
.timeline-item {
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.contact-card { padding: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
 
.contact-modern .contact-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.contact-panel {
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-panel .section-sub {
  margin-bottom: 20px;
}
.contact-panel .info-card {
  padding: 16px;
  border: 1px solid rgba(15,23,42,0.08);
  margin-bottom: 14px;
}
.contact-panel .info-card h4 {
  margin-bottom: 6px;
}
.contact-cta {
  margin-top: 18px;
}
.contact-form-card {
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-card form {
  display: grid;
  gap: 12px;
}
.contact-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.map-embed {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.08);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

form .form-group { margin-bottom: 14px; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
}
textarea { min-height: 120px; resize: vertical; }

.footer {
  padding: 40px 0;
  background: #0b1f2a;
  color: #e2e8f0;
}
.footer a { color: #e2e8f0; text-decoration: none; }
.footer-top {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(226,232,240,0.12);
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #cbd5f5;
  font-size: 14px;
}
.footer-links,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #e2e8f0;
  font-size: 14px;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-contact p {
  font-size: 14px;
  color: #cbd5f5;
}
.footer-social .social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-social .social-row a {
  background: rgba(255,255,255,0.08);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}
.footer-bottom {
  padding-top: 14px;
}
.footer-credit {
  margin-top: 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}
.footer-credit a {
  color: #facc15;
  font-weight: 600;
  text-decoration: none;
}

.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1300;
}
.floating-whatsapp a {
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow);
}

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 86px;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1200;
}
#backToTop.show { opacity: 1; visibility: visible; }

#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1400;
  transition: opacity 0.3s ease;
}
#preloader.hide { opacity: 0; }
#preloader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(14,165,164,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(18px); transition: all 0.5s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

.toast {
  background: #0f172a;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #16a34a; }
.toast.error { background: #ef4444; }
#toast-container {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1600;
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 260px;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    transition: right 0.2s ease;
    z-index: 1001;
  }
  .nav-close {
    position: absolute;
    top: 20px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0,0,0,0.06);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body.nav-open .nav-links { right: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 70px; }
  .brand-logo { width: 48px; height: 48px; }
}
  .hero { padding-top: 70px; }
  .brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
}
  .hero { padding-top: 70px; }
}
