/* EBCG Design System */
:root {
  --navy: #222433;
  --navy-light: #2E2F45;
  --gold: #B4955C;
  --gold-hover: #a0854b;
  --bg: #FAF9F6;
  --white: #ffffff;
  --text: #1c1c1e;
  --text-muted: #666;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 40, 60, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --container: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
}

.nav-dropdown-btn:hover {
  color: var(--gold);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.5rem 1rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--gold);
}

.mobile-submenu {
  padding-left: 1rem;
}

.mobile-submenu .mobile-link {
  font-size: 0.9rem;
  border-bottom: none;
  padding: 0.5rem 0;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(180, 149, 92, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin: 0 0 1.25rem;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Trust Bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.card-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.service-card p {
  color: var(--text-muted);
  flex: 1;
  margin: 0 0 1.25rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-card ul li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-card ul li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: 700;
}

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-content h2 {
  font-size: 2.5rem;
  margin: 0 0 1.25rem;
}

.why-content p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.why-list li {
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--navy);
}

.why-list li::before {
  content: '◆ ';
  color: var(--gold);
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card .quote {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin: 0 0 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Connect / Social */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-link:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--gold);
}

.social-icon {
  font-size: 2rem;
}

/* Forms */
.form-section {
  background: var(--white);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-message.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form-submit {
  position: relative;
}

.form-submit.loading .btn-text {
  visibility: hidden;
}

.form-submit .spinner {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}

.form-submit.loading .spinner {
  display: flex;
}

.spinner::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 1.5rem;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs span {
  color: var(--text-muted);
  margin: 0 0.5rem;
}

.breadcrumbs .current {
  color: var(--navy);
  font-weight: 500;
}

/* Content Pages */
.content-page {
  padding: 3rem 0 5rem;
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.content-main h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.content-main p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.8;
}

.content-main ul,
.content-main ol {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

.content-main li {
  margin-bottom: 0.5rem;
}

.sidebar-cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.sidebar-cta h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.sidebar-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.sidebar-cta .btn {
  margin-bottom: 0.75rem;
}

/* Thank You */
.thank-you-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 0;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.thank-you-content p {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* Scroll Fade Animation */
.scroll-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade.delay-1 { transition-delay: 0.1s; }
.scroll-fade.delay-2 { transition-delay: 0.2s; }
.scroll-fade.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-cta {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .connect-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 0.75rem;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}
