/* ==========================================================================
   Aventuresansfin.site — Feuille de styles principale
   ========================================================================== */

:root {
  --color-bg: #2d3033;
  --color-bg-alt: #24272a;
  --color-text: #d4dde1;
  --color-accent: #aa4b41;
  --color-accent-light: #c96a5f;
  --color-secondary: #335252;
  --color-secondary-light: #416868;
  --glass-bg: rgba(212, 221, 225, 0.06);
  --glass-border: rgba(212, 221, 225, 0.14);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-small: 0 8px 24px rgba(0, 0, 0, 0.25);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --header-height: 88px;
  --transition-fast: 0.25s ease;
  --transition-med: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  background: linear-gradient(135deg, #3a3f43, #23262a);
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

p {
  color: var(--color-text);
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  margin: 0 0 48px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-left: 34px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

.section-head p {
  color: rgba(212, 221, 225, 0.75);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #8f3b32);
  color: #fff;
  box-shadow: var(--shadow-small);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(170, 75, 65, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-secondary-light);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Glass panel ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0 auto;
}

.divider--ornate {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 320px;
  margin: 48px auto;
}

.divider--ornate::before,
.divider--ornate::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.divider--ornate span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  display: block;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(36, 39, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  background: none;
  border-radius: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.4px;
}

.brand-name span {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(170, 75, 65, 0.16);
  color: var(--color-accent-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  margin: 0 auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Mobile nav
   ========================================================================== */

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(29, 31, 33, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 6px;
    transform: translateX(-100%);
    transition: transform var(--transition-med);
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    padding: 16px 18px;
    font-size: 1.05rem;
  }

  .header-phone {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(170, 75, 65, 0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(51, 82, 82, 0.35), transparent 55%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-content .eyebrow {
  margin-bottom: 20px;
}

.hero-content h1 {
  margin-bottom: 22px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(212, 221, 225, 0.8);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats div {
  border-left: 2px solid var(--color-accent);
  padding-left: 14px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-text);
}

.hero-stats span {
  font-size: 0.82rem;
  color: rgba(212, 221, 225, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-media-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.hero-media-badge svg {
  width: 34px;
  height: 34px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.hero-media-badge strong {
  display: block;
  font-size: 1rem;
}

.hero-media-badge span {
  font-size: 0.8rem;
  color: rgba(212, 221, 225, 0.7);
}

/* Small page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 90px) 0 90px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(170, 75, 65, 0.2), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(51, 82, 82, 0.3), transparent 55%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 16px 0 18px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(212, 221, 225, 0.6);
  margin-top: 8px;
}

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

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(212, 221, 225, 0.78);
  font-size: 1.05rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(170, 75, 65, 0.14);
  border: 1px solid rgba(170, 75, 65, 0.4);
  color: var(--color-accent-light);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-top: 24px;
}

.badge-pill svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(170, 75, 65, 0.4);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(170, 75, 65, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: rgba(212, 221, 225, 0.72);
  font-size: 0.96rem;
}

.card-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-media:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.card-media-body {
  padding: 26px;
}

.card-media-body h3 {
  margin-bottom: 10px;
}

.card-media-body p {
  color: rgba(212, 221, 225, 0.72);
  font-size: 0.95rem;
}

.split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-card .card-media-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-card img {
  height: 100%;
  min-height: 320px;
}

@media (max-width: 720px) {
  .split-card {
    grid-template-columns: 1fr;
  }

  .split-card img {
    min-height: 220px;
  }
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  background: rgba(170, 75, 65, 0.14);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ==========================================================================
   Presentation / two-column sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.split-text .eyebrow {
  margin-bottom: 16px;
}

.split-text h2 {
  margin-bottom: 20px;
}

.split-text p {
  color: rgba(212, 221, 225, 0.78);
  margin-bottom: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-band {
  background: var(--color-secondary);
  padding: 64px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: #fff;
}

.stat-item span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 30px 28px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
}

.testimonial-card p {
  color: rgba(212, 221, 225, 0.85);
  font-size: 0.96rem;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: rgba(212, 221, 225, 0.6);
}

/* ==========================================================================
   Info banner / offline notice
   ========================================================================== */

.info-block {
  background: linear-gradient(135deg, rgba(51, 82, 82, 0.35), rgba(170, 75, 65, 0.16));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  align-items: flex-start;
}

.info-block-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(170, 75, 65, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-block-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--color-accent);
}

.info-block h3 {
  margin-bottom: 10px;
}

.info-block h4 {
  margin: 18px 0 8px;
  color: var(--color-accent-light);
  font-size: 1.1rem;
}

.info-block p {
  color: rgba(212, 221, 225, 0.82);
}

.offline-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 34px 44px;
  box-shadow: var(--shadow-soft);
}

.offline-banner svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  flex-shrink: 0;
}

.offline-banner p {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--color-secondary), #24393a);
  border-radius: var(--radius-lg);
  padding: 70px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(170, 75, 65, 0.28), transparent 60%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(212, 221, 225, 0.85);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--glass-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-item .tag {
  margin-bottom: 10px;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: rgba(212, 221, 225, 0.75);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

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

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  cursor: pointer;
}

.accordion-trigger svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med);
}

.accordion-panel p {
  padding: 0 4px 26px;
  color: rgba(212, 221, 225, 0.78);
}

/* ==========================================================================
   Pricing table
   ========================================================================== */

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

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  position: relative;
}

.pricing-card--featured {
  border-color: var(--color-accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
}

.pricing-card--featured .pricing-badge {
  position: absolute;
  top: -14px;
  right: 32px;
  background: var(--color-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-card h3 {
  margin-bottom: 6px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-accent-light);
  margin: 14px 0 22px;
}

.pricing-card .price span {
  font-size: 0.95rem;
  color: rgba(212, 221, 225, 0.6);
  font-family: var(--font-body);
}

.pricing-card ul {
  flex: 1;
  margin-bottom: 26px;
}

.pricing-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed rgba(212, 221, 225, 0.1);
}

.pricing-card li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  width: 100%;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.compare-table thead th {
  background: rgba(51, 82, 82, 0.4);
  font-family: var(--font-heading);
  font-weight: 700;
}

.compare-table tbody tr:hover {
  background: rgba(170, 75, 65, 0.08);
}

.compare-table svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

/* ==========================================================================
   Quote block
   ========================================================================== */

.quote-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  padding: 20px 40px;
}

.quote-block svg {
  width: 40px;
  height: 40px;
  fill: var(--color-accent);
  margin-bottom: 20px;
}

.quote-block p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quote-block span {
  color: var(--color-accent-light);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
}

.team-card-body {
  padding: 22px;
}

.team-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card-body span {
  color: var(--color-accent-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Form
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
    justify-content: center;
    
}

.info-card {
  padding: 40px 34px;
  margin-bottom: 24px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(212, 221, 225, 0.6);
  margin-bottom: 4px;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text);
  transition: fill var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-accent);
  transform: translateY(-4px);
}

.social-icon:hover svg {
  fill: #fff;
}

.contact-form {
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: rgba(212, 221, 225, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(212, 221, 225, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(212, 221, 225, 0.08);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #d15a4f;
}

.field-error {
  display: none;
  color: #e28981;
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #d15a4f;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  display: block;
  min-height: 420px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 17, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 24px;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  max-width: 440px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-med);
}

.modal-overlay.is-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(170, 75, 65, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.modal-icon svg {
  width: 34px;
  height: 34px;
  fill: var(--color-accent);
}

.modal-box h3 {
  margin-bottom: 12px;
}

.modal-box p {
  color: rgba(212, 221, 225, 0.78);
  margin-bottom: 26px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  margin: 44px 0 18px;
}

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

.legal-content p {
  color: rgba(212, 221, 225, 0.82);
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 20px 0;
}

.legal-content li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: rgba(212, 221, 225, 0.82);
}

.legal-content li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  background: none;
}

.footer-brand span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-col p {
  color: rgba(212, 221, 225, 0.65);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  color: var(--color-accent-light);
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-col a {
  color: rgba(212, 221, 225, 0.75);
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(212, 221, 225, 0.75);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(212, 221, 225, 0.1);
  color: rgba(212, 221, 225, 0.75);
}

.footer-hours-row:last-child {
  border-bottom: none;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(212, 221, 225, 0.55);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.8rem;
  color: rgba(212, 221, 225, 0.45);
  padding-bottom: 20px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 56px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 3000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

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

  .hero-media {
    order: -1;
  }

  .hero-media img {
    height: 360px;
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split img {
    height: 320px;
  }

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

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

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

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

  .pricing-card--featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 70px 0;
  }

  .grid-3,
  .grid-2,
  .pricing-grid,
  .testimonial-track {
    grid-template-columns: 1fr;
  }

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

  .info-block {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    text-align: left;
  }

  .offline-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 26px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cta-band {
    padding: 48px 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-media-badge {
    left: 0;
    right: 0;
    bottom: -20px;
    margin: 0 16px;
  }

  .btn {
    padding: 14px 26px;
  }
}
