﻿:root {
  /* --navy and --navy-dark are the fixed brand dark-navy shades, used only
     as BACKGROUNDS for permanently-dark branded blocks (footer, "why us",
     table headers). They stay the same in both light and dark mode. */
  --navy: #0f2a52;
  --navy-dark: #081b38;
  --blue: #1d5fd6;
  --blue-deep: #1547a6;
  --blue-light: #eaf1fd;
  /* --heading is for TEXT (h1-h3 etc.) â€” unlike --navy-dark it must flip to
     a light color in dark mode so headings stay readable. */
  --heading: #1b3a66;
  --ink: #2c3e5a;
  --gray: #64748f;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e3e9f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 82, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(15, 42, 82, 0.14);
  --glass-blur: blur(18px) saturate(180%);

  --header-bg: rgba(255, 255, 255, 0.65);
  --row-hover-bg: rgba(234, 241, 253, 0.7);
  --input-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --heading: #eef2f8;
    --blue: #5b9bff;
    --blue-deep: #2f7bff;
    --blue-light: rgba(91, 155, 255, 0.16);
    --ink: #e7ecf5;
    --gray: #9aa7bd;
    --bg: #0b1220;
    --bg-soft: #121a2a;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(22, 30, 46, 0.78);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

    --header-bg: rgba(11, 18, 32, 0.7);
    --row-hover-bg: rgba(255, 255, 255, 0.06);
    --input-bg: #121a2a;
  }
}

:root[data-theme="dark"] {
  --heading: #eef2f8;
  --blue: #5b9bff;
  --blue-deep: #2f7bff;
  --blue-light: rgba(91, 155, 255, 0.16);
  --ink: #e7ecf5;
  --gray: #9aa7bd;
  --bg: #0b1220;
  --bg-soft: #121a2a;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(22, 30, 46, 0.78);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

  --header-bg: rgba(11, 18, 32, 0.7);
  --row-hover-bg: rgba(255, 255, 255, 0.06);
  --input-bg: #121a2a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  color-scheme: light dark;
  transition: background 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Classes below set their own `display`, which would otherwise beat the
   `hidden` attribute's default and leave hidden elements on screen. */
[hidden] { display: none !important; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--heading);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 900; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
h4, h5, h6 { letter-spacing: -0.01em; }

p {
  color: var(--gray);
  line-height: 1.7;
  text-wrap: pretty;
}
strong, b { font-weight: 800; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 95, 214, 0.3);
}
.btn-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 12px 26px rgba(29, 95, 214, 0.34);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--heading);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 22px rgba(15, 42, 82, .045);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  gap: clamp(12px, 1vw, 16px);
  max-width: 1240px;
}

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-img {
  height: 33px;
  width: auto;
  display: block;
  transition: filter 0.2s ease;
}
.logo-img-footer {
  height: 34px;
  filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img:not(.logo-img-footer) {
    filter: brightness(0) invert(1);
  }
}
:root[data-theme="dark"] .logo-img:not(.logo-img-footer) {
  filter: brightness(0) invert(1);
}

.main-nav > .nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
}
.nav-list > li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: #c5d0e3;
  transform: translateY(-50%);
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 96px;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  position: relative;
  padding: 0 6px;
  transition: color 0.2s ease;
}
.nav-list > li:first-child > a { padding-left: 0; }
.nav-list > li:last-child > a { padding-right: 2px; }
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--blue); }
.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}
.nav-list > li > a:is(:hover, .active)::after { transform: scaleX(1); }
.nav-list > li:first-child > a::after { left: 0; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.nav-dropdown-toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 310px;
  padding: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 38px rgba(15, 42, 82, 0.15);
}
.nav-dropdown.open > .nav-submenu { display: block; }
.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}
.nav-submenu a:hover,
.nav-submenu a:focus-visible { color: var(--blue); background: var(--blue-light); }
@media (min-width: 1281px) {
  .nav-dropdown:hover > .nav-submenu,
  .nav-dropdown:focus-within > .nav-submenu { display: block; }
}

.nav-cta {
  flex-shrink: 0;
  min-width: 156px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: .78rem;
  white-space: nowrap;
  box-shadow: none;
}
.nav-cta:hover { box-shadow: 0 10px 22px rgba(29, 95, 214, .18); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.language-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 54px;
  height: 44px;
  flex-shrink: 0;
  color: var(--blue);
  border-radius: 10px;
  transition: background .2s ease;
}
.language-control:hover { background: var(--blue-light); }
.language-globe { width: 26px; height: 26px; pointer-events: none; }
.language-arrow { width: 15px; height: 15px; color: var(--blue); opacity: .65; pointer-events: none; }
.language-control .lang-switcher {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.language-control:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.lang-switcher option { color: var(--ink); background: var(--input-bg); font-size: .9rem; }
.lang-switcher:focus { outline: none; border-color: var(--blue); }
.theme-toggle {
  border: 1px solid transparent;
  background: var(--blue-light);
  color: var(--blue);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.theme-toggle svg {
  width: 21px;
  height: 21px;
  transition: transform .25s ease;
}
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle:hover svg { transform: rotate(-12deg); }
.theme-toggle:active { transform: scale(.94); }
:root[data-theme="dark"] .theme-toggle { background: var(--blue-light); color: #a8c7ff; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .theme-toggle svg { transition: none; }
  .theme-toggle:hover svg, .theme-toggle:active { transform: none; }
}
.theme-toggle:focus-visible,
.lang-switcher:focus-visible,
.nav-toggle:focus-visible,
.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--heading);
  cursor: pointer;
  padding: 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav-toggle:is(:hover, [aria-expanded="true"]) { color: var(--blue); border-color: var(--blue); background: var(--blue-light); }
.nav-toggle svg {
  position: absolute;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity .26s ease, transform .3s ease;
}
.nav-toggle .menu-icon { opacity: 1; transform: rotate(0) scale(1); }
.nav-toggle .close-icon { opacity: 0; transform: rotate(-90deg) scale(.7); }
.nav-toggle[aria-expanded="true"] .menu-icon { opacity: 0; transform: rotate(90deg) scale(.7); }
.nav-toggle[aria-expanded="true"] .close-icon { opacity: 1; transform: rotate(0) scale(1); }

/* Hero */
.hero {
  padding: 90px 0 100px;
  background:
    radial-gradient(ellipse 700px 450px at 15% -10%, rgba(29, 95, 214, 0.10), transparent),
    radial-gradient(ellipse 600px 400px at 100% 20%, rgba(154, 200, 50, 0.08), transparent),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text h1 .highlight { color: var(--blue); }
.hero-text p {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stats .stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading);
}
.hero-stats .stat span {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 420px;
}
.hero-blob {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 27, 56, 0.08), rgba(8, 27, 56, 0.36)),
    url('../images/banner.png') center / cover no-repeat;
  border-radius: 32px;
  z-index: 0;
}
.hero-visual .hero-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 32px rgba(8, 27, 56, 0.22);
}
.hero-visual .hero-card p { color: var(--heading); }
.hero-card {
  position: relative;
  z-index: 1;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}
.hero-card .icon { font-size: 1.8rem; }
.hero-card p { font-weight: 700; color: var(--heading); font-size: 0.9rem; margin: 0; }
.card-1 { position: absolute; top: 40px; left: 20px; }
.card-2 { position: absolute; bottom: 50px; right: 10px; }

/* Main banner */
.hero {
  padding: 66px 0 70px;
  background:
    radial-gradient(ellipse 760px 540px at 4% 0%, rgba(29, 95, 214, 0.10), transparent),
    radial-gradient(ellipse 620px 460px at 100% 90%, rgba(29, 95, 214, 0.04), transparent),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 88%);
}
.hero-inner {
  max-width: 1240px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.hero-text::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 99px;
  background: var(--blue);
}
.hero-text h1 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 4vw, 3.95rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-text p { max-width: 560px; font-size: 1.05rem; line-height: 1.72; margin-bottom: 24px; }
.hero-actions { gap: 12px; margin-bottom: 22px; }
.hero-actions .btn { min-height: 54px; border-radius: 11px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 100%;
  padding: 12px 8px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 42, 82, 0.055);
}
.hero-stats .stat { min-width: 0; padding: 0 17px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--border); }
.hero-stats .stat strong { font-size: 1.5rem; line-height: 1.25; }
.hero-stats .stat span { font-size: 0.77rem; font-weight: 700; }
.hero-visual { height: 460px; isolation: isolate; }
.hero-blob {
  background:
    linear-gradient(180deg, rgba(8, 27, 56, 0.07), rgba(8, 27, 56, 0.28)),
    url('../images/banner.png') center 48% / cover no-repeat;
  border-radius: 26px;
  box-shadow: 0 26px 58px rgba(8, 27, 56, 0.20);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  pointer-events: none;
  z-index: 2;
}
.hero-visual .hero-card {
  padding: 16px 18px;
  max-width: 285px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(8, 27, 56, 0.23);
}
.hero-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf1fd;
  color: #1d5fd6;
}
.hero-card .icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-card p { font-size: 0.86rem; line-height: 1.45; font-weight: 800; }
.card-1 { top: 24px; left: -12px; }
.card-2 { bottom: 24px; right: -12px; }

/* Section head */
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.section-head h2 { text-wrap: balance; }
.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.68;
  font-weight: 500;
}
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,0.8); }

section { padding: 100px 0; }

/* Services */
.services {
  scroll-margin-top: 90px;
  background:
    radial-gradient(ellipse 600px 380px at 90% 0%, rgba(29, 95, 214, 0.06), transparent),
    radial-gradient(ellipse 500px 350px at 0% 100%, rgba(154, 200, 50, 0.06), transparent),
    var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg-strong);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card p { font-size: 0.92rem; }

.services .section-head { max-width: 720px; margin-bottom: 42px; }
.services .section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); line-height: 1.2; letter-spacing: -.035em; }
.services .section-head p { max-width: 610px; margin-inline: auto; }
.services .services-grid { gap: 18px; }
.services .service-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 20px 18px;
  min-height: 210px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(15, 42, 82, 0.035);
  scroll-margin-top: 110px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
.services .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--blue);
  transition: background .24s ease, color .24s ease, transform .24s ease;
}
.services .service-card:hover { transform: none; background: var(--bg); box-shadow: 0 4px 16px rgba(15, 42, 82, .035); }
.services .service-card:target { border-color: var(--blue); }
@media (hover: hover) {
  .services .service-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 28px rgba(15, 42, 82, .08); }
}
.services .service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services .service-card h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -.02em;
  margin: 0;
  transition: color .24s ease;
}
.services .service-card p { grid-column: 1 / -1; font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* About */
.about { background: var(--bg-soft); padding: 90px 0; }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
}
.about-visual { position: relative; isolation: isolate; }
.about-visual::before {
  content: '';
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 40%;
  height: 42%;
  border-radius: 26px;
  background: var(--blue-light);
  z-index: -1;
}
.about-frame {
  aspect-ratio: 1.08;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(15, 42, 82, 0.16);
}
.about-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}
.about-text .eyebrow { background: var(--blue-light); }
.about-text h2 {
  font-size: clamp(2.05rem, 3vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin-bottom: 20px;
}
.about-text p { font-size: 1rem; line-height: 1.72; margin-bottom: 24px; }
.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.about-list li {
  padding: 14px 14px 14px 42px;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.45;
}
.about-list li:before {
  content: "\2713";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
}

/* Why Us */
.why-us {
  padding: 80px 0;
  scroll-margin-top: 90px;
  background: radial-gradient(ellipse at 0% 100%, rgba(49, 108, 190, .16), transparent 60%), #0c2343;
}
.why-us > .container { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); align-items: center; gap: 72px; }
.why-us .section-head { margin: 0; text-align: left; }
.why-us .eyebrow { padding: 0; background: none; color: #a8c9fa; font-size: .75rem; letter-spacing: .14em; margin-bottom: 20px; }
.why-us .section-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.why-us .section-head::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 3px; background: #76aaff; margin-top: 28px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.why-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  align-items: center;
  min-height: 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(184, 213, 255, .22);
  border-radius: 0;
  padding: 25px 0;
  text-align: left;
}
.why-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(118, 170, 255, .12);
  color: #b8d5ff;
}
.why-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 { color: #fff; font-size: 1.04rem; line-height: 1.35; margin: 0; letter-spacing: -.015em; }
.why-card p { grid-column: 1 / -1; color: #c0cde0; font-size: .93rem; line-height: 1.7; margin: 0; }
@media (max-width: 960px) {
  .why-us > .container { grid-template-columns: 1fr; gap: 32px; }
  .why-us .section-head { max-width: 540px; }
  .why-us .section-head::after { display: none; }
}

/* Testimonials */
.testimonials {
  padding: 78px 0 82px;
  background:
    radial-gradient(ellipse 640px 400px at 0% 0%, rgba(29, 95, 214, .055), transparent),
    var(--bg-soft);
}
.testimonials .section-head { margin-bottom: 32px; }
.testimonial-carousel {
  max-width: 1210px;
  margin: 0 auto;
}
.testimonial-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 10px 28px rgba(15, 42, 82, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
/* Accent rule along the top edge, revealed on hover. */
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: 20px 20px 0 0;
  background: var(--blue);
  opacity: 0;
  transition: opacity .24s ease;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 22px;
  color: var(--blue);
  opacity: .12;
  font-family: Georgia, serif;
  font-size: 4.4rem;
  line-height: 1;
  pointer-events: none;
}
@media (hover: hover) {
  .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 95, 214, .35);
    box-shadow: 0 20px 40px rgba(15, 42, 82, .11);
  }
  .testimonial-card:hover::after { opacity: 1; }
}
.testimonial-stars {
  position: relative;
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars .star { width: 17px; height: 17px; fill: var(--border); }
.testimonial-stars .star.is-filled { fill: #f0a92c; }
.testimonial-text {
  position: relative;
  color: var(--ink);
  font-size: .97rem;
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}
/* Typographic quotes come from CSS so the stored text stays clean. */
.testimonial-text::before { content: '\201C'; }
.testimonial-text::after { content: '\201D'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.testimonial-identity { display: flex; flex-direction: column; min-width: 0; }
.testimonial-name {
  color: var(--heading);
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.testimonial-role {
  color: var(--gray);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 42, 82, .08);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.carousel-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-arrow:is(:hover, :active) { background: var(--blue); color: #fff; border-color: var(--blue); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.carousel-dots .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.carousel-dots .dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: width .2s ease, background .2s ease; }
.carousel-dots .dot.active::before { width: 20px; border-radius: 8px; background: var(--blue); }

@media (max-width: 960px) {
  .testimonial-card { flex: 0 0 calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  .testimonials { padding: 62px 0 66px; }
  .testimonials .section-head { margin-bottom: 22px; }
  .testimonial-track { gap: 12px; padding-bottom: 12px; }
  .testimonial-card { flex: 0 0 92%; min-height: 200px; padding: 22px 22px 20px; border-radius: 18px; }
  .testimonial-card::before { font-size: 3.6rem; right: 18px; }
  .testimonial-stars { margin-bottom: 13px; }
  .testimonial-stars .star { width: 15px; height: 15px; }
  .testimonial-text { font-size: .91rem; line-height: 1.64; margin-bottom: 18px; }
  .testimonial-author { gap: 10px; padding-top: 14px; }
  .testimonial-avatar { width: 38px; height: 38px; font-size: .78rem; }
  .testimonial-name { font-size: .88rem; }
  .testimonial-controls { gap: 8px; margin-top: 8px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-dots { gap: 1px; }
  .carousel-dots .dot { width: 22px; }
}

/* Contact */
.contact {
  padding: 82px 0 90px;
  background: radial-gradient(ellipse 690px 460px at 100% 0%, rgba(29, 95, 214, .065), transparent), var(--bg-soft);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  max-width: 1240px;
}
.contact-head { grid-column: 1 / -1; margin-bottom: 8px; }
@media (min-width: 961px) {
  .contact-form { order: 1; }
  .contact-info { order: 2; }
}
.contact-head h2 { max-width: 620px; font-size: clamp(2.2rem, 3.3vw, 3.1rem); line-height: 1.14; letter-spacing: -.024em; margin: 20px 0 14px; }
.contact-head p { max-width: 560px; margin: 0; font-size: 1.01rem; line-height: 1.7; }
.contact-info { display: flex; flex-direction: column; align-self: start; }
.contact-details {
  padding: 2px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(15, 42, 82, .07);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px 0;
}
.info-item + .info-item { border-top: 1px solid var(--border); }
.info-icon {
  background: var(--blue-light);
  color: var(--blue);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-item > div:last-child { min-width: 0; }
.info-item strong {
  display: block;
  color: var(--gray);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 3px;
}
.info-item p { color: var(--heading); font-size: .87rem; font-weight: 600; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.map-link { margin-top: 3px; font-size: .75rem; }
.hours-list { display: grid; gap: 2px; }
.hours-list > span { display: flex; flex-wrap: wrap; gap: 3px 10px; justify-content: space-between; max-width: 250px; }
.hours-list em { color: var(--gray); font-style: normal; font-weight: 600; }
.map-link {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 6px;
}
.map-link:hover { text-decoration: underline; }

.map-embed {
  max-width: 1240px;
  margin: 30px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 42, 82, .09);
}
.map-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; }
.map-header span { display: block; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.map-header strong { display: block; color: var(--heading); font-size: 1.05rem; }
.map-header a { color: var(--blue); font-size: .84rem; font-weight: 800; white-space: nowrap; }
.map-header a:hover { text-decoration: underline; }
.map-embed iframe { display: block; height: 280px; }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-weight: 800;
  color: var(--heading);
  font-size: .8rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.social-links a svg { width: 19px; height: 19px; fill: currentColor; color: var(--brand, var(--blue)); flex-shrink: 0; }
.social-links a:is(:hover, :active) {
  transform: translateY(-2px);
  border-color: var(--brand, var(--blue));
  color: var(--brand, var(--blue));
  box-shadow: 0 10px 24px rgba(15, 42, 82, .11);
}
#socialWhatsapp { --brand: #1faa54; }
#socialViber { --brand: #7360f2; }
#socialFacebook { --brand: #1877f2; }
#socialInstagram { --brand: #d6336c; }

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px 34px 32px;
  box-shadow: 0 26px 54px rgba(15, 42, 82, .11);
  overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #6ea3ff);
}
.contact-form h3 { grid-column: 1 / -1; font-size: 1.35rem; letter-spacing: -.014em; margin: 4px 0 2px; }
.contact-form .form-row { min-width: 0; margin: 0; }
.contact-form .form-row:nth-of-type(n+3),
.contact-form .btn,
.contact-form .form-note { grid-column: 1 / -1; }
.contact-form label { display: block; color: var(--heading); font-size: .83rem; font-weight: 800; margin-bottom: 7px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: .92rem;
  background: var(--input-bg);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.form-row textarea { resize: vertical; min-height: 126px; }
.contact-form .btn { min-height: 52px; border-radius: 10px; margin-top: 3px; }
.form-note {
  margin-top: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--blue); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 0.9rem; margin-bottom: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 3px; fill: none; stroke: #a8c7ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-item span { min-width: 0; overflow-wrap: anywhere; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.12);
  padding: 24px 0;
  font-size: 0.85rem;
}
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-credit { display: flex; gap: 7px; align-items: center; margin: 0; }
.footer-credit strong { color: #c3d8ff; font-weight: 600; }
.footer-domain { color: #fff; font-weight: 600; letter-spacing: .01em; }
.footer-domain span { color: #a8c7ff; margin-left: 7px; }
.footer-domain:hover { color: #a8c7ff; }
.footer-bottom a:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 5px; }
@media (max-width: 600px) {
  .footer-bottom-inner { flex-direction: column; gap: 14px; text-align: center; }
  .footer-domain { order: 3; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; width: 100%; }
}
.admin-link {
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.admin-link:hover { color: #fff; text-decoration: underline; }

/* 404 page */
.notfound-section {
  padding: 110px 0 130px;
  text-align: center;
  min-height: 45vh;
}
.notfound-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}
.notfound-section p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--gray);
}
.notfound-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp / Viber buttons */
.floating-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floating-chat.is-hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
}
.chat-btn {
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 2px 6px rgba(15, 42, 82, 0.18),
    0 10px 24px -6px rgba(15, 42, 82, 0.32);
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.22s ease;
}
.chat-btn svg { width: 23px; height: 23px; display: block; }
.chat-btn:hover,
.chat-btn:focus-visible {
  transform: translateY(-2px) scale(1.06);
  box-shadow:
    0 3px 8px rgba(15, 42, 82, 0.2),
    0 16px 30px -8px rgba(15, 42, 82, 0.4);
}
.chat-btn:active { transform: translateY(0) scale(0.97); }

/* Brand colours, each with a soft top-light so the circles read as objects
   rather than flat dots. */
.chat-btn.whatsapp { background: linear-gradient(160deg, #41dd7d 0%, #21b85a 100%); }
.chat-btn.viber { background: linear-gradient(160deg, #8b7bff 0%, #6354e0 100%); }
.chat-btn.assistant {
  background: linear-gradient(160deg, #2a70e8 0%, #1546a8 100%);
  width: 56px;
  height: 56px;
}
.chat-btn.assistant svg { width: 26px; height: 26px; }

/* One quiet pulse ring on the assistant, so visitors notice it exists. */
.chat-btn.assistant::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(42, 112, 232, 0.55);
  animation: assistant-ring 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes assistant-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-btn.assistant::after { animation: none; opacity: 0; }
  .chat-btn { transition: none; }
}

@media (max-width: 640px) {
  .floating-chat { right: 14px; bottom: 14px; gap: 10px; }
  .chat-btn { width: 46px; height: 46px; }
  .chat-btn svg { width: 21px; height: 21px; }
  .chat-btn.assistant { width: 52px; height: 52px; }
  .chat-btn.assistant svg { width: 24px; height: 24px; }
}

/* Assistant (chatbot) widget */
.assistant-panel {
  position: fixed;
  right: 22px;
  bottom: 98px;
  width: 400px;
  max-width: calc(100vw - 44px);
  max-height: min(710px, calc(100vh - 114px));
  max-height: min(710px, calc(100dvh - 114px));
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(8, 27, 56, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 250;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.assistant-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.assistant-header {
  background: #15365e;
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.assistant-brand-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 11px;
  background: rgba(255,255,255,.14);
}
.assistant-brand-text { flex: 1; font-size: .98rem; font-weight: 800; letter-spacing: -.01em; }
.assistant-panel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assistant-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.assistant-close:hover { background: rgba(255,255,255,.25); }
.assistant-close svg { width: 17px; height: 17px; }
.assistant-body {
  padding: 20px;
  background: var(--bg-soft);
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.assistant-intro { margin: 0 0 18px; max-width: 290px; color: var(--heading); font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.4; }
.assistant-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 20px; }
.assistant-shortcuts .assistant-menu-btn { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px; margin: 0; min-height: 98px; border-radius: 14px; }
.assistant-shortcuts .assistant-menu-icon { flex-basis: 33px; }
.assistant-shortcuts .assistant-menu-chevron { position: absolute; top: 20px; right: 12px; opacity: .65; }
.assistant-shortcuts .assistant-menu-label { flex: none; font-size: .82rem; }
.assistant-panel button:focus-visible, .assistant-panel a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.assistant-panel .assistant-close:focus-visible { outline-color: #fff; }
.assistant-group-label { margin: 14px 0 8px; color: var(--gray); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.assistant-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 10px;
  min-height: 51px;
  margin-bottom: 7px;
  font-size: .85rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.assistant-menu-btn:is(:hover, :active, :focus-visible) { background: var(--blue-light); border-color: var(--blue); }
@media (hover: hover) { .assistant-menu-btn:hover { transform: translateX(2px); } }
.assistant-menu-icon { display: grid; place-items: center; flex: 0 0 33px; width: 33px; height: 33px; border-radius: 9px; background: var(--blue-light); color: var(--blue); }
.assistant-menu-icon svg { width: 18px; height: 18px; }
.assistant-menu-label { flex: 1; line-height: 1.35; }
.assistant-menu-chevron { display: grid; place-items: center; color: var(--gray); }
.assistant-menu-chevron svg { width: 16px; height: 16px; }
.assistant-search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--input-bg);
  color: var(--ink);
}
.assistant-search-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.assistant-result-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}
.assistant-result-btn:is(:hover, :active) { background: var(--blue-light); border-color: var(--blue); }
.assistant-answer {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 16px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.assistant-answer strong { display: block; margin-bottom: 8px; color: var(--heading); }
.assistant-answer-heading { display: flex !important; align-items: flex-start; gap: 9px; }
.assistant-answer-heading svg { flex: 0 0 20px; color: var(--blue); margin-top: 2px; }
.assistant-answer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}
.assistant-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 7px 10px;
  margin-bottom: 12px;
  font-family: inherit;
}
.assistant-back svg { width: 16px; height: 16px; }
.assistant-back:hover { border-color: var(--blue); background: var(--blue-light); }
.assistant-action-link { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding: 11px 14px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: .86rem; text-decoration: none; }
.assistant-action-link:hover { filter: brightness(1.07); }
.assistant-action-link svg { width: 16px; height: 16px; }
.assistant-empty { color: var(--gray); font-size: 0.85rem; margin-bottom: 10px; }
.assistant-footer {
  border-top: 1px solid var(--border);
  padding: 14px 18px 16px;
  font-size: .74rem;
  color: var(--gray);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.assistant-footer #assistantFooterLinks { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.assistant-footer .assistant-contact-link { justify-content: center; flex: 1 1 auto; min-height: 44px; border-radius: 10px; }
.assistant-contact-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--blue); font-size: .75rem; font-weight: 800; text-decoration: none !important; }
.assistant-contact-link svg { width: 15px; height: 15px; }
.assistant-contact-link:hover { border-color: var(--blue); background: var(--blue-light); }
.assistant-answer .assistant-contact-link { margin: 3px 5px 3px 0; }

@media (max-width: 640px) {
  .assistant-panel { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 22px; }
  .assistant-body { padding: 16px; }
  .assistant-header { padding: 13px 16px; }
  .assistant-intro { font-size: 1.15rem; }
  .assistant-menu-btn { min-height: 49px; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual { height: 320px; margin-top: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1280px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 22px 48px rgba(15, 42, 82, .17);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height .34s ease, opacity .24s ease, transform .28s ease;
  }
  .main-nav.open { max-height: min(76vh, 680px); overflow-y: auto; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav > .nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px;
    gap: 8px;
  }
  .nav-list > li {
    min-height: 50px;
    min-width: 0;
    flex-wrap: wrap;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s ease, background .2s ease;
  }
  .nav-list > li:is(:hover, :focus-within) { border-color: var(--blue); }
  .nav-list > li:not(:last-child)::after { display: none; }
  .nav-list > li > a {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 10px 14px;
    border-radius: 11px;
    font-size: .88rem;
    letter-spacing: .01em;
  }
  .nav-list > li:first-child > a { padding-left: 14px; }
  .nav-list > li:last-child > a { padding-right: 14px; }
  .nav-list > li > a:hover,
  .nav-list > li > a.active { background: var(--blue-light); }
  .nav-list > li > a::after { display: none; }
  .nav-dropdown-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 50px;
    margin: 0;
    border-left: 1px solid var(--border);
    border-radius: 0 11px 11px 0;
    color: var(--blue);
  }
  .nav-dropdown-toggle:hover { background: var(--blue-light); }
  .nav-dropdown.open { border-color: var(--blue); }
  .nav-submenu {
    position: static;
    width: 100%;
    margin: 0;
    padding: 8px;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0 0 11px 11px;
    background: var(--bg);
    box-shadow: none;
  }
  .nav-submenu a { padding: 10px; font-size: .83rem; }
  .header-controls { margin-left: auto; }
  .nav-toggle { display: flex; }
  .main-nav.open > .nav-list > li { animation: nav-item-in .3s ease both; }
  .main-nav.open > .nav-list > li:nth-child(2) { animation-delay: .035s; }
  .main-nav.open > .nav-list > li:nth-child(3) { animation-delay: .07s; }
  .main-nav.open > .nav-list > li:nth-child(4) { animation-delay: .105s; }
  .main-nav.open > .nav-list > li:nth-child(5) { animation-delay: .14s; }
  .main-nav.open > .nav-list > li:nth-child(6) { animation-delay: .175s; }
}

@keyframes nav-item-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .header-inner { min-height: 80px; gap: 12px; }
  .logo-img { height: 29px; }
  .main-nav > .nav-list { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .nav-list > li > a { min-height: 51px; }
  .nav-cta { display: none; }
  .services { padding: 56px 0; }
  .services .section-head { text-align: left; margin-bottom: 26px; }
  .services .section-head h2 { max-width: 440px; }
  .services .section-head p { font-size: .95rem; line-height: 1.65; margin-top: 12px; }
  .services .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .services .service-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px 14px;
    align-content: start;
    min-height: 0;
    padding: 20px;
  }
  .services .service-card:hover { transform: none; }
  .services .service-icon {
    grid-row: 1;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 13px;
  }
  .services .service-icon svg { width: 24px; height: 24px; }
  .services .service-card h3 {
    grid-column: 2;
    font-size: 1.06rem;
    margin: 0;
  }
  .services .service-card p {
    grid-column: 1 / -1;
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; padding: 0 16px; }
  .logo-img { height: 26px; }
  .language-control { width: 48px; }
  .language-globe { width: 24px; height: 24px; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
  .header-controls { gap: 5px; }
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 70px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

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

@media (max-width: 960px) {
  .hero-inner { gap: 20px; }
  .hero-visual { width: 100%; max-width: 640px; height: 380px; margin: 0 auto; }
  .card-1 { left: 14px; }
  .card-2 { right: 14px; }
}

@media (max-width: 640px) {
  .hero { padding: 32px 0 54px; }
  .hero-text::before { width: 42px; margin-bottom: 14px; }
  .hero-text h1 { font-size: clamp(2.25rem, 7vw, 2.8rem); margin-bottom: 14px; }
  .hero-text p { font-size: 0.96rem; line-height: 1.58; margin-bottom: 18px; }
  .hero-actions { gap: 10px; margin-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 150px; min-height: 46px; padding: 10px 14px; font-size: 0.85rem; }
  .hero-stats { gap: 0; padding: 10px 3px; }
  .hero-stats .stat { padding: 0 9px; }
  .hero-stats .stat strong { font-size: 1.35rem; }
  .hero-stats .stat span { font-size: 0.68rem; line-height: 1.35; display: block; }
  .hero-visual { height: 300px; margin-top: 0; }
  .hero-blob,
  .hero-visual::after { border-radius: 24px; }
  .hero-visual .hero-card { max-width: min(82%, 260px); padding: 11px 13px; gap: 9px; border-radius: 12px; }
  .hero-card .icon { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; }
  .hero-card .icon svg { width: 20px; height: 20px; }
  .hero-card p { font-size: 0.78rem; }
  .card-1 { top: 12px; left: 12px; }
  .card-2 { bottom: 12px; right: 12px; }
}

@media (max-width: 960px) {
  .about-inner { gap: 32px; }
  .about-visual { width: 100%; max-width: 640px; margin: 0 auto; }
  .about-frame { aspect-ratio: 1.24; }
}

@media (max-width: 640px) {
  .about { padding: 62px 0; }
  .about-inner { gap: 30px; }
  .about-frame { aspect-ratio: 1.26; border-radius: 20px; }
  .about-visual::before { left: -10px; bottom: -10px; border-radius: 20px; }
  .about-text h2 { font-size: clamp(1.9rem, 6vw, 2.3rem); margin-bottom: 16px; }
  .about-text p { font-size: .92rem; line-height: 1.65; margin-bottom: 20px; }
  .about-list { grid-template-columns: 1fr; gap: 8px; }
  .about-list li { font-size: .86rem; padding: 12px 12px 12px 40px; }
  .about-list li:before { top: 11px; left: 10px; }
  .why-us { padding: 48px 0; }
  .why-us > .container { gap: 28px; }
  .why-us .section-head { margin: 0; }
  .why-us .section-head h2 { font-size: 2rem; max-width: 340px; }
  .why-us .eyebrow { margin-bottom: 14px; font-size: .7rem; }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .why-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 14px;
    min-height: 0;
    padding: 20px 0;
  }
  .why-icon { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 2; align-self: start; }
  .why-icon svg { width: 23px; height: 23px; }
  .why-card h3 { margin: 0; font-size: 1.03rem; }
  .why-card p { grid-column: 2; font-size: .9rem; line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .services .service-card,
  .services .service-icon,
  .why-card,
  .nav-toggle svg,
  .main-nav,
  .nav-list > li > a::after { transition: none; }
  .main-nav.open > .nav-list > li { animation: none; }
}

@media (max-width: 960px) {
  .contact-inner { gap: 28px; }
  .contact-head h2 { max-width: 640px; }
}

@media (max-width: 640px) {
  .contact { padding: 54px 0 60px; }
  .contact-inner { gap: 22px; }
  .contact-head { margin-bottom: 0; }
  .contact-head .eyebrow { margin-bottom: 10px; }
  .contact-head h2 { font-size: clamp(2rem, 7vw, 2.45rem); margin: 0 0 10px; }
  .contact-head p { font-size: .92rem; margin-bottom: 0; }
  .contact-details { padding: 4px 17px; border-radius: 17px; }
  .info-item { gap: 13px; padding: 16px 0; }
  .info-icon { width: 40px; height: 40px; border-radius: 12px; }
  .info-item p { font-size: .88rem; }
  .hours-list > span { max-width: none; }
  /* On phones the social row sits above the address/phone card. */
  .contact-details { order: 2; }
  /* Icon-only pills on phones - the name is carried by aria-label. */
  .social-links { order: 1; gap: 9px; margin: 0 0 16px; }
  .social-links a { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 50%; gap: 0; }
  .social-links a svg { width: 21px; height: 21px; }
  .social-label { display: none; }
  .contact-form { grid-template-columns: 1fr; gap: 13px; padding: 24px 20px 22px; border-radius: 18px; }
  .contact-form h3 { font-size: 1.25rem; }
  .contact-form .form-row { grid-column: 1 / -1; }
  .contact-form label { font-size: .83rem; }
  .form-row textarea { min-height: 110px; }
  .map-embed { margin-top: 22px; border-radius: 16px; }
  .map-header { align-items: flex-start; flex-wrap: wrap; gap: 8px 16px; padding: 17px; }
  .map-header strong { font-size: .98rem; }
  .map-header a { font-size: .8rem; }
  .map-embed iframe { height: 225px; }
}

/* Full-width homepage banner */
.hero-booking {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  padding: 92px 0 84px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 20, 44, .86) 0%, rgba(5, 20, 44, .6) 42%, rgba(5, 20, 44, .28) 70%, rgba(5, 20, 44, .12) 100%),
    linear-gradient(0deg, rgba(5, 20, 44, .18), transparent 55%),
    url('../images/bannerE.png') center 52% / cover no-repeat;
}
.hero-booking .hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 1240px;
}
.hero-booking .hero-text { max-width: 690px; }
.hero-booking .hero-text::before { width: 60px; height: 3px; margin-bottom: 24px; background: #c9dcf5; }
.hero-booking .hero-text h1 {
  max-width: 670px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hero-booking .hero-text h1 .highlight { display: block; color: #c9dcf5; }
.hero-booking .hero-text p {
  max-width: 590px;
  margin: 0 0 28px;
  color: #edf2f8;
  font-weight: 500;
  font-size: 1.04rem;
  line-height: 1.66;
}
.hero-booking .hero-actions { align-items: center; gap: 23px; margin: 0 0 32px; }
.hero-booking .hero-actions .btn { min-height: 52px; padding-inline: 24px; background: #2463cd; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; box-shadow: 0 8px 24px rgba(8,26,50,.2); }
.hero-booking .hero-actions .btn:hover { background: #1c51ae; }
.hero-booking .hero-actions a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.hero-services-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  font-size: .91rem;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease;
}
.hero-services-link::after { content: '→'; margin-left: 10px; font-size: 1.2rem; }
.hero-services-link:hover { color: #bfd6ff; border-color: #bfd6ff; }
.hero-booking .hero-stats {
  max-width: 600px;
  padding: 20px 9px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(225, 236, 250, .1);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
}
.hero-booking .hero-stats .stat + .stat { border-color: rgba(255,255,255,.2); }
.hero-booking .hero-stats .stat strong { color: #fff; }
.hero-booking .hero-stats .stat span { color: #e1e9f4; font-weight: 500; }
@media (max-width: 640px) {
  .hero-booking {
    min-height: 0;
    padding: 48px 0 38px;
    background:
      linear-gradient(180deg, rgba(5,20,44,.89) 0%, rgba(5,20,44,.8) 54%, rgba(5,20,44,.76) 100%),
      url('../images/bannerE.png') 48% center / cover no-repeat;
  }
  .hero-booking .hero-text::before { width: 44px; margin-bottom: 20px; }
  .hero-booking .hero-text h1 { font-size: clamp(2.55rem, 9.5vw, 3.7rem); margin-bottom: 22px; letter-spacing: -.04em; }
  .hero-booking .hero-text p { font-size: .95rem; line-height: 1.75; margin-bottom: 26px; }
  .hero-booking .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; }
  .hero-booking .hero-actions .btn { min-height: 50px; padding: 12px 8px; font-size: .83rem; }
  .hero-services-link { justify-content: center; min-height: 50px; padding: 10px 6px; font-size: .83rem; }
  .hero-services-link::after { margin-left: 6px; }
  .hero-booking .hero-stats { padding: 17px 5px; border-radius: 14px; }
  .hero-booking .hero-stats .stat { padding: 0 8px; }
  .hero-booking .hero-stats .stat strong { font-size: 1.4rem; margin-bottom: 4px; }
  .hero-booking .hero-stats .stat span { font-size: .68rem; }
}
@media (max-width: 380px) {
  .hero-booking .hero-actions .btn { padding: 10px 6px; font-size: .78rem; }
  .hero-services-link { font-size: .78rem; }
  .hero-services-link::after { display: none; }
}

@media (max-width: 360px) {
  .site-header .logo-img { height: auto; width: 130px; }
}

/* Keep mobile introductions centered after the section-specific rules. */
@media (max-width: 640px) {
  .services .section-head,
  .why-us .section-head { width: 100%; text-align: center; margin-inline: auto; }
  .services .section-head h2,
  .why-us .section-head h2 { margin-inline: auto; }
}
