:root {
  --color-bg: #FFFFFF;
  --color-text: #1A1A2E;
  --color-primary: #0A1F3F;
  --color-secondary: #6B7280;
  --color-accent: #D4A843;
  --color-light-bg: #F8F9FC;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
}

html, body { overflow-x: hidden; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); margin: 0; line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--color-primary); }

/* === Header & Navigation === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
}
.site-header--scrolled { background: rgba(10,31,63,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.site-header--transparent { background: transparent; }

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; }
.logo-text { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.5px; }
.logo-text span { color: var(--color-accent); }

.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--color-accent); transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--color-accent); color: #0A1F3F !important; padding: 0.5rem 1.25rem;
  border-radius: 6px; font-weight: 600 !important; font-size: 0.85rem !important;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #c49a3a; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; z-index: 1001; }
.hamburger span { width: 28px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* === Hero === */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,31,63,0.85) 0%, rgba(10,31,63,0.6) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 1rem;
}
.hero p {
  color: rgba(255,255,255,0.85); font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 auto 2rem; max-width: 600px; line-height: 1.7;
}
.hero-badge {
  display: inline-block; background: rgba(212,168,67,0.2); color: var(--color-accent);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 1px; text-transform: uppercase;
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem;
  border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: all .2s; border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--color-accent); color: #0A1F3F; }
.btn-primary:hover { background: #c49a3a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,67,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-accent-dark { background: var(--color-accent); color: #0A1F3F; }
.btn-accent-dark:hover { background: #c49a3a; transform: translateY(-2px); }

/* === Sections === */
.section { padding: 5rem 2rem; }
.section-dark { background: var(--color-primary); color: rgba(255,255,255,0.9); }
.section-light { background: var(--color-light-bg); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title {
  text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 0.5rem;
}
.section-subtitle {
  text-align: center; color: var(--color-secondary); font-size: 1rem;
  max-width: 550px; margin: 0 auto 3rem; line-height: 1.6;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.container { max-width: 1100px; margin: 0 auto; }

/* === Cards Grid === */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 2rem; }

.card {
  background: #fff; border-radius: 12px; padding: 2rem; 
  transition: transform .3s, box-shadow .3s; 
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.card-icon { width: 48px; height: 48px; margin-bottom: 1rem; color: var(--color-accent); }
.card h3 { font-size: 1.1rem; margin: 0 0 0.6rem; }
.card p { color: var(--color-secondary); font-size: 0.9rem; margin: 0 0 1rem; line-height: 1.6; }
.card-link { color: var(--color-accent); font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* === About / Bio Section === */
.bio-section { text-align: center; max-width: 700px; margin: 0 auto; }
.bio-section p { font-size: 1.05rem; line-height: 1.8; color: var(--color-secondary); }

/* === Testimonials === */
.testimonial-placeholder {
  background: #fff; border-radius: 12px; padding: 3rem 2rem; text-align: center;
  border: 2px dashed #e0e0e0; max-width: 500px; margin: 0 auto;
}
.testimonial-placeholder p { color: var(--color-secondary); font-size: 0.9rem; margin: 0; }
.testimonial-placeholder .icon { color: #ddd; width: 48px; height: 48px; margin-bottom: 1rem; }

/* === CTA Section === */
.cta-section {
  text-align: center; padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #142d5c 100%);
}
.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); margin: 0 0 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === Blog cards === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.blog-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.blog-card-body { padding: 1.5rem; }
.blog-card-date { font-size: 0.8rem; color: var(--color-secondary); margin-bottom: 0.5rem; }
.blog-card h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.blog-card p { color: var(--color-secondary); font-size: 0.9rem; margin: 0 0 1rem; line-height: 1.6; }

/* === Article detail === */
.article-header {
  padding: 8rem 2rem 3rem; background: var(--color-primary); color: #fff; text-align: center;
}
.article-header h1 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin: 0 0 0.5rem; }
.article-header .meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.article-content { max-width: 750px; margin: 0 auto; padding: 3rem 2rem; }
.article-content h2 { font-size: 1.35rem; margin: 2rem 0 0.8rem; }
.article-content h2:first-of-type { margin-top: 0; }
.article-content p { font-size: 1rem; line-height: 1.8; color: var(--color-text); margin: 0 0 1.2rem; }
.article-content ul { padding-left: 1.5rem; margin: 0 0 1.5rem; }
.article-content ul li { margin-bottom: 0.5rem; line-height: 1.6; color: var(--color-text); }
.breadcrumb {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }

/* In-article CTA */
.article-cta {
  background: var(--color-primary); border-radius: 12px; padding: 2.5rem;
  text-align: center; margin-top: 3rem;
}
.article-cta h3 { color: #fff; margin: 0 0 0.5rem; font-size: 1.2rem; }
.article-cta p { color: rgba(255,255,255,0.8); margin: 0 0 1.5rem; font-size: 0.95rem; }

/* === FAQ Accordion === */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e5e7eb; padding: 1rem 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; padding: 0.5rem 0;
  font-size: 1rem; font-weight: 600; color: var(--color-primary); cursor: pointer;
  font-family: var(--font-body); text-align: left;
}
.faq-question .icon-chevron { width: 20px; height: 20px; transition: transform .3s; color: var(--color-accent); }
.faq-item.open .faq-question .icon-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0.5rem 0 0; }
.faq-answer p { margin: 0; color: var(--color-secondary); line-height: 1.7; font-size: 0.95rem; }

/* === Contact Page === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 850px; margin: 0 auto; }
.contact-whatsapp { text-align: center; padding: 2rem; background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.contact-whatsapp .icon { width: 56px; height: 56px; color: #25D366; margin-bottom: 1rem; }
.contact-whatsapp h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.contact-whatsapp p { color: var(--color-secondary); font-size: 0.9rem; margin: 0 0 1.5rem; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }

.contact-form-card { padding: 2rem; background: #fff; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; color: var(--color-primary); }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e0e0e0; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color .2s; box-sizing: border-box;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none; text-align: center; padding: 2rem;
}
.form-success.show { display: block; }
.form-success .icon { width: 48px; height: 48px; color: #10b981; margin-bottom: 1rem; }
.form-success h3 { margin: 0 0 0.5rem; }
.form-success p { color: var(--color-secondary); }

/* === Footer === */
.site-footer {
  background: #0A1F3F; color: rgba(255,255,255,0.7); padding: 3rem 2rem; text-align: center;
}
.site-footer .logo-text { font-size: 1rem; }
.site-footer p { margin: 0.5rem 0; font-size: 0.9rem; }
.site-footer .tagline { color: var(--color-accent); font-weight: 500; }
.site-footer .copyright { font-size: 0.8rem; margin-top: 1.5rem; opacity: 0.6; }

/* === Mobile === */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(10,31,63,0.98); flex-direction: column; gap: 0;
    padding: 5rem 2rem 2rem; transition: right .3s; align-items: flex-start;
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 0.8rem 0; width: 100%; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links .nav-cta { margin-top: 0.5rem; text-align: center; width: 100%; }
  
  .hero { padding: 5rem 1.5rem 3rem; }
  .section { padding: 3rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .grid-2 { grid-template-columns: 1fr; }
  .blog-card .blog-card-body { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .site-header { padding: 0 1rem; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .blog-grid { grid-template-columns: 1fr; }
}

/* === Utility === */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
