/* ---------- Fonts (IBM Plex Sans Arabic, SIL OFL, self-hosted) ---------- */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/fonts/plex-arabic-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/fonts/plex-arabic-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/fonts/plex-arabic-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("/fonts/plex-arabic-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

/* ---------- Brand palette (from the logo's glass tower and campaign navy/sky) ---------- */
:root {
  --navy-900: #071a2e;
  --navy: #0b2540;
  --navy-700: #12365a;
  --teal: #1a6b88;        /* text-safe teal, 6.0:1 on white */
  --glass: #4f93a8;       /* logo glass, decorative only */
  --glass-light: #9fd6e6;
  --sky: #19a9e6;         /* call-to-action, use with navy text */
  --sky-light: #5fc3ef;
  --ice: #eef5f8;
  --ink: #0d1b2a;
  --muted: #566573;
  --on-navy: #a9c6d3;
  --line: #dbe5ea;
  --white: #fff;
  --error: #b42318;
  --radius: 4px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .22, 1);
  --font: "Plex Arabic", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.75 var(--font); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--sky); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: var(--radius); font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-sky { background: var(--sky); color: var(--navy-900); }
.btn-sky:hover { background: var(--sky-light); box-shadow: 0 10px 30px -10px rgba(25, 169, 230, .7); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(-5px); }
.link-arrow { color: var(--teal); font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(-6px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), height .4s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,26,46,.6), transparent); pointer-events: none; transition: opacity .4s; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(7,26,46,.35); --header-h: 72px; }
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 22px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 23px; letter-spacing: .01em; }
.brand-tag { font-size: 11.5px; opacity: .8; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.nav { list-style: none; display: flex; gap: 30px; font-weight: 500; font-size: 16px; }
.nav a { position: relative; text-decoration: none; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 11px 20px; font-size: 15px; }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--sky); }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-open .menu-icon { background: transparent; }
  .menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; }
  .site-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 40px; background: var(--navy-900) linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); clip-path: circle(0 at 40px 40px); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; }
  .menu-open .site-nav { clip-path: circle(150% at 40px 40px); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav { flex-direction: column; align-items: center; gap: 18px; font-size: 24px; }
  .menu-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-900); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 24s infinite; }
.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 6s; }
.hero-slides img:nth-child(3) { animation-delay: 12s; }
.hero-slides img:nth-child(4) { animation-delay: 18s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1.12); }
  4% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(7,26,46,.82) 0%, rgba(7,26,46,.45) 55%, rgba(7,26,46,0) 85%), linear-gradient(to top, rgba(7,26,46,.9) 0%, rgba(7,26,46,.35) 50%, rgba(7,26,46,.2) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + 40px) clamp(64px, 10vh, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--teal); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero .eyebrow, .on-dark .eyebrow { color: var(--sky-light); }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 6vw, 84px); max-width: 15ch; line-height: 1.2; }
.hero h1 .accent { color: var(--sky-light); }
.hero .lead { margin-top: 22px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 21px); color: #d4e4ec; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-load > * { opacity: 0; animation: rise 1s var(--ease) forwards; }
.hero-load > :nth-child(2) { animation-delay: .15s; }
.hero-load > :nth-child(3) { animation-delay: .3s; }
.hero-load > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 1; inset-inline-start: var(--pad); bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: clamp(380px, 58vh, 600px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-900); }
.page-hero-compact { min-height: clamp(300px, 42vh, 420px); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 18s ease-out forwards; }
@keyframes drift { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,46,.95), rgba(7,26,46,.45)); }
.page-hero.glass-bg::after { background: none; }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: calc(var(--header-h) + 32px) 56px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 64px); }
.page-hero p { margin-top: 12px; max-width: 56ch; color: #d4e4ec; font-size: 18px; }
.crumbs { list-style: none; display: flex; gap: 10px; font-size: 14px; color: var(--on-navy); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* Curtain-wall grid motif: thin mullion lines over navy */
.glass-bg { background-color: var(--navy); background-image:
  linear-gradient(115deg, rgba(95,195,239,.18), transparent 45%),
  repeating-linear-gradient(90deg, rgba(159,214,230,.14) 0 1px, transparent 1px 88px),
  repeating-linear-gradient(0deg, rgba(159,214,230,.10) 0 1px, transparent 1px 132px); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-ice { background: var(--ice); }
.section-navy { background: var(--navy); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 46px); max-width: 20ch; }
.section-head p { max-width: 46ch; color: var(--muted); }
.section-navy .section-head p { color: var(--on-navy); }

/* Intro / statement */
.statement { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement h2 { font-size: clamp(28px, 3.2vw, 44px); margin-top: 12px; }
.statement p { margin-top: 20px; color: var(--muted); font-size: 18px; }
.statement .link-arrow { margin-top: 28px; }
.statement-media { position: relative; }
.statement-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.statement-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--glass-light); border-radius: var(--radius); z-index: -1; }

/* Process steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 34px; counter-increment: step; }
.step::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform 1.1s var(--ease); }
.step.is-visible::after, .no-anim .step::after { transform: scaleX(1); }
.step-num { font-size: 15px; font-weight: 700; color: var(--teal); }
.step-num::before { content: "0" counter(step); }
.step h3 { margin-top: 8px; font-size: 21px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.section-navy .step::before { background: rgba(255,255,255,.15); }
.section-navy .step-num { color: var(--sky-light); }
.section-navy .step p { color: var(--on-navy); }

/* Project cards */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.project { position: relative; grid-column: span 4; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; }
.project.wide { grid-column: span 8; }
.project img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.project.wide img { aspect-ratio: auto; min-height: 100%; }
.project:hover img, .project:focus-visible img { transform: scale(1.07); opacity: .85; }
.project-info { position: absolute; inset: auto 0 0; padding: 60px 24px 22px; background: linear-gradient(to top, rgba(7,26,46,.92), transparent); transform: translateY(12px); transition: transform .6s var(--ease); }
.project:hover .project-info, .project:focus-visible .project-info { transform: none; }
.project-info h3 { font-size: 19px; }
.project-info span { display: block; font-size: 14px; color: var(--glass-light); }
.zoom-hint { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; font-size: 22px; line-height: 1; opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s var(--ease); }
.project:hover .zoom-hint, .project:focus-visible .zoom-hint { opacity: 1; transform: none; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-8px); box-shadow: 0 24px 50px -28px rgba(7,26,46,.45); border-color: transparent; }
.service-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover .media img { transform: scale(1.08); }
.service-card .media.glass-bg { display: grid; place-items: center; color: var(--glass-light); font-size: 15px; }
.service-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3 { font-size: 20px; }
.service-card .en { font-size: 13px; color: var(--teal); letter-spacing: .03em; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.service-card .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--teal); font-size: 15px; }

/* Service rows (services page) */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.service-row:nth-child(even) .service-media { order: -1; }
.service-row:last-child { border-bottom: 0; }
.service-media { overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.service-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-media:hover img { transform: scale(1.05); }
.service-media.glass-bg { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--glass-light); }
.service-index { font-size: 15px; font-weight: 700; color: var(--teal); }
.service-row h2 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 38px); }
.service-row .en { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.service-row p { margin-top: 18px; color: var(--muted); }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 16px; height: 9px; border-inline-start: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(-45deg) scaleX(-1); }

/* Video grid */
.videos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.videos.three { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; transition: transform .5s var(--ease); }
.video:hover { transform: translateY(-6px); }
.video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 32px 28px; border-radius: var(--radius); background: var(--white); border-top: 3px solid var(--sky); box-shadow: 0 18px 40px -30px rgba(7,26,46,.35); }
.value h3 { font-size: 21px; }
.value p { margin-top: 10px; color: var(--muted); }

/* CTA band */
.cta { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(72px, 9vw, 120px); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(159,214,230,.16) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 7s var(--ease) infinite; pointer-events: none; }
@keyframes sheen { 0%, 40% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.cta .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 18ch; }
.cta p { margin-top: 12px; color: var(--on-navy); max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { border-color: var(--glass-light); transform: translateY(-4px); box-shadow: 0 20px 40px -30px rgba(7,26,46,.4); }
.contact-card h2 { font-size: 15px; font-weight: 500; color: var(--teal); }
.contact-card .big { margin-top: 12px; font-size: 20px; font-weight: 700; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--teal); text-decoration: underline; }
.contact-card ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: 19px; font-weight: 500; }
.contact-card p + p, .contact-card p + .link-arrow { margin-top: 10px; }
.contact-card .muted { font-size: 15px; }
.contact-card .link-arrow { margin-top: 14px; }

/* ---------- Booking form ---------- */
.booking-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .form fieldset.full { grid-column: 1 / -1; }
.field label, .form legend { font-weight: 500; font-size: 15.5px; }
.req { color: var(--error); }
.optional { color: var(--muted); font-weight: 400; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid #c5d3db; border-radius: var(--radius); padding: 12px 14px; width: 100%; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--glass); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25,169,230,.25); }
.field input[dir="ltr"] { text-align: right; }
.field .hint { font-size: 14px; color: var(--muted); }
.field .error { font-size: 14px; color: var(--error); font-weight: 500; min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .invalid .chips { border-color: var(--error); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border-radius: var(--radius); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border: 1.5px solid #c5d3db; border-radius: 40px; font-size: 15px; transition: background-color .25s, border-color .25s, color .25s; }
.chip input:hover + span { border-color: var(--glass); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--muted); max-width: 52ch; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.form-status.err { background: #fdecea; color: var(--error); }
.success { grid-column: 1 / -1; padding: 36px 32px; border-radius: var(--radius); background: var(--ice); border-inline-start: 4px solid var(--sky); animation: rise .6s var(--ease); }
.success h2 { font-size: 26px; }
.success p { margin-top: 10px; color: var(--muted); }
.success .btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px 30px; border-radius: var(--radius); color: var(--white); }
.aside h2 { font-size: 22px; }
.aside ol { list-style: none; margin-top: 22px; display: grid; gap: 20px; counter-reset: a; }
.aside li { position: relative; padding-inline-start: 50px; counter-increment: a; color: var(--on-navy); }
.aside li strong { display: block; color: var(--white); }
.aside li::before { content: counter(a); position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--sky-light); color: var(--sky-light); display: grid; place-items: center; font-weight: 700; }
.aside .call { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.aside .call a { color: var(--white); font-size: 20px; font-weight: 700; text-decoration: none; }
noscript p { padding: 16px; background: #fff6e0; border-radius: var(--radius); }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgba(7,26,46,.96); }
.lightbox[open] { animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { margin-top: 12px; text-align: center; color: var(--on-navy); }
.lb-btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--navy); font-size: 24px; cursor: pointer; transition: background-color .25s, transform .25s; }
.lb-btn:hover { background: var(--sky); transform: scale(1.08); }
.lb-prev { inset-inline-start: -64px; }
.lb-next { inset-inline-end: -64px; }
.lb-close { top: -56px; translate: none; inset-inline-end: 0; }
@media (max-width: 1100px) { .lb-prev { inset-inline-start: 8px; } .lb-next { inset-inline-end: 8px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-block: 72px 48px; }
.footer-name { font-family: Georgia, "Times New Roman", serif; font-size: 26px; color: var(--white); }
.footer-brand p + p { margin-top: 10px; max-width: 34ch; }
.footer-brand .btn { margin-top: 24px; }
.footer-title { font-size: 15px; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--sky-light); }
.footer-muted { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group > :nth-child(2) { transition-delay: .1s; }
.reveal-group > :nth-child(3) { transition-delay: .2s; }
.reveal-group > :nth-child(4) { transition-delay: .3s; }
.reveal-group > :nth-child(5) { transition-delay: .4s; }
.reveal-group > :nth-child(6) { transition-delay: .5s; }
.reveal-group > :nth-child(n+7) { transition-delay: .6s; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-img.is-visible { clip-path: inset(0); }

/* ---------- Page-to-page transitions (supported browsers) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .statement, .service-row, .booking-layout { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .values, .contact-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .project, .project.wide { grid-column: span 6; }
  .project.wide img { aspect-ratio: 4 / 3; }
  .aside { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  :root { --header-h: 72px; }
  .brand-name { font-size: 20px; }
  .brand-tag { display: none; }
  .project, .project.wide { grid-column: 1 / -1; }
  .project-info { transform: none; }
  .projects > .project.glass-bg { display: none; }
  .steps, .videos, .videos.three { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; justify-content: center; }
  .statement-media::before { display: none; }
}

/* ---------- Brand watermark: the logo's glass tower, large and faint, at the page edges ---------- */
.has-wm { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.wm { position: absolute; z-index: -1; top: clamp(48px, 8%, 120px); width: clamp(200px, 21vw, 400px); aspect-ratio: 36 / 100; background: url(/watermark.svg) no-repeat center top / 100% auto; opacity: .15; pointer-events: none; }
.wm-right { right: clamp(-110px, -4vw, -30px); }
.wm-left { left: clamp(-110px, -4vw, -30px); transform: scaleX(-1); }
.wm-low { top: auto; bottom: clamp(-260px, -12vw, -80px); }
.wm-light { background-image: url(/watermark-light.svg); opacity: .13; }
.section-ice .wm { opacity: .18; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .has-wm { view-timeline: --wm block; }
    .wm { animation: wm-drift linear both; animation-timeline: --wm; }
  }
}
@keyframes wm-drift { from { translate: 0 90px; } to { translate: 0 -90px; } }
@media (max-width: 720px) { .wm { display: none; } }

/* ---------- Side rails on wide screens: brand line and scroll progress in the outer margins ---------- */
.rails { display: none; }
@media (min-width: 1500px) {
  .rails { display: block; }
  .rail { position: fixed; top: 50%; translate: 0 -50%; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--glass); pointer-events: none; }
  .rail-right { right: 28px; }
  .rail-left { left: 28px; }
  .rail-line { width: 1px; height: 72px; background: currentColor; opacity: .7; }
  .rail-text { writing-mode: vertical-rl; font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
  .rail-track { position: relative; width: 2px; height: 200px; border-radius: 2px; background: rgba(79,147,168,.28); overflow: hidden; }
  .rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--sky-light), var(--sky)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .rail-mark { width: 16px; height: 27px; }
  .menu-open .rails { display: none; }
}

/* ---------- Contact icons (one SVG sprite in the layout, used via <use>) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; color: var(--sky); }
.with-ic { display: inline-flex; align-items: center; gap: .55em; }
.contact-card .ic { width: 22px; height: 22px; }
.contact-card ul .ic { width: 19px; height: 19px; }
.site-footer .ic { width: 18px; height: 18px; color: var(--sky-light); }
.site-footer p.with-ic { display: flex; }
.aside .call .ic { color: var(--sky-light); }
.footer-name { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-name .brand-mark { width: 26px; height: 44px; }
.footer-name .brand-name { font-size: 26px; }
.footer-name .brand-tag { display: block; color: var(--on-navy); }

/* ---------- Respect reduced-motion settings ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-slides img:first-child { opacity: 1; }
  .hero-load > * { opacity: 1; }
  .js .reveal, .js .reveal-group > *, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
  @view-transition { navigation: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Additions */
.contact-card h2.mt { margin-top: 26px; }
.preview { margin-top: 22px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 15px; white-space: pre-wrap; color: var(--ink); }
.project.glass-bg { min-height: 220px; }
.success h2:focus { outline: none; }

/* ---------- Language switch (header): links to the same page in the other language ---------- */
.lang-switch { display: inline-flex; align-items: center; padding: 6px 13px; border: 1.5px solid currentColor; border-color: color-mix(in srgb, currentColor 45%, transparent); border-radius: 40px; font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.lang-switch:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-900); }
.site-nav .lang-switch-nav { margin-inline-start: -14px; }
.lang-switch-bar { display: none; }
@media (max-width: 980px) {
  .header-inner { gap: 10px; }
  .lang-switch-bar { display: inline-flex; margin-inline-start: auto; position: relative; z-index: 2; }
  .site-nav .lang-switch-nav { display: none; }
}

/* ---------- English pages (left to right): mirror the direction-specific details ---------- */
html[lang="en"] body { line-height: 1.65; }
html[dir="ltr"] .btn:hover .arrow { transform: translateX(5px); }
html[dir="ltr"] .link-arrow:hover span { transform: translateX(6px); }
html[dir="ltr"] .nav a::after, html[dir="ltr"] .step::after { transform-origin: left; }
html[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(7,26,46,.82) 0%, rgba(7,26,46,.45) 55%, rgba(7,26,46,0) 85%), linear-gradient(to top, rgba(7,26,46,.9) 0%, rgba(7,26,46,.35) 50%, rgba(7,26,46,.2) 100%); }
html[dir="ltr"] .statement-media::before { inset: 18px 18px -18px -18px; }
html[dir="ltr"] .ticks li::before { transform: rotate(-45deg); }
html[dir="ltr"] .cta::after { animation-name: sheen-ltr; }
@keyframes sheen-ltr { 0%, 40% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
html[dir="ltr"] .field input[dir="ltr"] { text-align: left; }
html[dir="ltr"] .wm-right { right: auto; left: clamp(-110px, -4vw, -30px); transform: scaleX(-1); }
html[dir="ltr"] .wm-left { left: auto; right: clamp(-110px, -4vw, -30px); transform: none; }
@media (max-width: 980px) {
  html[dir="ltr"] .site-nav { clip-path: circle(0 at calc(100% - 40px) 40px); }
  html[dir="ltr"] .menu-open .site-nav { clip-path: circle(150% at calc(100% - 40px) 40px); }
}
@media (min-width: 1500px) {
  html[dir="ltr"] .rail-right { right: auto; left: 28px; }
  html[dir="ltr"] .rail-left { left: auto; right: 28px; }
}
/* Narrow desktops (just above the mobile menu): keep nav labels on one line */
.nav a, .nav-cta, .lang-switch { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1100px) {
  .nav { gap: 20px; font-size: 15px; }
  .site-nav { gap: 26px; }
  .site-nav .lang-switch-nav { margin-inline-start: -10px; }
}
