/* ------------------------------------------------------------------
   otelog — landing page styles
   Colors pulled from the logo: deep navy + champagne gold.
------------------------------------------------------------------ */

:root {
  --navy-900: #0a1f44;
  --navy-800: #102852;
  --navy-700: #173265;
  --navy-600: #1f3f7a;
  --navy-50:  #f3f5fa;

  --gold-500: #c9a366;
  --gold-400: #d6b67f;
  --gold-300: #e3cba0;
  --gold-100: #f5ecd9;

  --ink:       #0a1f44;
  --ink-soft:  #3a4664;
  --ink-mute:  #6b7591;
  --line:      #e6eaf2;
  --cream:     #fbf9f4;
  --white:     #ffffff;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(10,31,68,0.06), 0 2px 8px rgba(10,31,68,0.04);
  --shadow-md: 0 8px 24px rgba(10,31,68,0.08), 0 2px 4px rgba(10,31,68,0.04);
  --shadow-lg: 0 30px 60px rgba(10,31,68,0.18), 0 8px 24px rgba(10,31,68,0.10);

  --t-fast: 180ms cubic-bezier(.2,.7,.3,1);
  --t-med:  280ms cubic-bezier(.2,.7,.3,1);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;

  --container: 1180px;
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-500); }
button { font: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--navy-900); color: var(--white);
  padding: 8px 14px; border-radius: 6px; z-index: 1000;
}
.skip-link:focus { top: 12px; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) {
  .container { padding: 0 32px; }
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; font-family: var(--font-sans); letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 700; font-family: var(--font-sans); }
h5 { font-size: .9rem; font-weight: 700; font-family: var(--font-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--navy-800); }

p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; }

.accent { color: var(--gold-500); font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-500);
  margin: 0 0 1rem;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--gold-500);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 8px 18px rgba(201,163,102,0.35);
}
.btn--primary:hover { background: var(--gold-400); color: var(--navy-900); }

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

.btn--ghost {
  background: transparent; color: var(--navy-900);
}
.btn--ghost:hover { color: var(--gold-500); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(10,31,68,0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--navy-900);
}
.brand__logo {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(10,31,68,0.18);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .01em;
}
.nav__links {
  display: none;
  gap: 1.6rem;
  font-size: .95rem;
}
.nav__links a { color: var(--navy-800); font-weight: 500; }
.nav__cta { display: none; gap: .5rem; align-items: center; }
.nav__toggle {
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav__toggle span {
  width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column; gap: .6rem;
  padding: 14px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 10px 8px; color: var(--navy-800); font-weight: 500; border-radius: 8px; }
.nav__mobile a:hover { background: var(--navy-50); }
.nav__mobile .btn { margin-top: 6px; }

@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(1100px 540px at 12% -10%, rgba(201,163,102,0.10), transparent 60%),
    radial-gradient(900px 540px at 110% 30%, rgba(10,31,68,0.06), transparent 60%),
    linear-gradient(180deg, #fbf9f4 0%, #ffffff 80%);
  overflow: hidden;
}
.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 60px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.hero__copy h1 { color: var(--navy-900); }
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin: 1.4rem 0 1.6rem;
}
.hero__chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero__chips li {
  font-size: .82rem; color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero__halo {
  position: absolute; pointer-events: none; inset: auto -10% -40% auto;
  width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(201,163,102,0.18), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

/* Hero device mock */
.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 380px;
}
.device {
  position: relative;
  width: min(320px, 84vw);
  background: linear-gradient(160deg, #0a1f44 0%, #102852 60%, #173265 100%);
  border-radius: 38px;
  padding: 16px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-2deg);
  transition: transform var(--t-med);
}
.device:hover { transform: rotate(-1deg) translateY(-4px); }
.device__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #050f24; border-radius: 0 0 14px 14px;
  z-index: 2;
}
.device__screen {
  border-radius: 26px;
  background: linear-gradient(180deg, #fbf9f4 0%, #ffffff 100%);
  padding: 44px 18px 22px;
  min-height: 540px;
  display: flex; flex-direction: column;
}
.screen-card { text-align: center; }
.screen-card__logo {
  width: 64px; height: 64px; border-radius: 14px;
  margin: 4px auto 14px;
  box-shadow: 0 8px 18px rgba(10,31,68,0.20);
}
.screen-card__hello {
  font-family: var(--font-display); font-size: 1.35rem;
  color: var(--navy-900); margin: 0; font-weight: 600;
}
.screen-card__room {
  color: var(--gold-500); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 18px;
}
.screen-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: 10px;
}
.screen-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 10px;
  font-size: .82rem; font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.screen-tile:hover { transform: translateY(-2px); border-color: var(--gold-400); }

/* Trust strip */
.trust {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust__title {
  text-align: center; margin: 0 0 18px;
  font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-mute);
}
.trust__logos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
  text-align: center;
}
.trust__logo {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: .08em;
  color: var(--navy-700);
  opacity: .7;
  font-size: .98rem;
}
@media (min-width: 720px) {
  .trust__logos { grid-template-columns: repeat(5, 1fr); }
}

/* Values */
.values { padding: clamp(48px, 7vw, 88px) 0; }
.values__grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .values__grid { grid-template-columns: repeat(4, 1fr); }
}
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.value:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}
.value__num {
  font-family: var(--font-display);
  color: var(--gold-500);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.value h3 { margin: 0 0 .35em; color: var(--navy-900); }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Generic section */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--cream); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__sub { color: var(--ink-soft); margin-top: .25rem; }

/* Two-column — columns top-align so the shorter side doesn't float
   vertically centered in the middle of a tall row */
.two-col {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px) {
  .two-col { grid-template-columns: 1.05fr .95fr; }
  .two-col--reverse .two-col__copy { order: 2; }
  .two-col--reverse .two-col__visual { order: 1; }
}

.check-list {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: .55rem;
}
.check-list li {
  padding-left: 1.85em; position: relative;
  color: var(--ink-soft); font-size: .98rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--gold-100);
  border: 2px solid var(--gold-500);
}
.check-list li strong { color: var(--navy-900); }

/* Mosaic placeholder */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 12px;
}
@media (min-width: 600px) { .mosaic { grid-template-rows: 200px 200px; } }
.mosaic__cell {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: .78rem; text-align: center; letter-spacing: .04em;
  font-weight: 500;
}
.mosaic__cell::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(140% 80% at 20% 0%, rgba(201,163,102,0.22), transparent 60%);
}
.mosaic__cell span { position: relative; z-index: 1; padding: 8px; }
.mosaic__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mosaic__cell--1 { grid-column: 1; grid-row: 1 / 3; }
.mosaic__cell--2 { grid-column: 2; grid-row: 1; }
.mosaic__cell--3 { grid-column: 2; grid-row: 2; }
/* Full-width banners spanning both columns; responsive height */
.mosaic__cell--4,
.mosaic__cell--5 { grid-column: 1 / -1; height: clamp(130px, 20vw, 190px); }
.mosaic__cell--2 { background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%); color: rgba(10,31,68,0.7); }
.mosaic__cell--2::after { background: radial-gradient(140% 80% at 100% 100%, rgba(10,31,68,0.18), transparent 60%); }
.mosaic__cell--3 { background: linear-gradient(160deg, #1d3b78 0%, #0a1f44 100%); }
.mosaic__cell--4 { background: linear-gradient(160deg, var(--gold-400) 0%, var(--gold-500) 100%); color: rgba(10,31,68,0.7); }

/* Features grid */
.features {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--gold-400);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { color: var(--navy-900); margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* Roles */
.role-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}
@media (min-width: 640px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .role-grid { grid-template-columns: repeat(3, 1fr); } }
.role {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.role h4 { margin: 0 0 4px; color: var(--navy-900); }
.role p { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* Dashboard mock */
.dashboard {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.dashboard__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f6f3ec 0%, #efebe1 100%);
  border-bottom: 1px solid var(--line);
}
.dashboard__dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: #d8d4c8;
}
.dashboard__dot:nth-child(1) { background: #e57373; }
.dashboard__dot:nth-child(2) { background: #f1b34d; }
.dashboard__dot:nth-child(3) { background: #7ec597; }
.dashboard__title {
  margin-left: auto; font-size: .8rem; color: var(--ink-mute); font-weight: 600;
}
.dashboard__body { padding: 22px; }
.dash-stat {
  display: inline-block;
  background: var(--navy-900);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin: 0 8px 14px 0;
}
.dash-stat span { font-weight: 700; color: var(--gold-400); margin-right: 6px; }
.dash-stat--gold {
  background: var(--gold-500); color: var(--navy-900);
}
.dash-stat--gold span { color: var(--navy-900); }
.dash-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  border-top: 1px solid var(--line);
}
.dash-list li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 10px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.dash-list li strong { color: var(--navy-900); }
.dash-list li span { color: var(--ink-soft); }
.dash-list li em {
  color: var(--ink-mute); font-style: normal; font-size: .78rem;
}

/* Steps */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px 24px;
  position: relative;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}
.step__num {
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow-md);
}
.step h3 { color: var(--navy-900); margin: 6px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Languages */
.languages {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .languages { grid-template-columns: 1fr 1fr; } }
.lang-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .lang-list { grid-template-columns: repeat(3, 1fr); } }
.lang-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: center;
  transition: transform var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.lang-list li:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  color: var(--gold-500);
}

/* Testimonial */
.testimonial-section {
  background:
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  position: relative; overflow: hidden;
}
.testimonial-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 360px at 80% 20%, rgba(201,163,102,0.18), transparent 60%);
  pointer-events: none;
}
.testimonial {
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 760px) { .testimonial { grid-template-columns: 160px 1fr; gap: 36px; } }
.testimonial__avatar {
  width: 130px; height: 130px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
  color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: .12em; font-size: .78rem;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  overflow: hidden;
}
.testimonial__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}
.testimonial blockquote {
  margin: 0; padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.45;
  color: var(--white);
}
.testimonial blockquote p { color: var(--white); margin: 0 0 18px; }
.testimonial blockquote footer {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--gold-300);
  font-weight: 500;
  letter-spacing: .02em;
}
.testimonial blockquote footer strong { color: var(--gold-400); font-weight: 700; }

/* CTA */
.cta-section {
  padding: clamp(56px, 8vw, 100px) 0;
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(201,163,102,0.10), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}
.cta__inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(201,163,102,0.25), transparent 70%);
  pointer-events: none;
}
.cta h2 { color: var(--navy-900); max-width: 22ch; margin: 0 auto .35em; }
.cta__form {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin: 1.4rem auto 0; max-width: 520px;
}
.cta__form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 1rem;
  background: var(--cream);
  color: var(--navy-900);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.cta__form input::placeholder { color: var(--ink-mute); }
.cta__form input:focus {
  border-color: var(--gold-500);
  background: var(--white);
}
.cta__fine { color: var(--ink-mute); font-size: .85rem; margin-top: 14px; }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 24px;
}
.site-footer .brand { color: var(--white); }
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand p { color: rgba(255,255,255,0.6); max-width: 36ch; margin-top: 12px; font-size: .9rem; }
.footer__col h5 { color: var(--gold-400); margin: 0 0 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__col a { color: rgba(255,255,255,0.7); font-size: .92rem; }
.footer__col a:hover { color: var(--gold-300); }
.footer__col span { color: rgba(255,255,255,0.6); font-size: .92rem; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding-top: 22px;
}
.footer__bottom small { color: rgba(255,255,255,0.5); font-size: .8rem; }

/* ------------------------------------------------------------------
   Language switcher (header)
------------------------------------------------------------------ */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 600; font-size: .88rem;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.lang-switch__btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}
.lang-switch__btn > svg { flex: 0 0 auto; width: 18px; height: 18px; }
.lang-switch__chev {
  flex: 0 0 auto;
  transition: transform var(--t-fast);
  width: 12px !important; height: 12px !important;
  margin-inline-start: 2px;
  transform: rotate(-90deg); /* points to the right when closed (▷) */
}
.lang-switch.is-open .lang-switch__chev { transform: rotate(0deg); } /* points down when open (▽) */
.lang-switch__current { letter-spacing: .04em; line-height: 1; }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(10,31,68,0.18), 0 2px 8px rgba(10,31,68,0.10);
  list-style: none !important;
  padding: 6px;
  margin: 0;
  z-index: 1000;
}
.lang-switch__menu li {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: .94rem;
  color: var(--navy-800);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switch__menu li:hover {
  background: var(--cream);
  color: var(--navy-900);
}
.lang-switch__menu li em {
  font-style: normal;
  color: var(--ink-mute);
  font-size: .78rem;
  letter-spacing: .06em;
  font-weight: 600;
}
.lang-switch__menu li[aria-current="true"] {
  background: var(--gold-100);
  color: var(--navy-900);
}

/* Mobile: hide compact switcher in inline cta on very small viewports — we keep it visible by default */
@media (max-width: 480px) {
  .nav__cta { gap: .35rem; }
  .lang-switch__btn { padding: 7px 10px; font-size: .82rem; }
}

/* Languages section: active highlight */
.lang-list li.is-active {
  background: var(--gold-100);
  border-color: var(--gold-500);
  color: var(--navy-900);
}
.lang-list li:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Gold button variant (for the call-back form)
------------------------------------------------------------------ */
.btn--gold {
  background: var(--navy-900);
  color: var(--gold-300);
  border: 1px solid var(--navy-900);
}
.btn--gold:hover {
  background: var(--navy-800);
  color: var(--gold-100);
}

/* ------------------------------------------------------------------
   Contact section — two clearly separate cards (demo + callback)
   Each card has a distinct background colour, an icon capped at 28px,
   inputs in wide pill containers with centred text.
------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
  max-width: 1240px;
  margin: 0 auto;
}
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  /* Demo card — soft warm cream/gold tint so it sits visually apart
     from the white page background and from the navy callback card */
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201,163,102,0.10), transparent 60%),
    linear-gradient(180deg, #fbf6e9 0%, #f5ecd9 100%);
  border: 1px solid rgba(201,163,102,0.30);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 60px rgba(10,31,68,0.12), 0 4px 14px rgba(10,31,68,0.06);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.contact-card::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(201,163,102,0.22), transparent 70%);
  pointer-events: none;
}
.contact-card::after {
  content: ""; position: absolute; bottom: -120px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.6), transparent 70%);
  pointer-events: none;
}

/* Callback card — deep navy with gold accents */
.contact-card--accent {
  background:
    radial-gradient(140% 80% at 50% -10%, rgba(201,163,102,0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, #0d2658 100%);
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(10,31,68,0.30), 0 4px 14px rgba(10,31,68,0.18);
}
.contact-card--accent::before {
  background: radial-gradient(closest-side, rgba(201,163,102,0.30), transparent 70%);
  top: -100px; right: -100px;
  width: 260px; height: 260px;
}
.contact-card--accent::after {
  background: radial-gradient(closest-side, rgba(201,163,102,0.10), transparent 70%);
}
/* Accent overrides need higher specificity than the base .contact-card
   rules below (which redeclare h3/sub/eyebrow colours), so we chain the
   base class with the modifier — (0,2,1) beats (0,1,1) */
.contact-card.contact-card--accent .contact-card__sub,
.contact-card.contact-card--accent .contact-card__fine { color: rgba(255,255,255,0.78); }
.contact-card.contact-card--accent h3 { color: var(--white); }
.contact-card.contact-card--accent .contact-card__eyebrow { color: var(--gold-400); }
.contact-card.contact-card--accent .contact-card__icon {
  background: rgba(255,255,255,0.08);
  color: var(--gold-300);
  border-color: rgba(255,255,255,0.14);
}

/* Icon disc — capped at 56x56, SVG strictly 24x24 inside (also enforced
   by inline width/height attrs to survive any Safari quirk) */
.contact-card__icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  max-width: 56px; max-height: 56px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--navy-900);
  border: 1px solid rgba(201,163,102,0.40);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.contact-card__icon svg {
  width: 24px !important; height: 24px !important;
  max-width: 24px; max-height: 24px;
  display: block;
}

.contact-card__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0;
  position: relative; z-index: 1;
}
.contact-card h3 {
  color: var(--navy-900);
  margin: 2px 0;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  position: relative; z-index: 1;
}
.contact-card__sub {
  color: var(--ink-soft);
  margin: 0 0 8px;
  font-size: 1rem;
  max-width: 38ch;
  position: relative; z-index: 1;
}
.contact-card__fine {
  color: var(--ink-mute);
  font-size: .82rem;
  margin: 6px 0 0;
  max-width: 40ch;
  position: relative; z-index: 1;
}

/* Inline form status message (AJAX submit result) */
.form-msg {
  width: 100%;
  max-width: 480px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.4;
  border: 1px solid transparent;
  position: relative; z-index: 1;
}
.form-msg--info { background: rgba(10,31,68,0.06); color: var(--ink-mute); }
.form-msg--ok   { background: rgba(31,150,90,0.12); color: #1f7a4d; border-color: rgba(31,150,90,0.28); }
.form-msg--err  { background: rgba(190,52,52,0.10); color: #b23636; border-color: rgba(190,52,52,0.28); }
.contact-card.contact-card--accent .form-msg--info { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.9); }

/* Field wrapper around each input — gives the rounded "container" feel */
.contact-card__fields {
  width: 100%;
  max-width: 480px;
  display: flex; flex-direction: column;
  gap: 14px;
  margin: 16px 0 6px;
  position: relative; z-index: 1;
}
.contact-card .field {
  position: relative;
  display: block;
  width: 100%;
}

.contact-card input {
  width: 100%;
  padding: 18px 28px;
  border-radius: 999px;
  border: 1px solid rgba(10,31,68,0.10);
  font-size: 1.02rem;
  background: rgba(255,255,255,0.85);
  color: var(--navy-900);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
  font-weight: 500;
  text-align: center;
  letter-spacing: .005em;
  box-shadow: 0 1px 2px rgba(10,31,68,0.04), inset 0 0 0 1px rgba(255,255,255,0.6);
}
.contact-card input::placeholder {
  color: var(--ink-mute);
  font-weight: 400;
  text-align: center;
  opacity: 1;
}
.contact-card input:hover {
  border-color: var(--gold-400);
  background: var(--white);
}
.contact-card input:focus {
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,163,102,0.22);
}

/* Submit button — matches input pill shape, slightly elevated */
.contact-card .btn {
  width: 100%;
  max-width: 480px;
  padding: 18px 28px;
  font-size: 1.02rem;
  border-radius: 999px;
  margin-top: 6px;
  position: relative; z-index: 1;
}

/* Navy/gold accent card — input look on dark surface */
.contact-card--accent input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.contact-card--accent input::placeholder { color: rgba(255,255,255,0.48); }
.contact-card--accent input:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}
.contact-card--accent input:focus {
  background: rgba(255,255,255,0.14);
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(201,163,102,0.30);
  color: var(--white);
}

/* Mobile — keep cards single column, slightly tighter padding */
@media (max-width: 600px) {
  .contact-card { padding: 32px 22px; border-radius: 24px; }
  .contact-card input { padding: 16px 22px; font-size: 1rem; }
  .contact-card .btn { padding: 16px 24px; font-size: 1rem; }
}

/* ------------------------------------------------------------------
   RTL — only the surgical fixes; logical properties handle most of it
------------------------------------------------------------------ */
html[dir="rtl"] {
  font-family: 'Noto Naskh Arabic', var(--font-sans);
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5,
html[dir="rtl"] .brand__name,
html[dir="rtl"] .screen-card__hello,
html[dir="rtl"] .testimonial blockquote,
html[dir="rtl"] .value__num,
html[dir="rtl"] .step__num,
html[dir="rtl"] .lang-list li {
  font-family: 'Noto Naskh Arabic', var(--font-display);
  letter-spacing: 0;
}
html[dir="rtl"] .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
html[dir="rtl"] .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(45deg); }
html[dir="rtl"] .device { transform: rotate(2deg); }
html[dir="rtl"] .device:hover { transform: rotate(1deg) translateY(-4px); }
html[dir="rtl"] .check-list li { padding-left: 0; padding-right: 1.85em; }
html[dir="rtl"] .check-list li::before { left: auto; right: 0; }
html[dir="rtl"] .step__num { left: auto; right: 24px; }
html[dir="rtl"] .dash-list li { grid-template-columns: auto 1fr 110px; }
html[dir="rtl"] .dashboard__title { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .lang-switch__menu { inset-inline-end: 0; inset-inline-start: auto; }

/* Footer multi-line address spacing */
.footer__col ul li { color: rgba(255,255,255,0.7); font-size: .92rem; }
.footer__col ul li strong { color: var(--white); font-weight: 600; }

/* Motion-reduce */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
