/* ADALIZ PREMIUM CORP. — shared stylesheet */

:root {
  --accent: #0b6e69;
  --accent-strong: #085551;
  --accent-soft: #e8f3f2;
  --text: #15191e;
  --muted: #4f5966;
  --border: #e1e5e9;
  --surface: #f5f7f8;
  --bg: #ffffff;
  --radius: 12px;
  --max: 70rem;
  --gutter: 1rem;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

main { flex: 1; }

svg { display: block; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

address { font-style: normal; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem;
}

.wordmark {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover { color: var(--accent); }

.site-nav { justify-self: end; }

.site-nav ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul { gap: 0.25rem 1.75rem; }

.site-nav a {
  display: inline-block;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover { color: var(--text); }

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.lang-switch a,
.lang-current {
  padding: 0.3rem 0.45rem;
  border-radius: 6px;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.lang-current { color: var(--text); }

@media (max-width: 47.99rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    padding-block: 0.9rem 0.5rem;
  }

  .wordmark { grid-area: brand; }
  .lang-switch { grid-area: lang; }

  .site-nav {
    grid-area: nav;
    justify-self: start;
  }

  .site-nav ul { gap: 0.25rem 1.25rem; }
}

/* Page heads and sections */

.hero,
.page-head {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
}

.hero {
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5rem);
}

.hero h1 { max-width: 22ch; }

.page-head {
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.page-head h1 { max-width: 24ch; }
.page-head .lead { margin-bottom: 0; }

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 42rem;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  color: var(--muted);
}

.meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.button-secondary {
  border-color: var(--border);
  background: var(--bg);
  color: var(--accent);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.section { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.section-alt {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1rem 3rem;
}

@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 2fr; }
}

/* Capability cards */

.cards {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.card p { color: var(--muted); }

.card-link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Feature lists (About) */

.features {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.features li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--accent);
}

.features h3 { margin-bottom: 0.4em; }

.features p {
  margin: 0;
  color: var(--muted);
}

/* Services */

.service {
  display: grid;
  gap: 0.75rem 3rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 1rem;
}

.service:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 56rem) {
  .service { grid-template-columns: 1fr 2fr; }
}

.service h2 {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  font-size: 1.4rem;
}

.service .icon { margin: 0; }

.service p {
  max-width: 42rem;
  margin: 0;
}

.steps {
  display: grid;
  max-width: 48rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1.25rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  counter-increment: step;
}

.steps li:first-child { border-top: 0; padding-top: 0; }

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.steps h3 { margin: 0.35rem 0 0.3rem; }

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Call to action */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
}

.cta h2 {
  margin-bottom: 0.35em;
  color: #fff;
}

.cta p {
  max-width: 36rem;
  margin: 0;
  color: #e3f1ef;
}

.cta .button {
  border-color: #fff;
  background: #fff;
  color: var(--accent);
}

.cta .button:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.cta :focus-visible { outline-color: #fff; }

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.contact-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin: 0;
}

.contact-list dt {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

/* Long-form text (About intro, Privacy, Terms) */

.prose { max-width: 46rem; }

.prose h2 {
  margin-top: 2.25em;
  font-size: 1.35rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin-top: 1.75em;
  font-size: 1.1rem;
}

.prose ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }

.address-block {
  margin-bottom: 1em;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 1.5rem 3rem;
}

@media (min-width: 48rem) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.footer-brand {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-footer p,
.site-footer address { margin: 0 0 0.35rem; }

.site-footer address a { overflow-wrap: anywhere; }

.footer-links { gap: 0.5rem 1.5rem; }

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-links a[aria-current="page"] { color: var(--text); }

.nowrap { white-space: nowrap; }
