/* Root variables */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #c2410c; /* Terracotta deep accent */
  --accent-hover: #9a3412;
  --bg-warm: #fbfaf7; /* Elegant alabaster background */
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-warm);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-dark);
}

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

a:hover {
  color: var(--accent-hover);
}

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

.max-width-md {
  max-width: 800px;
  margin: 0 auto;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

/* Header & Nav */
.main-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.main-nav {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: var(--primary);
  font-weight: 500;
}

.nav-list a.active, .nav-list a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0 7rem;
  text-align: center;
}

.hero-container h1 {
  color: white;
  font-size: 3.5rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero-container p {
  color: #e2e8f0;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Sub-Hero */
.sub-hero {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.sub-hero h1 {
  color: white;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.sub-hero p {
  color: #94a3b8;
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-speed), color var(--transition-speed);
  font-size: 1rem;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
}

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

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

.btn-primary:hover {
  background-color: var(--primary-light);
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

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

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

.btn-muted:hover {
  background-color: #cbd5e1;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Statistics */
.stats-section {
  background: var(--bg-card);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: 2.25rem;
}

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

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.process-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(194, 65, 12, 0.15);
}

.process-card h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Trust features */
.trust-features {
  background: var(--primary);
  color: white;
  padding: 5rem 0;
}

.trust-features h2 {
  color: white;
}

.trust-features p {
  color: #94a3b8;
}

.features-grid-custom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item-custom {
  display: flex;
  gap: 1.5rem;
  background: var(--primary-light);
  padding: 2rem;
  border-radius: 8px;
}

.feature-item-custom h3 {
  color: white;
  font-size: 1.25rem;
}

.feature-item-custom p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.icon-accent {
  font-size: 2.25rem;
  color: var(--accent);
}

/* Services section */
.services-teaser {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem;
}

.service-body h3 {
  font-size: 1.35rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

/* Pricing */
.pricing-section {
  padding: 5rem 0;
  background: #f1f5f9;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
}

.price-card.premium {
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.price-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

/* Forms */
.form-section {
  padding: 5rem 0;
  background: var(--bg-card);
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.info-list {
  margin-top: 2rem;
}

.info-list p {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-wrapper {
  background: var(--bg-warm);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

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

.form-privacy {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.form-privacy input {
  margin-top: 0.25rem;
}

.form-privacy label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion-section {
  padding: 5rem 0;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
}

.accordion-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-dark);
}

/* Contact Page Styles */
.contact-page-section {
  padding: 5rem 0;
}

.contact-form-side {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.hq-card {
  background: var(--primary-light);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hq-card h4 {
  color: white;
}

.hq-card p {
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Legal Pages */
.legal-page {
  padding: 6rem 0;
}

.legal-page h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.legal-page h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-page ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

/* Trust Layer */
.trust-layer {
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0;
}

.trust-layer h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.trust-layer p {
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
}

.trust-layer p.disclaimer {
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Footer */
.main-footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid #1e293b;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #cbd5e1;
}

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

.footer-corporate {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: #64748b;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1100;
}

.cookie-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Thank You */
.thank-you-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-warm);
}

.thank-you-card {
  background: var(--bg-card);
  padding: 4rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  max-width: 650px;
}

.icon-success {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 1.5rem;
}

/* Utils */
.text-center {
  text-align: center;
}

.border-radius-img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

.text-accent {
  color: var(--accent);
}

/* Grid helper */
.grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.services-detail .service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.services-detail .service-detail-row.reverse {
  direction: rtl;
}

.services-detail .service-detail-row.reverse .service-text {
  direction: ltr;
}

.services-detail .service-detail-row.reverse .service-media {
  direction: ltr;
}

.services-detail .service-detail-row:last-child {
  border-bottom: none;
}

/* Media Queries */
@media (max-width: 1024px) {
  .process-grid, .features-grid-custom, .services-grid, .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    width: 100%;
    background: var(--bg-card);
    position: absolute;
    top: 80px;
    left: 0;
    border-bottom: 1px solid var(--border-color);
  }
  .main-nav.active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  .hero-container h1 {
    font-size: 2.25rem;
  }
  .grid-two-cols, .form-container, .services-detail .service-detail-row, .services-detail .service-detail-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-detail .service-detail-row.reverse {
    direction: ltr;
  }
  .process-grid, .features-grid-custom, .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-wrapper {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}