:root {
  --bg-primary: #FCFAF6;
  --text-primary: #2C2A29;
  --text-secondary: #5C5855;
  --accent-gold: #B89047;
  --accent-gold-hover: #9E7632;
  --accent-dark: #1E1C1A;
  --accent-light: #F3ECE1;
  --border-color: #E3DEC3;
  --white: #FFFFFF;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-gold);
  color: var(--white);
  padding: 10px 20px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Base Styles */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-gold-hover);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--accent-gold);
  color: var(--white) !important;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}
.btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}
.btn-dark {
  background-color: var(--accent-dark);
}
.btn-dark:hover {
  background-color: #33312F;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--accent-dark);
  font-weight: 700;
}
.logo-area img {
  width: 36px;
  height: 36px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  color: var(--text-secondary);
  font-weight: 500;
}
nav a:hover, nav a.active {
  color: var(--accent-gold);
}
.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--accent-dark);
  cursor: pointer;
}

/* Mobile Nav Styles */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  gap: 20px;
  box-shadow: var(--shadow-dark);
}
.mobile-nav-active {
  display: flex !important;
}

/* Hero Section */
.hero {
  padding: 90px 0;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border-color);
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
.hero-content p {
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 20px;
}

/* Statistics Section */
.stats {
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 60px 0;
}
.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-item h3 {
  font-size: 44px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.stats-item p {
  font-size: 16px;
  color: #CCC;
}

/* Section Common */
.section-padding {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
.section-title h2 {
  font-size: 38px;
  margin-bottom: 16px;
}
.section-title p {
  color: var(--text-secondary);
  font-size: 18px;
}

/* Steps (Como Funciona) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background-color: var(--white);
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow-light);
  text-align: center;
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  background-color: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-weight: 700;
  font-size: 18px;
}
.step-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Services section in Main Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
}
.service-image {
  height: 240px;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-body {
  padding: 32px;
}
.service-body h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.service-body p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px;
}

/* Asymmetrical Block */
.asym-block {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 48px;
  background-color: var(--accent-light);
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
}
.asym-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.asym-content {
  padding: 48px;
}
.asym-content h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.asym-list {
  list-style: none;
  margin-top: 24px;
}
.asym-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 16px;
}
.asym-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pricing-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-light);
  position: relative;
  transition: var(--transition);
}
.pricing-card.popular {
  border: 2px solid var(--accent-gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-dark);
}
.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--accent-gold);
  color: var(--white);
  font-size: 12px;
  padding: 4px 12px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 20px;
}
.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.price {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 24px;
}
.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}
.pricing-card ul {
  list-style: none;
  margin: 24px 0 36px 0;
  text-align: left;
}
.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #F0ECE0;
  font-size: 15px;
}

/* Contact/Lead capture Form */
.form-section {
  background-color: var(--accent-light);
  padding: 80px 0;
}
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 48px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow-dark);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 16px;
}
.form-control:focus {
  outline: 2px solid var(--accent-gold);
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.checkbox-label input {
  margin-top: 4px;
}

/* FAQ accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  font-size: 16px;
  color: var(--text-secondary);
}
.accordion-body p {
  padding-top: 16px;
}
.accordion-active .accordion-body {
  max-height: 200px;
}
.accordion-active .accordion-header i {
  transform: rotate(180deg);
}

/* Trust Layer (Common block for compliance) */
.trust-layer {
  background-color: #F0EDE5;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.trust-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-meta {
  font-weight: 600;
  color: var(--accent-dark);
}

/* Footer */
footer {
  background-color: var(--accent-dark);
  color: #CCC;
  padding: 48px 0;
  font-size: 14px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.footer-links a {
  color: #AAA;
}
.footer-links a:hover {
  color: var(--white);
}

/* Cookie Banner (EU Compliance) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background-color: var(--accent-dark);
  color: var(--white);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 10000;
  display: none;
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
}
.cookie-btn-accept {
  background-color: var(--accent-gold);
  color: var(--white);
}
.cookie-btn-reject {
  background-color: transparent;
  color: #AAA;
  border: 1px solid #444;
}

/* Responsiveness */
@media (max-width: 991px) {
  .hero-wrapper, .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .asym-block {
    grid-template-columns: 1fr;
  }
  .asym-image img {
    height: 350px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .burger-menu {
    display: block;
  }
  .stats-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0;
  }
  .section-padding {
    padding: 60px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}