/* ── Fonts ── */
@font-face {
  font-family: 'Montserrat';
  src: url("fonts/Montserrat-Regular.38712903602f.ttf") format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Montserrat';
  src: url("fonts/Montserrat-SemiBold.6e7bd3eacb1d.ttf") format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Montserrat';
  src: url("fonts/Montserrat-Bold.354dc625a35b.ttf") format('truetype');
  font-weight: 700;
}

/* ── Design tokens ── */
:root {
  --gold:      #a1763a;
  --gold-soft: #e5c994;
  --cream:     #F8F5EE;
  --card:      #FAF9F7;
  --ink:       #1a1a1a;
  --muted:     #6b5c45;
  --border:    #e5c994;
  --radius:    14px;

  /* uniform scale */
  --section-pad:  48px 40px;
  --content-max:  1160px;
  --title-lg:     1.5rem;   /* hero */
  --title-md:     1.6rem;   /* section titles */
  --sub-size:     0.95rem;
  --card-title:   0.9rem;
  --card-body:    0.82rem;
  --card-icon:    28px;
  --card-pad:     20px;
  --gap:          16px;
}

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

html {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--cream);
  color: var(--ink);
}
body { background-color: var(--cream); padding-top: 68px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; color: var(--ink); }
p { line-height: 1.7; color: var(--muted); font-size: var(--sub-size); }


/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#header {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; width: 100%;
  background-color: var(--card);
  border-bottom: 1px solid var(--gold-soft);
  overflow: visible;
}
.header { padding: 0 40px; position: relative; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.logo img { height: 54px; width: auto; }

.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-links a { font-size: 0.875rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }

.action_btn {
  background-color: var(--gold);
  color: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity .2s;
}
.action_btn:hover { opacity: .85; }

.burger {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink);
  padding: 8px;
  margin: -8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.dropdown_menu {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background-color: var(--card);
  border-bottom: 1px solid var(--gold-soft);
  padding: 24px 40px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 999;
}
.dropdown_menu.open { display: block; }
.dropdown_menu .nav-links { flex-direction: column; gap: 18px; }
.dropdown_menu .nav-links a { font-size: 1rem; }
.dropdown_menu .action_btn {
  margin-top: 20px;
  display: inline-block;
  background-color: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}


/* ══════════════════════════════════
   SECTION DIVIDER (shared)
══════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  max-width: calc(var(--content-max) + 80px);
  margin: 0 auto;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-soft);
}
.section-divider span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-divider--inner {
  max-width: none;
  padding: 28px 0 16px;
}


/* ══════════════════════════════════
   STORE BUTTONS
══════════════════════════════════ */
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
}
.store-btn:hover { opacity: .85; transform: translateY(-2px); }
.store-btn--android { background-color: #2d7a4f; }


/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#home { padding: var(--section-pad); }

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.hero__text { flex: 1; }
.hero__title { font-size: var(--title-lg); margin-bottom: 16px; }
.hero__sub { font-size: var(--sub-size); }

.hero__img {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img img { max-height: 280px; width: auto; }


/* ══════════════════════════════════
   CARDS — shared layout
══════════════════════════════════ */
#services,
#reports {
  padding: 0 40px 48px;
  max-width: calc(var(--content-max) + 80px);
  margin: 0 auto;
}

.cat-block { margin-bottom: 48px; }
.cat-block:last-child { margin-bottom: 0; }

.cat-header { margin-bottom: 18px; }
.cat-header h2 { font-size: var(--title-md); margin-bottom: 4px; }
.cat-header p  { font-size: var(--sub-size); color: var(--muted); }

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

/* base card — vertical */
.uni-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.uni-card:hover { box-shadow: 0 4px 16px rgba(161,118,58,.1); transform: translateY(-2px); }

.uni-card img {
  height: var(--card-icon);
  width: var(--card-icon);
  object-fit: contain;
  flex-shrink: 0;
}
.uni-card h3 { font-size: var(--card-title); font-weight: 600; }
.uni-card p  { font-size: var(--card-body); line-height: 1.5; }

/* row variant */
.uni-card--row {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.uni-card--row img { height: var(--card-icon); width: var(--card-icon); margin-top: 2px; }
.uni-card--row > div { display: flex; flex-direction: column; gap: 4px; }

/* wide card */
.uni-card--wide {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: var(--card-pad) 24px;
  justify-content: space-between;
}
.uni-card--wide > img:first-child { height: var(--card-icon); width: var(--card-icon); flex-shrink: 0; }
.uni-card--wide > div { flex: 1; }
.uni-card__deco {
  height: 90px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}


/* ══════════════════════════════════
   DOWNLOAD / ABOUT BLOCK
══════════════════════════════════ */
#download { padding: var(--section-pad); }

.download {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.download__img { height: 340px; width: auto; flex-shrink: 0; }
.download__text h2 { font-size: var(--title-md); margin-bottom: 12px; }
.download__text p  { font-size: var(--sub-size); margin-bottom: 4px; }


/* ══════════════════════════════════
   NEWSLETTER
══════════════════════════════════ */
#newsletter { background-color: var(--gold); padding: var(--section-pad); }

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.newsletter__text h2 { font-size: var(--title-md); color: #fff; margin-bottom: 8px; }
.newsletter__text p  { color: rgba(255,255,255,.8); font-size: var(--sub-size); }

.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: var(--sub-size);
  width: 260px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
}
.newsletter__form button {
  background-color: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: var(--sub-size);
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: opacity .2s;
}
.newsletter__form button:hover { opacity: .85; }


/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#footer {
  background-color: var(--ink);
  padding: 48px 40px;
  text-align: center;
}
.footer-content h3    { font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.footer-content > p   { color: rgba(255,255,255,.6); font-size: 0.85rem; margin-bottom: 20px; }

.socials { display: flex; justify-content: center; gap: 20px; list-style: none; margin-bottom: 20px; }
.socials a { color: rgba(255,255,255,.7); font-size: 1.2rem; transition: color .2s; }
.socials a:hover { color: #fff; }

.conf { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.conf a { color: rgba(255,255,255,.5); font-size: 0.8rem; transition: color .2s; }
.conf a:hover { color: rgba(255,255,255,.9); }
.conf span { color: rgba(255,255,255,.5); }

.footer-content .copyright { color: rgba(255,255,255,.4); font-size: 0.8rem; }


/* ══════════════════════════════════
   CARD MORE LINK
══════════════════════════════════ */
.card-clickable { cursor: pointer; }
.card-more {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .03em;
  transition: opacity .2s;
}
.card-clickable:hover .card-more { opacity: .7; }


/* ══════════════════════════════════
   MODAL
══════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  animation: modal-in .2s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color .2s;
}
.modal__close:hover { color: var(--ink); }

.modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  padding-right: 24px;
}
.modal__body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}


/* ══════════════════════════════════
   COOKIE
══════════════════════════════════ */
.wrapper_consent {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 500px;
  width: calc(100% - 40px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 9999;
  display: none;
}
.wrapper_consent.show { display: block; }
.wrapper_consent header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wrapper_consent header i  { font-size: 1.3rem; color: var(--gold); }
.wrapper_consent header h2 { font-size: 0.95rem; color: var(--ink); }
.wrapper_consent .data p   { font-size: 0.83rem; color: var(--muted); margin-bottom: 14px; }
.wrapper_consent .data a   { color: var(--gold); }
.wrapper_consent .buttons  { display: flex; gap: 10px; }
.wrapper_consent .button {
  flex: 1; padding: 10px; border-radius: 10px; border: none;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
#acceptBtn  { background-color: var(--gold); color: #fff; }
#declineBtn { background-color: var(--cream); color: var(--muted); border: 1px solid var(--border); }


/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__img { flex: 0 0 200px; }
  .hero__img img { max-height: 240px; }
}

@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .burger { display: flex; }
  .navbar .action_btn { display: none; }
  .dropdown_menu .action_btn { display: inline-block; }
  .header { padding: 0 20px; }
  .logo img { height: 42px; }

  #home, #download, #newsletter { padding: 36px 20px; }
  #services, #reports { padding: 0 20px 36px; }

  .section-divider { padding: 16px 20px; }
  .section-divider--inner { padding: 20px 0 12px; }

  .hero { flex-direction: column; text-align: center; gap: 28px; }
  .hero__img { flex: none; width: 100%; }
  .hero__img img { max-height: 180px; margin: 0 auto; }
  .hero__title { font-size: 1.6rem; }
  .store-buttons { justify-content: center; }

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

  .uni-card--wide { padding: 16px 18px; }
  .uni-card__deco { height: 64px; }

  .download { flex-direction: column; gap: 28px; text-align: center; }
  .download__img { height: 320px; }
  .download__text .store-buttons { justify-content: center; }

  .newsletter { flex-direction: column; text-align: center; gap: 24px; }
  .newsletter__form { flex-direction: column; align-items: center; width: 100%; }
  .newsletter__form input  { width: 100%; max-width: 320px; }
  .newsletter__form button { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.4rem; }
  .store-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 260px; justify-content: center; }
  .hero__img img { max-height: 200px; }
  .download__img { height: 260px; }
}


/* ══════════════════════════════════
   PROFILE PAGE
══════════════════════════════════ */

/* Hero */
.profile-hero { padding: var(--section-pad); }
.profile-hero__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: var(--content-max);
  margin: 0 auto;
}
.profile-hero__photo {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.profile-hero__text { flex: 1; }
.profile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.profile-hero__title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.profile-topics {
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}

/* Bio */
.profile-bio { padding: var(--section-pad); }
.profile-bio__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-bio__block p { font-size: 0.95rem; line-height: 1.8; color: var(--muted); margin-bottom: 10px; }
.profile-bio__block p:last-child { margin-bottom: 0; }
.profile-bio__block--highlight {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.profile-bio__block--highlight p { color: var(--ink); }
.profile-bio__block--highlight strong { color: var(--gold); }

/* Services accordion */
.profile-services { padding: var(--section-pad); }
.profile-services__inner {
  max-width: 720px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--card);
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.accordion-btn:hover { color: var(--gold); }
.accordion-btn i {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform .25s;
}
.accordion-item.open .accordion-btn i { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 12px;
  margin-top: 14px;
}
.accordion-body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.accordion-body ul + ul { margin-top: -4px; }
.accordion-body li {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}
.accordion-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

/* Booking section */
.booking-section { padding: var(--section-pad); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--content-max);
  margin: 0 auto;
}
.booking-text h2   { font-size: var(--title-md); margin-bottom: 14px; }
.booking-text p    { font-size: var(--sub-size); line-height: 1.7; }
.booking-detail    { margin-top: 20px; font-size: 0.82rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }

.booking-form { display: flex; flex-direction: column; gap: 12px; }
.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.booking-form input::placeholder,
.booking-form textarea::placeholder { color: var(--muted); }
.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(161,118,58,.1);
}
.booking-form textarea { resize: vertical; min-height: 120px; }
.booking-form button {
  align-self: flex-start;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.booking-form button:hover    { opacity: .85; transform: translateY(-1px); }
.booking-form button:disabled { opacity: .6; cursor: default; transform: none; }
.booking-result { font-size: 0.85rem; min-height: 20px; margin-top: 4px; }

@media (max-width: 768px) {
  .booking-inner { grid-template-columns: 1fr; gap: 28px; }
  .booking-form button { width: 100%; text-align: center; align-self: stretch; }
}

/* Videos */
.profile-videos { padding: var(--section-pad); }
.profile-videos__inner { max-width: var(--content-max); margin: 0 auto; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-thumb {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  transition: opacity .2s;
}
.video-thumb:hover { opacity: .9; }
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumb__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  transition: background .2s;
}
.video-thumb:hover .video-thumb__play { background: rgba(0,0,0,.5); }
.video-thumb__play i {
  font-size: 2rem;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* Profile responsive */
@media (max-width: 768px) {
  .profile-hero__inner { flex-direction: column; align-items: center; text-align: center; }
  .profile-hero__photo { width: 200px; height: 240px; }
  .profile-topics { text-align: center; }
  .videos-grid { grid-template-columns: 1fr; }
}

/* ── LEGAL PAGES (privacy / rules) ── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 40px 80px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.75;
}
.legal-page h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
}
.legal-page .legal-intro {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 10px;
}
.legal-page p {
  margin-bottom: 12px;
}
.legal-page ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.legal-page ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.legal-page ul li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.legal-page .legal-contact {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--muted);
}
.legal-page .legal-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 600px) {
  .legal-page { padding: 32px 20px 60px; }
}
