:root {
  --navy: #102c4b;
  --navy-deep: rgb(28, 82, 141);
  --navy-soft: #1c4268;
  --gold: #c5a24a;
  --gold-light: #e4cc83;
  --ink: #172435;
  --muted: #536273;
  --paper: #ffffff;
  --mist: #f2f5f7;
  --line: #d7dee5;
  --success: #174b3a;
  --error: #8b2929;
  --content: 74rem;
  --gutter: clamp(.625rem, 2.5vw, 2.5rem);
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Aptos", "Segoe UI", "Noto Sans", "Noto Sans CJK SC", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.72; }
img { display: block; max-width: 100%; }
a { color: var(--navy-soft); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: #0b5c92; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link { position: absolute; z-index: 20; top: .6rem; left: .6rem; padding: .6rem 1rem; transform: translateY(-160%); background: var(--paper); color: var(--navy-deep); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.25rem; padding: .275rem var(--gutter); background: var(--paper); border-bottom: 1px solid rgba(16,44,75,.1); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: .425rem; color: var(--navy); text-decoration: none; }
.brand img { width: clamp(4.1rem, 6vw, 5.2rem); height: clamp(4.1rem, 6vw, 5.2rem); object-fit: contain; }
.brand-name { max-width: 12rem; font-size: 1rem; font-weight: 700; line-height: 1.25; letter-spacing: .015em; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .075rem .125rem; }
.primary-nav a { padding: .275rem .325rem; color: var(--navy); border-radius: 2px; font-size: .9rem; line-height: 1.35; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--navy-deep); background: #edf1f4; }
.primary-nav .language-link { margin-left: .225rem; border: 1px solid var(--line); font-weight: 700; }
.menu-toggle { display: none; }

.hero-carousel { position: relative; min-height: min(22rem, 39vh); overflow: hidden; isolation: isolate; background: var(--navy-deep); color: white; }
.hero-track, .hero-slide, .hero-slide img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; transition: opacity .75s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; }
.hero-slide img { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(6,22,39,.88) 0%, rgba(8,28,48,.68) 42%, rgba(8,28,48,.1) 100%), linear-gradient(0deg, rgba(5,16,28,.35), transparent 38%); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: min(48rem, 78%); min-height: min(22rem, 39vh); padding: 1.25rem var(--gutter) 1.75rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); font-size: .82rem; font-weight: 750; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.hero-copy h1 { max-width: 40ch; margin: 0; color: white; font-size: clamp(1.35rem, 3vw, 2.65rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.hero-copy .eyebrow { margin-bottom: .375rem; font-size: .75rem; }
.hero-lead { max-width: 42rem; margin: .7rem 0 0; color: rgba(255,255,255,.91); font-size: .875rem; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; margin-top: 1rem; }
.hero-actions .button, .hero-actions .text-link-light { font-size: .875rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 2px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: var(--gold-light); color: var(--navy-deep); }
.text-link-light { color: white; font-weight: 650; }
.text-link-light:hover { color: var(--gold-light); }
.carousel-controls { position: absolute; z-index: 3; right: var(--gutter); bottom: 1rem; display: flex; align-items: center; gap: .375rem; }
.carousel-controls > button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(7,22,38,.45); color: white; cursor: pointer; }
.carousel-dots { display: flex; gap: .45rem; }
.carousel-dots button { width: .62rem; height: .62rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.62); cursor: pointer; }
.carousel-dots button[aria-current="true"] { width: 1.4rem; border-radius: .6rem; background: var(--gold-light); }

.section { padding: clamp(1.75rem, 3.5vw, 3.25rem) var(--gutter); }
.section-intro { width: min(100%, calc(var(--content) + 2 * var(--gutter))); margin-inline: auto; }
.section-heading, .value-grid { width: min(100%, var(--content)); margin-inline: auto; }
.intro-copy { width: 100%; max-width: none; }
.intro-copy h2, .section-heading h2 { margin: 0 0 .65rem; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 560; letter-spacing: -.025em; line-height: 1.2; }
.intro-copy p { margin: 0 0 .5rem; color: var(--muted); }
.section-values { background: var(--mist); }
.section-heading { margin-bottom: 1.125rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-card { min-height: 6rem; padding: .85rem; background: white; }
.value-number { display: inline-block; margin-bottom: .7rem; color: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.value-card p { margin: 0; color: var(--navy); font-weight: 600; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.75rem var(--gutter); background: var(--navy-deep); color: white; }
.contact-band > div { max-width: var(--content); margin-left: max(0px, calc((100vw - var(--content) - 2 * var(--gutter)) / 2)); }
.contact-band .eyebrow, .page-heading .eyebrow { margin-bottom: .375rem; }
.contact-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; }
.contact-band .button { flex: 0 0 auto; margin-right: max(0px, calc((100vw - var(--content) - 2 * var(--gutter)) / 2)); }

.page-heading { position: relative; overflow: hidden; background: var(--navy-deep); color: white; }
.page-heading::after { position: absolute; top: 0; right: 7%; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(197,162,74,.7), transparent); content: ""; transform: rotate(28deg); }
.page-heading-inner { position: relative; z-index: 1; width: min(100%, var(--content)); margin-inline: auto; padding: clamp(1.75rem, 3.5vw, 3.25rem) var(--gutter); }
.page-heading h1 { max-width: 19ch; margin: 0; color: white; font-size: clamp(1.1rem, 2.2vw, 1.85rem); font-weight: 560; letter-spacing: -.035em; line-height: 1.1; text-wrap: balance; }
.page-lead { max-width: 57rem; margin: .625rem 0 0; color: rgba(255,255,255,.83); font-size: 1.15rem; }
.page-content { width: min(100%, var(--content)); margin-inline: auto; padding: clamp(1.25rem, 3vw, 2.5rem) var(--gutter) clamp(2rem, 3.5vw, 3rem); }
.content-block { padding: 0 0 1.25rem; margin: 0 0 1.2rem; border-bottom: 1px solid var(--line); }
.content-block:last-child { margin-bottom: 0; border-bottom: 0; }
.content-block h2 { margin: 0 0 .5rem; color: var(--navy); font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 680; line-height: 1.35; }
.content-block p { margin: .3rem 0; color: #344456; }
.content-block ul { padding-left: .675rem; margin: .4rem 0; }
.content-block li { padding-left: .125rem; margin: .175rem 0; }
.legal-content { max-width: 67rem; }
.legal-content .content-block { padding-bottom: .775rem; margin-bottom: .775rem; }
.why-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 3rem 1fr; align-items: start; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 1.13rem; font-weight: 600; }
.why-list li:first-child { border-top: 1px solid var(--line); }
.why-list li span { color: var(--gold); font-size: .85rem; letter-spacing: .08em; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.gallery-card { margin: 0; background: var(--mist); }
.gallery-card img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.gallery-card figcaption { display: flex; gap: .4rem; align-items: center; padding: .5rem .6rem; color: var(--navy); font-weight: 700; }
.gallery-card figcaption span { color: var(--gold); font-size: .8rem; letter-spacing: .1em; }


.site-footer { padding: 1.25rem var(--gutter) .625rem; background: var(--navy-deep); color: rgba(255,255,255,.82); }
.footer-main, .footer-links, .footer-bottom { width: min(100%, var(--content)); margin-inline: auto; }
.footer-main { display: grid; grid-template-columns: 16rem 1fr; align-items: center; gap: 1rem 1.5rem; padding-bottom: .9rem; }
.footer-brand { gap: .35rem; color: white; font-weight: 700; }
.footer-brand img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.footer-main p { max-width: 48rem; margin: 0; font-size: .92rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem .75rem; padding: .5rem 0 .625rem; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-links a, .footer-bottom a { color: white; font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; padding-top: .5rem; font-size: .88rem; }
.back-to-top { position: fixed; z-index: 4; right: .625rem; bottom: .625rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: var(--navy-deep); color: white; font-size: 1.3rem; opacity: 0; pointer-events: none; transform: translateY(.25rem); transition: opacity .2s ease, transform .2s ease; cursor: pointer; }
.back-to-top.is-visible { opacity: .95; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .2rem .375rem; border: 1px solid var(--line); background: white; color: var(--navy); }
  .primary-nav { display: none; width: 100%; justify-content: flex-start; padding: .2rem 0 .4rem; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .3rem .35rem; }
}
@media (max-width: 700px) {
  .site-header { min-height: 2.7rem; gap: .35rem; }
  .brand img { width: 3.8rem; height: 3.8rem; }
  .brand-name { max-width: 10rem; font-size: .92rem; }
  .primary-nav { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .075rem; }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: .35rem; }
  .primary-nav .language-link { margin-left: 0; }
  .hero-carousel, .hero-copy { min-height: 20rem; }
  .hero-slide img { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,22,39,.82), rgba(8,28,48,.38)), linear-gradient(0deg, rgba(5,16,28,.4), transparent 60%); }
  .hero-copy { width: 100%; justify-content: flex-end; padding: 1rem var(--gutter) 2rem; }
  .hero-copy h1 { font-size: clamp(1.225rem, 5.5vw, 2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .carousel-controls { right: var(--gutter); bottom: .7rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .value-number { margin-bottom: .25rem; }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .contact-band > div, .contact-band .button { margin: 0; }
  .page-heading-inner { padding-block: 1.7rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: .5rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
