/* Iron Watch — production stylesheet
   Built from design/Home.dc.html + design/tokens.json. Mobile-first, logical
   properties throughout so the same file serves Arabic (RTL) and English (LTR). */

:root {
  /* Colors */
  --navy-primary: #04101c;
  --navy-secondary: #0b2133;
  --mint-primary: #00c4c4;
  --mint-secondary: #2ee6e6;
  --mint-light: #bdeded;
  --teal-deep: #00707c;
  --slate: #2a4459;
  --bg-light: #f3fafb;
  --white: #ffffff;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 8px 24px rgba(4, 16, 28, 0.08);
  --shadow-card: 0 4px 16px rgba(4, 16, 28, 0.06), 0 1px 2px rgba(4, 16, 28, 0.06);
  --shadow-elevated: 0 16px 40px rgba(4, 16, 28, 0.14);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;

  /* Type families (overridden by [lang] below) */
  --font-display: "Space Grotesk", ui-sans-serif, sans-serif;
  --font-body: "Inter", ui-sans-serif, sans-serif;
  --font-arabic: "Cairo", ui-sans-serif, sans-serif;

  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body {
  font-family: var(--font-arabic);
  line-height: 1.75;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--mint-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint-primary);
  flex-shrink: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  color: var(--navy-primary);
}

html[lang="ar"] .section-head h2 {
  font-family: var(--font-arabic);
  line-height: 1.4;
}

.section-head p {
  font-size: 17px;
  color: var(--slate);
}

section.band {
  padding-block: clamp(56px, 8vw, 104px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding-inline: 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-standard), filter var(--duration-base) var(--ease-standard);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint-primary);
  color: var(--navy-primary);
  box-shadow: 0 8px 24px rgba(0, 196, 196, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
}

.btn-sm {
  height: 46px;
  padding-inline: 20px;
  border-radius: 14px;
  font-size: 15px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy-primary);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.link-arrow .arrow {
  color: var(--teal-deep);
}

/* ---------------------------------- */
/* Announcement bar                   */
/* ---------------------------------- */
#announce-bar {
  background: var(--navy-primary);
  border-bottom: 1px solid rgba(0, 196, 196, 0.22);
}

#announce-bar .bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 28px;
}

#announce-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--mint-primary);
  flex-shrink: 0;
}

#announce-bar p {
  font-size: 14px;
  color: var(--mint-primary);
  text-align: center;
}

#announce-bar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

#announce-bar button {
  margin-inline-start: auto;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mint-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

#announce-bar.is-hidden {
  display: none;
}

/* ---------------------------------- */
/* Header / Nav / Hero                */
/* ---------------------------------- */
header.hero {
  position: relative;
  background: var(--navy-primary);
  overflow: hidden;
}

.radar {
  position: absolute;
  pointer-events: none;
  width: 560px;
  height: 560px;
  top: -60px;
  opacity: 0.55;
  z-index: 0;
}

html[dir="rtl"] .radar { inset-inline-start: -300px; }
html[dir="ltr"] .radar { inset-inline-end: -300px; }

@media (min-width: 900px) {
  .radar {
    width: 860px;
    height: 860px;
    top: -90px;
    opacity: 0.9;
  }
  html[dir="rtl"] .radar { inset-inline-start: -200px; }
  html[dir="ltr"] .radar { inset-inline-end: -200px; }
}

.radar .spin-slow { transform-origin: 400px 400px; animation: spin 90s linear infinite; }
.radar .spin-slow-rev { transform-origin: 400px 400px; animation: spin-rev 70s linear infinite; }
.radar .sweep { transform-origin: 400px 400px; animation: spin 14s linear infinite; }
.radar .blip-a { animation: blink 5s ease-in-out infinite; }
.radar .blip-b { animation: blink 6s ease-in-out infinite reverse; }
.radar .blip-c { animation: blink 7s ease-in-out infinite; }
.radar .blip-d { animation: blink 5.5s ease-in-out infinite reverse; }
.radar .blip-e { animation: blink 6.5s ease-in-out infinite; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.85; } }

@media (prefers-reduced-motion: reduce) {
  .radar .spin-slow, .radar .spin-slow-rev, .radar .sweep,
  .radar .blip-a, .radar .blip-b, .radar .blip-c, .radar .blip-d, .radar .blip-e {
    animation: none !important;
  }
}

nav.main-nav {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 40px);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (min-width: 900px) {
  .nav-inner { height: 84px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

@media (min-width: 900px) {
  .nav-logo img { height: 42px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  margin-inline-start: 24px;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-actions-desktop {
  display: none;
  margin-inline-start: auto;
  align-items: center;
  gap: 14px;
}

@media (min-width: 900px) {
  .nav-actions-desktop { display: flex; }
}

.lang-switch {
  display: flex;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lang-switch a {
  height: 34px;
  min-width: 44px;
  padding-inline: 10px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
}

.lang-switch a[aria-current="true"] {
  background: var(--mint-primary);
  color: var(--navy-primary);
}

.lang-switch a:first-child { font-family: Cairo, sans-serif; }
.lang-switch a:last-child { font-family: "Space Grotesk", sans-serif; }

.nav-actions-mobile {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 900px) {
  .nav-actions-mobile { display: none; }
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 14px;
  border-radius: 12px;
  background: var(--mint-primary);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .cta-pill { height: 46px; padding-inline: 22px; font-size: 15px; border-radius: 14px; }
}

#menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 20;
  background: var(--navy-secondary);
  border-radius: 0 0 24px 24px;
  padding: 8px 20px 24px;
  box-shadow: 0 16px 40px rgba(4, 16, 28, 0.35);
}

#mobile-menu.is-open {
  display: block;
}

#mobile-menu a.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu .menu-link .arrow {
  color: var(--mint-primary);
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
}

.mobile-lang-row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.mobile-lang-row .lang-switch a {
  height: 40px;
  min-width: 52px;
  font-size: 15px;
}

@media (min-width: 900px) {
  #mobile-menu { display: none !important; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 40px) clamp(64px, 9vw, 120px);
}

@media (min-width: 900px) {
  .hero-content { padding-top: 96px; }
}

.hero-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 26px);
}

.badge-eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 196, 196, 0.12);
  border: 1px solid rgba(0, 196, 196, 0.35);
  color: var(--mint-primary);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 66px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

html[lang="ar"] .hero-inner h1 {
  font-family: var(--font-arabic);
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-inner > p {
  max-width: 620px;
  font-size: clamp(16.5px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.82);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

.hero-ctas .btn {
  flex: 1 1 100%;
}

@media (min-width: 900px) {
  .hero-ctas .btn { flex: 0 0 auto; }
}

.hero-points {
  list-style: none;
  padding: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint-light);
  font-size: 14.5px;
}

.hero-points svg { flex-shrink: 0; }

/* ---------------------------------- */
/* Trust strip                        */
/* ---------------------------------- */
.trust {
  background: var(--bg-light);
  border-bottom: 1px solid rgba(189, 237, 237, 0.6);
}

.trust-inner {
  padding-block: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trust-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.trust-grid li {
  background: var(--white);
  border: 1px solid rgba(189, 237, 237, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-grid .code {
  direction: ltr;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-primary);
  text-align: start;
}

.trust-grid .name {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--slate);
}

/* ---------------------------------- */
/* Problem/solution cards              */
/* ---------------------------------- */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.prob-card {
  background: var(--bg-light);
  border: 1px solid rgba(189, 237, 237, 0.7);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prob-top, .prob-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prob-top { flex-grow: 1; }

.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(189, 237, 237, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge.solved {
  background: var(--mint-primary);
  border: none;
}

.row-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-label span.lbl {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
}

.prob-card .pain {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-primary);
}

html[lang="ar"] .prob-card .pain { font-family: var(--font-arabic); }

.hr {
  height: 1px;
  background: rgba(189, 237, 237, 0.9);
}

.prob-card h3 {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-primary);
}

html[lang="ar"] .prob-card h3 { font-family: var(--font-arabic); }

.prob-card .line {
  font-size: 15px;
  color: var(--slate);
}

/* ---------------------------------- */
/* Services grid                       */
/* ---------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.svc-card {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 8px 24px rgba(4, 16, 28, 0.07);
  border: 1px solid rgba(189, 237, 237, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(189, 237, 237, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-primary);
}

html[lang="ar"] .svc-card h3 { font-family: var(--font-arabic); }

.svc-card p {
  font-size: 15px;
  color: var(--slate);
  flex-grow: 1;
}

/* ---------------------------------- */
/* CyberSecurity365 band                */
/* ---------------------------------- */
.cs365-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy-primary);
  border-radius: 28px;
  padding: clamp(26px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.cs365-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs365-tagrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 196, 196, 0.14);
  border: 1px solid rgba(0, 196, 196, 0.45);
  color: var(--mint-primary);
  font-size: 13px;
  font-weight: 600;
}

.cs-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9px;
  background: var(--mint-primary);
}

.cs365-by { color: var(--mint-light); font-size: 13.5px; }

.cs365-copy h2 {
  direction: ltr;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: var(--white);
  text-align: start;
}

.cs365-copy h2 .accent { color: var(--mint-primary); }

.cs365-copy > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.84);
}

.cs365-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  padding-top: 4px;
}

.cs365-feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cs365-feature .ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 196, 196, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs365-feature h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.cs365-feature p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.cs365-ea {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs365-ea form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs365-ea label {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.cs365-ea .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs365-ea input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
}

.cs365-ea button {
  flex: 0 1 auto;
}

@media (max-width: 899px) {
  .cs365-ea button { flex-grow: 1; }
}

.success-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 196, 196, 0.14);
  border: 1px solid rgba(0, 196, 196, 0.45);
  color: var(--white);
  font-size: 15px;
}

.cs365-ring {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs365-ring-inner {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: var(--navy-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .cs365-ring-inner { max-width: 440px; }
}

.cs365-ring .ring-rotate {
  transform-origin: 200px 200px;
  animation: spin 120s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cs365-ring .ring-rotate { animation: none !important; }
}

/* ---------------------------------- */
/* Academy                             */
/* ---------------------------------- */
.academy-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.academy-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(4, 16, 28, 0.07);
  border: 1px solid rgba(189, 237, 237, 0.45);
  display: flex;
  flex-direction: column;
}

.academy-cover {
  position: relative;
  height: 132px;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-secondary));
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.academy-cover .tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 196, 196, 0.16);
  border: 1px solid rgba(0, 196, 196, 0.5);
  color: var(--mint-primary);
  font-size: 12.5px;
  font-weight: 600;
}

.academy-cover .ico {
  align-self: flex-start;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(0, 196, 196, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.academy-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-primary);
}

html[lang="ar"] .academy-body h3 { font-family: var(--font-arabic); }

.academy-body p {
  font-size: 14px;
  color: var(--slate);
  flex-grow: 1;
}

/* ---------------------------------- */
/* How we work + proof placeholder      */
/* ---------------------------------- */
.how-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.how-step {
  border: 1px solid rgba(189, 237, 237, 0.9);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}

.how-step-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-step-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--navy-primary);
  color: var(--mint-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.how-step-rule {
  flex-grow: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint-primary), var(--teal-deep));
  opacity: 0.5;
}

.how-step h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-primary);
}

html[lang="ar"] .how-step h3 { font-family: var(--font-arabic); }

.how-step p { font-size: 15px; color: var(--slate); }

.proof-box {
  margin-top: clamp(28px, 4vw, 44px);
  border: 2px dashed var(--mint-light);
  border-radius: 24px;
  background: var(--bg-light);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proof-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.proof-top .tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mint-light);
  color: var(--navy-primary);
  font-size: 12.5px;
  font-weight: 700;
}

.proof-top p { font-size: 15px; color: var(--slate); }

.proof-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.proof-slots .slot {
  height: 64px;
  border-radius: 16px;
  border: 1.5px dashed var(--mint-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 13px;
}

/* ---------------------------------- */
/* Contact                             */
/* ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(189, 237, 237, 0.7);
  border-radius: 20px;
  padding: 14px 16px;
}

.contact-list .ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(189, 237, 237, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list .label {
  font-size: 13px;
  color: var(--slate);
}

.contact-list .value {
  direction: ltr;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-primary);
  text-decoration: none;
  text-align: start;
  display: block;
}

.contact-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(4, 16, 28, 0.1);
  border: 1px solid rgba(189, 237, 237, 0.5);
  padding: clamp(20px, 4vw, 36px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-primary);
}

.field input,
.field select {
  height: 50px;
  padding-inline: 14px;
  border-radius: 14px;
  border: 1px solid var(--mint-light);
  background: var(--bg-light);
  color: var(--navy-primary);
  font-family: inherit;
  font-size: 15px;
  width: 100%;
}

.field input:invalid.touched,
.field select:invalid.touched {
  border-color: #e4572e;
}

.field .error-msg {
  display: none;
  font-size: 12.5px;
  color: #e4572e;
}

.field.has-error .error-msg { display: block; }
.field.has-error input,
.field.has-error select { border-color: #e4572e; }

.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.form-submit-row button {
  height: 54px;
  border: 0;
  border-radius: 16px;
  background: var(--mint-primary);
  color: var(--navy-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.form-submit-row button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-submit-row .legal {
  font-size: 13px;
  color: var(--slate);
}

.form-submit-row .legal a {
  color: var(--navy-primary);
  font-weight: 600;
  text-decoration: underline;
}

.form-error-banner {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(228, 87, 46, 0.1);
  border: 1px solid rgba(228, 87, 46, 0.3);
  color: #b43d1f;
  font-size: 14px;
}

.form-error-banner.is-visible { display: block; }

.thanks-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}

.thanks-box .check {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--mint-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-box h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-primary);
}

html[lang="ar"] .thanks-box h3 { font-family: var(--font-arabic); }

.thanks-box p { font-size: 15.5px; color: var(--slate); }

[hidden] { display: none !important; }

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
footer.site-footer {
  background: var(--navy-primary);
  color: var(--white);
}

.footer-inner {
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 40px) 28px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  align-self: flex-start;
}

.footer-brand .tagline {
  direction: ltr;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--mint-primary);
  text-align: start;
}

.footer-brand p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 40px;
  align-content: start;
}

.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 15px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-social .icons {
  display: flex;
  gap: 10px;
}

.footer-social .icons a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------- */
/* Cookie banner                       */
/* ---------------------------------- */
#cookie-banner {
  position: fixed;
  z-index: 40;
  bottom: 16px;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--mint-light);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(4, 16, 28, 0.18);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 900px) {
  #cookie-banner { inset-inline-end: auto; }
}

#cookie-banner.is-hidden { display: none; }

.cookie-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cookie-row .ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(189, 237, 237, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-row p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--navy-primary);
}

.cookie-row a { color: var(--navy-primary); font-weight: 600; }

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  flex: 1 1 0;
  height: 44px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
}

.cookie-actions .accept {
  border: 0;
  background: var(--mint-primary);
  color: var(--navy-primary);
  font-weight: 700;
}

.cookie-actions .decline {
  border: 1.5px solid var(--navy-primary);
  background: var(--white);
  color: var(--navy-primary);
  font-weight: 600;
}

/* ---------------------------------- */
/* Chat widget                         */
/* ---------------------------------- */
#chat-widget {
  position: fixed;
  z-index: 41;
  bottom: 16px;
  inset-inline-end: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

#chat-widget.cookie-open { bottom: 190px; }

@media (min-width: 900px) {
  #chat-widget.cookie-open { bottom: 16px; }
}

#chat-panel {
  width: 300px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(4, 16, 28, 0.2);
  border: 1px solid rgba(189, 237, 237, 0.7);
}

#chat-panel.is-hidden { display: none; }

.chat-head {
  background: var(--navy-primary);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-head .title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

html[lang="ar"] .chat-head .title { font-family: var(--font-arabic); }

.chat-head .sub { font-size: 13px; color: var(--mint-light); }

.chat-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-body p { font-size: 14px; color: var(--slate); }

.chat-body a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

.chat-body a.wa {
  background: var(--mint-primary);
  color: var(--navy-primary);
}

.chat-body a.book {
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
  font-weight: 600;
}

#chat-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 20px;
  background: var(--mint-primary);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(4, 16, 28, 0.28);
  padding: 0;
}

#chat-toggle .icon-close { display: none; }
#chat-toggle.is-open .icon-chat { display: none; }
#chat-toggle.is-open .icon-close { display: block; }

/* ---------------------------------- */
/* Simple content pages (privacy)      */
/* ---------------------------------- */
.content-page {
  background: var(--bg-light);
  min-height: 60vh;
}

.content-page .container {
  padding-block: clamp(56px, 8vw, 96px);
}

.content-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

html[lang="ar"] .content-page h1 { font-family: var(--font-arabic); }

.content-page .updated {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 36px;
}

.content-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-top: 36px;
  margin-bottom: 10px;
}

html[lang="ar"] .content-page h2 { font-family: var(--font-arabic); }

.content-page p, .content-page li {
  font-size: 15.5px;
  color: var(--slate);
  margin-bottom: 12px;
}

.content-page ul { padding-inline-start: 22px; }

.content-page a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-weight: 600;
  color: var(--navy-primary);
  text-decoration: none;
}

/* ---------------------------------- */
/* 404 page                            */
/* ---------------------------------- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  text-align: center;
  padding: 40px 20px;
}

.error-page .code {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1;
}
