/* ===== OSSAF SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --primary: #0B3B2F;
  --primary-dark: #06261E;
  --primary-mid: #0f4e3d;
  --primary-light: #E8F3EF;
  --gold: #C6A43F;
  --gold-light: #F5EDD4;
  --gold-dark: #a6882f;
  --white: #FFFFFF;
  --gray-bg: #F7F9F8;
  --gray-light: #EEF1EF;
  --text-dark: #0D1F1A;
  --text-mid: #2D4A42;
  --text-muted: #5A7168;
  --border: #DDE8E4;
  --shadow-sm: 0 2px 8px rgba(11,59,47,0.08);
  --shadow-md: 0 8px 24px rgba(11,59,47,0.10);
  --shadow-lg: 0 20px 40px rgba(11,59,47,0.12);
  --shadow-xl: 0 30px 60px rgba(11,59,47,0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { padding: 88px 0; border-bottom: 1px solid var(--border); }

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 52px;
  line-height: 1.75;
}

/* ===== BADGE ===== */
.badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(11,59,47,0.12);
}
.badge-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
  border-color: rgba(198,164,63,0.2);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary);
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover { 
  background: var(--primary-dark); 
  transform: translateY(-3px); 
  box-shadow: 0 8px 20px rgba(11,59,47,0.25);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
}
.btn-outline:hover { 
  background: var(--primary); 
  color: white; 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11,59,47,0.2);
}

.btn-gold {
  background: var(--gold);
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(198,164,63,0.35); }

.btn-whatsapp {
  background: #25D366;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,211,102,0.3); }

/* ===== NAVIGATION ===== */
nav {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(11,59,47,0.05);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 20px;
}

.logo a { display: inline-flex; align-items: center; text-decoration: none; }
.logo img {
  height: 72px;
  width: auto;
  transition: var(--transition);
  object-fit: contain;
}
.logo img:hover { transform: scale(1.03); filter: drop-shadow(0 4px 8px rgba(11,59,47,0.2)); }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links > a, .nav-links > .dropdown > a {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-links > a:hover, .nav-links > .dropdown > a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-links > a.active { color: var(--primary); background: var(--primary-light); }

/* Underline indicator */
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links > a:hover::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: white;
  min-width: 230px;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 10px 0;
  top: calc(100% + 10px);
  left: 0;
  border: 1px solid var(--border);
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 100;
}
.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.dropdown-content a::after { display: none; }
.dropdown-content a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 28px;
}

.nav-cta { flex-shrink: 0; }

/* Mobile hamburger */
.mobile-menu-icon {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  border-radius: 10px;
  background: var(--primary-light);
  border: none;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.mobile-menu-icon:hover { background: var(--primary); color: white; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0f7f4 0%, #fdf9f2 60%, #eaf4ef 100%);
  padding: 100px 0 90px;
  border-bottom: none;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11,59,47,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198,164,63,0.08) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.hero h1 em { color: var(--primary); font-style: italic; }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  overflow: hidden;
}
.trust-bar span {
  flex: 1;
  min-width: 180px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.trust-bar span:last-child { border-right: none; }
.trust-bar span:hover { background: rgba(255,255,255,0.08); }
.trust-bar span i { color: var(--gold); font-size: 0.9rem; }

/* ===== CARDS ===== */
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card:hover::before { transform: scaleX(1); }

.icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.icon-box i { font-size: 1.6rem; color: var(--primary); transition: var(--transition); }
.service-card:hover .icon-box { background: var(--primary); transform: scale(1.05) rotate(-3deg); }
.service-card:hover .icon-box i { color: white; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Service Grid */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 32px; }

/* Why Grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why-grid > div {
  padding: 32px;
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-grid > div:hover { background: var(--primary-light); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-grid > div i { font-size: 2rem; color: var(--primary); }
.why-grid > div h3 { margin: 16px 0 8px; font-size: 1rem; font-weight: 700; }
.why-grid > div p { font-size: 0.88rem; color: var(--text-muted); }

/* Steps */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 32px; }
.step {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.step:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  box-shadow: 0 4px 12px rgba(11,59,47,0.25);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* Counter number */
.counter-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-dark);
  color: #B8CEC8;
  padding: 72px 0 36px;
}
footer h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
footer p { font-size: 0.88rem; margin-bottom: 8px; line-height: 1.7; }
footer a { color: #B8CEC8; text-decoration: none; transition: var(--transition); display: inline-block; }
footer a:hover { color: var(--gold); transform: translateX(3px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-logo { height: 70px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; opacity: 0.9; }
footer hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 32px 0 24px; }
footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #7A9A90; }

/* Footer social icons */
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B8CEC8;
  font-size: 0.9rem;
  transition: var(--transition);
  transform: none;
}
.footer-social a:hover { background: var(--gold); color: white; transform: translateY(-3px); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,59,47,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #A0ADA9; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(11,59,47,0.3); }
  70% { box-shadow: 0 0 0 12px rgba(11,59,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(11,59,47,0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up { animation: fadeInUp 0.7s ease forwards; }

/* Float animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nav-links { gap: 2px; }
  .nav-links > a, .nav-links > .dropdown > a { font-size: 0.82rem; padding: 7px 9px; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 64px 0; }
  
  nav { padding: 0; }
  .nav-inner { height: 68px; flex-wrap: wrap; align-content: flex-start; padding: 14px 0; }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.3s ease;
    z-index: 998;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 68px);
  }
  .nav-links.active { display: flex; }
  
  .nav-links > a, .nav-links > .dropdown > a {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
  }
  .nav-links > a::after { display: none; }
  
  .dropdown { width: 100%; }
  .dropdown-content {
    position: static;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    transform: none;
    border: none;
    background: var(--gray-bg);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    margin-top: 4px;
    display: none;
    transition: none;
  }
  .dropdown.open .dropdown-content { display: block; }
  .dropdown-content a { padding: 10px 20px; font-size: 0.88rem; }
  
  .mobile-menu-icon { display: flex; }
  .nav-cta { display: none; }
  
  .logo img { height: 58px; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-bar span { min-width: 150px; font-size: 0.78rem; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  section { padding: 52px 0; }
  
  .logo img { height: 52px; }
  .nav-inner { height: 60px; }
  .nav-links { top: 60px; max-height: calc(100vh - 60px); }
  
  .section-title { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 64px 0 56px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo { height: 60px; }
  
  .trust-bar { flex-direction: column; }
  .trust-bar span { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); justify-content: flex-start; padding: 12px 20px; }
  
  .service-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  
  .btn-primary, .btn-outline, .btn-gold, .btn-whatsapp { width: 100%; justify-content: center; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.bg-light { background: var(--gray-bg); }
.bg-primary-light { background: var(--primary-light); }
.rounded { border-radius: var(--radius-md); }
