/* ==========================================================================
   AMPELORA — Corporate Website
   Design tokens: Deep Green #0F5A47 · Gold #C9A15A · Ivory · Charcoal
   No external fonts, no frameworks — system font stack only.
   ========================================================================== */

:root {
  --green: #0F5A47;
  --green-dark: #0A3F32;
  --green-tint: #E9F1EE;
  --gold: #C9A15A;
  --gold-light: #E4C98B;
  --gold-dim: rgba(201, 161, 90, 0.35);
  --ivory: #FAF7F1;
  --ivory-2: #F3EEE4;
  --white: #FFFFFF;
  --charcoal: #17201C;
  --charcoal-2: #1F2925;
  --ink: #20241F;
  --gray: #6B6F68;
  --gray-light: #9AA098;
  --line: rgba(23, 32, 28, 0.10);
  --line-on-dark: rgba(250, 247, 241, 0.16);

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", ui-serif, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--green);
  color: var(--ivory);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { inset-inline-start: 12px; top: 12px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 900px) {
  .container { padding-inline: 40px; }
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

section { padding: 76px 0; }
@media (min-width: 900px) { section { padding: 128px 0; } }

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

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }

h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: 14px;
  font-size: 17px;
  color: var(--gray);
  max-width: 52ch;
}
.section-head.center .section-subtitle { margin-inline: auto; }

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline-ivory {
  border-color: var(--line-on-dark);
  color: var(--ivory);
}
.btn-outline-ivory:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-outline-green {
  border-color: var(--green);
  color: var(--green-dark);
}
.btn-outline-green:hover { background: var(--green); color: var(--ivory); }

.btn-block { width: 100%; justify-content: center; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}
.brand img { height: 30px; width: auto; }

.main-nav {
  display: none;
  align-items: center;
  gap: 34px;
}
@media (min-width: 980px) { .main-nav { display: flex; } }

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}
.main-nav a:hover { opacity: 1; color: var(--green); }

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

@media (max-width: 640px) {
  .header-actions .btn-gold,
  .header-actions .btn-outline-green { display: none; }
  .lang-prefix { display: none; }
  .lang-btn { padding: 8px 10px; font-size: 13px; }
  .brand { font-size: 16px; gap: 8px; }
  .site-header .bar { gap: 10px; }
}

.lang-switch { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.lang-btn:hover { border-color: var(--gold); }
.lang-caret { font-size: 10px; opacity: 0.6; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 20, 17, 0.14);
  min-width: 168px;
  padding: 6px;
  display: none;
  z-index: 50;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  border-radius: var(--radius);
}
.lang-menu a:hover { background: var(--ivory-2); }
.lang-menu a.active { color: var(--green); font-weight: 700; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  padding: 6px;
  color: var(--green-dark);
}
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 10px 0 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 14px; }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  background: var(--green-dark);
  color: var(--ivory);
  overflow: hidden;
  padding: 84px 0 96px;
}
@media (min-width: 900px) { .hero { padding: 128px 0 132px; } }

.hero-arch {
  position: absolute;
  inset-block-start: -8%;
  inset-inline-end: -6%;
  width: min(58vw, 620px);
  opacity: 0.1;
  pointer-events: none;
}
[dir="rtl"] .hero-arch { inset-inline-end: auto; inset-inline-start: -6%; transform: scaleX(-1); }

.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr 0.8fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero p.lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(250, 247, 241, 0.82);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero-trial-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: rgba(250, 247, 241, 0.56);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mark {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(201,161,90,0.06), transparent 60%);
}

.hero-mark img { width: 46%; height: auto; }

.hero-mark-caption {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.75;
}

/* ---------------------------------- What Is / Business App (split) ---------------------------------- */

.split {
  display: grid;
  gap: 40px;
}
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

.split .lede-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.86;
}
.split .lede-body + .lede-body { margin-top: 16px; }

.point-list {
  margin-top: 40px;
  display: grid;
  gap: 22px;
}
.point-list .point {
  padding-inline-start: 18px;
  border-inline-start: 2px solid var(--gold);
}
.point h4 {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.point p { font-size: 14.5px; color: var(--gray); }

.bullet-list { display: grid; gap: 16px; margin-top: 4px; }
.bullet-list li {
  display: flex;
  gap: 14px;
  font-size: 15.5px;
  color: var(--ink);
  opacity: 0.88;
  line-height: 1.55;
}
.bullet-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.frame-card {
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 40px 34px;
}

/* ---------------------------------- Features (editorial index list) ---------------------------------- */

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}

.feature-row {
  display: flex;
  gap: 22px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.feature-row:hover { background: rgba(201, 161, 90, 0.06); }

.feature-index {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  flex: none;
  padding-top: 2px;
  min-width: 28px;
}

.feature-row h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 5px;
}
.feature-row p { font-size: 14.5px; color: var(--gray); line-height: 1.55; }

/* ---------------------------------- How it works (stepper) ---------------------------------- */

.stepper {
  display: grid;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 900px) {
  .stepper { grid-template-columns: repeat(5, 1fr); gap: 4px; }
}

.step {
  position: relative;
  padding: 28px 20px 24px 0;
  border-top: 2px solid var(--gold-dim);
}
@media (min-width: 900px) {
  .step { padding-inline-end: 22px; }
}

.step-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.step h4 {
  font-size: 16px;
  color: var(--green-dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.step p { font-size: 14px; color: var(--gray); line-height: 1.55; }

/* ---------------------------------- Public Booking (panel) ---------------------------------- */

.pb-panel {
  background: var(--green-dark);
  color: var(--ivory);
  padding: 56px 32px;
}
@media (min-width: 900px) { .pb-panel { padding: 76px 64px; } }

.pb-panel .eyebrow { color: var(--gold-light); }
.pb-panel h2.section-title { color: var(--white); }
.pb-panel .section-subtitle { color: rgba(250,247,241,0.72); }

.pb-grid {
  display: grid;
  gap: 48px;
  margin-top: 16px;
}
@media (min-width: 980px) { .pb-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

.pb-body p { font-size: 16px; line-height: 1.75; color: rgba(250,247,241,0.82); }
.pb-note {
  margin-top: 22px;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--gold);
  font-size: 14px;
  color: rgba(250,247,241,0.65);
}
.pb-body .btn { margin-top: 30px; }

.flow {
  display: grid;
  gap: 0;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.flow-step:last-child { border-bottom: none; }
.flow-badge {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}
.flow-label { font-size: 15px; font-weight: 600; color: var(--ivory); }

/* ---------------------------------- Pricing ---------------------------------- */

.pricing-card {
  max-width: 460px;
  margin-inline: auto;
  border: 1px solid var(--gold-dim);
  background: var(--white);
  padding: 48px 40px;
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 7px 14px;
  margin-bottom: 26px;
}

.pricing-plan-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: var(--serif);
  color: var(--green-dark);
}
.price-currency { font-size: 26px; font-weight: 600; }
.price-amount { font-size: 60px; font-weight: 600; line-height: 1; }
.price-period { font-size: 16px; color: var(--gray); font-family: var(--sans); }

.pricing-trial-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--gray);
}

.pricing-divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}

.included-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}

.included-list {
  display: grid;
  gap: 12px;
  text-align: start;
  margin-bottom: 34px;
}
.included-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.included-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
}

.pricing-fine-print {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--gray-light);
}

/* ---------------------------------- Why (numbered rows) ---------------------------------- */

.why-grid {
  display: grid;
  gap: 30px;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr 1fr; } }

.why-item {
  padding-inline-start: 20px;
  border-inline-start: 1px solid var(--line);
}
.why-item h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.why-item p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }

/* ---------------------------------- Trust & ROI ---------------------------------- */

.trust-grid {
  display: grid;
  gap: 30px;
  text-align: center;
}
@media (min-width: 700px) { .trust-grid { grid-template-columns: 1fr 1fr 1fr; } }

.trust-item .trust-stat {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 12px;
}
.trust-item p { font-size: 14.5px; color: var(--gray); line-height: 1.6; }

/* ---------------------------------- FAQ ---------------------------------- */

.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: start;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
}

.faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.25s var(--ease);
}
.faq-icon::before { top: 50%; inset-inline-start: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { inset-inline-start: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a p {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 68ch;
}

/* ---------------------------------- CTA band ---------------------------------- */

.cta-band {
  background: var(--green-dark);
  color: var(--ivory);
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  color: var(--white);
}
.cta-band p {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(250,247,241,0.75);
}
.cta-band .hero-actions { justify-content: center; margin-top: 34px; }

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: var(--charcoal);
  color: rgba(250,247,241,0.75);
  padding: 72px 0 32px;
}

.footer-top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}

.footer-brand .brand { color: var(--ivory); }
.footer-tagline { margin-top: 14px; font-size: 14.5px; color: rgba(250,247,241,0.55); max-width: 30ch; }
.footer-pb-note { margin-top: 18px; font-size: 12.5px; color: rgba(250,247,241,0.4); max-width: 32ch; line-height: 1.6; }

.footer-col h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(250,247,241,0.72); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(250,247,241,0.45);
}

/* ---------------------------------- Legal pages ---------------------------------- */

.legal-hero {
  background: var(--green-dark);
  color: var(--ivory);
  padding: 76px 0 48px;
}
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--white);
}
.legal-hero .updated {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(250,247,241,0.6);
}

.legal-body { padding: 56px 0 100px; max-width: 760px; }
.legal-intro {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.88;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.legal-contact { margin-top: 14px; font-size: 14.5px; color: var(--green); font-weight: 600; }

.legal-section { margin-bottom: 40px; }
.legal-section h2 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.legal-section p, .legal-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.85;
}
.legal-section ul { display: grid; gap: 10px; }
.legal-section ul li { padding-inline-start: 18px; position: relative; }
.legal-section ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.legal-footnote {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--gray);
  font-style: italic;
}

/* ---------------------------------- Misc ---------------------------------- */

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

::selection { background: var(--gold-dim); color: var(--green-dark); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
