:root {
  --ocean: #073f4d;
  --ocean-light: #0c6173;
  --sand: #f5efe4;
  --sun: #f5a623;
  --ink: #15282d;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: Inter, "Segoe UI", sans-serif; }
a { color: var(--ocean-light); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.22); }
.site-header--solid { background: rgba(3,44,53,.98); box-shadow: 0 8px 24px rgba(3,44,53,.14); }
.navbar-brand img { width: 178px; max-height: 55px; object-fit: contain; }
.navbar .nav-link { color: rgba(255,255,255,.9); font-weight: 600; }
.navbar .nav-link:hover { color: #fff; }
.language-selector { position: relative; color: #fff; }
.language-selector summary { display: flex; align-items: center; gap: .4rem; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 2rem; cursor: pointer; list-style: none; font-weight: 700; }
.language-selector summary::-webkit-details-marker { display: none; }
.language-menu { position: absolute; z-index: 50; top: calc(100% + .5rem); right: 0; min-width: 185px; padding: .5rem; border-radius: .75rem; color: var(--ink); background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.18); }
.language-menu a { display: flex; gap: .6rem; padding: .55rem .7rem; border-radius: .5rem; text-decoration: none; white-space: nowrap; }
.language-menu a:hover, .language-menu a.active { background: var(--sand); }
.btn-sun { color: #17292c; background: var(--sun); border-color: var(--sun); font-weight: 700; }
.btn-sun:hover { color: #17292c; background: #ffb944; border-color: #ffb944; }

.hero { min-height: 720px; position: relative; display: flex; align-items: center; color: #fff; background: url('/img/hero.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,30,36,.86), rgba(1,30,36,.3)); }
.hero-content { position: relative; padding-top: 90px; }
.hero h1 { max-width: 780px; margin: .35rem 0 1.25rem; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .98; }
.hero-copy { max-width: 650px; font-size: 1.25rem; color: rgba(255,255,255,.88); }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 800; }
.section-heading { max-width: 680px; }
.section-heading h2, .payment-strip h2 { font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); }

.service-card { height: 100%; min-height: 310px; padding: 2.5rem; border-radius: 1rem; background: var(--sand); position: relative; overflow: hidden; }
.service-card-dark { color: #fff; background: var(--ocean); }
.service-card h3 { margin-top: 3.7rem; font-family: Georgia, serif; font-size: 2.3rem; }
.service-card p { max-width: 520px; font-size: 1.05rem; }
.service-card a { font-weight: 800; text-decoration: none; }
.service-card-dark a { color: #ffd074; }
.service-number { position: absolute; top: 1.5rem; right: 2rem; font-size: 4.5rem; font-weight: 800; opacity: .12; }

.payment-strip { padding: 5rem 0; color: #fff; background: var(--ocean); }
.payment-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.payment-strip p { max-width: 760px; color: rgba(255,255,255,.8); }
.payment-mark { flex: 0 0 auto; font-size: clamp(4rem, 9vw, 8rem); font-weight: 900; color: var(--sun); line-height: 1; }
.payment-mark span { font-size: .45em; }
.site-footer { color: rgba(255,255,255,.68); background: #061c2a; font-size: 12px; }
.site-footer .page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .footer-main { padding: 70px 0; display: grid; grid-template-columns: 1.6fr .7fr 1.2fr .7fr; gap: 60px; }
.site-footer .brand-light { color: #fff; }
.site-footer .footer-brand p { margin: 25px 0 0; line-height: 1.7; }
.site-footer .footer-brand .footer-logo { display: block; width: 94px; height: 94px; padding: 5px; border-radius: 50%; object-fit: cover; }
.site-footer .footer-column { display: flex; flex-direction: column; gap: 12px; line-height: 1.5; }
.site-footer .footer-column strong { margin-bottom: 8px; color: #fff; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.site-footer .footer-column a:hover { color: #fff; }
.site-footer .footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 10px; }
.site-footer .footer-bottom div { display: flex; gap: 25px; }

.auth-shell { min-height: calc(100vh - 104px); display: grid; place-items: center; padding: 7rem 1rem 3rem; background: var(--sand); }
.auth-card { width: min(100%, 460px); padding: 2.5rem; border-radius: 1rem; background: #fff; box-shadow: 0 18px 60px rgba(4,47,56,.12); }
.auth-logo { width: 190px; margin-bottom: 2rem; }
.auth-card-wide { width: min(100%, 720px); }
.contact-page { min-height: 72vh; padding-top: 74px; background: #f4f1e9; color: #12394a; }
.contact-heading { max-width: 720px; }
.contact-heading span { color: #ed2632; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.contact-heading h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 800; margin: .5rem 0 1rem; }
.contact-heading p { color: #62727a; font-size: 1.05rem; }
.contact-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #e2e7e9; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(16,59,76,.08); }
.contact-card h2 { margin-bottom: 1.25rem; font-weight: 750; }
.contact-card a { color: #0c6f8e; }
.contact-card .form-control { min-height: 50px; border-radius: 12px; }
.contact-card textarea.form-control { min-height: 150px; }
.contact-success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: #dff5e8; color: #177344; font-size: 2rem; font-weight: 800; }

.legal-page { min-height: 72vh; padding: 9rem 0 5rem; background: #f4f1e9; color: #12394a; }
.legal-page__header { max-width: 760px; margin-bottom: 2.5rem; }
.legal-page__header > span { color: #ed2632; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.legal-page__header h1 { margin: .55rem 0 1rem; font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
.legal-page__header p { margin: 0; color: #62727a; font-size: 1.05rem; line-height: 1.7; }
.legal-page__content { max-width: 880px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #e2e7e9; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(16,59,76,.08); }
.legal-page__content section + section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e2e7e9; }
.legal-page__content h2 { margin: 0 0 .8rem; font-size: 1.35rem; font-weight: 750; }
.legal-page__content p, .legal-page__content li { color: #586d76; line-height: 1.75; }
.legal-page__content li + li { margin-top: .6rem; }
.legal-page__button { padding: .7rem 1.1rem; border: 1px solid #0c6173; border-radius: 999px; color: #0c6173; background: #fff; font-weight: 700; }
.legal-page__button:hover { color: #fff; background: #0c6173; }

@media (max-width: 991.98px) {
  .site-header { background: rgba(3,44,53,.96); }
  .navbar-collapse { padding: 1rem 0; }
  .hero { min-height: 650px; }
  .site-footer .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer .footer-column:last-child { display: none; }
}

@media (max-width: 820px) {
  .site-footer .footer-main { grid-template-columns: 1.3fr 1fr; }
  .site-footer .footer-column:nth-child(3) { display: none; }
}

@media (max-width: 575.98px) {
  .payment-strip .container { align-items: flex-start; flex-direction: column; }
  .service-card { padding: 1.75rem; }
  .site-footer .page-width { width: calc(100% - 32px); }
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .site-footer .footer-column:nth-child(2) { display: none; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}
