:root {
  --color-primary: #0d5c63;
  --color-primary-dark: #094248;
  --color-accent: #2a9d8f;
  --color-bg: #f8fafb;
  --color-surface: #ffffff;
  --color-text: #1a2b2e;
  --color-text-muted: #5a6f73;
  --color-border: #e2eaeb;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 92, 99, 0.08);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__mark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

.logo__sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  max-width: 14rem;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #e8f4f3 0%, var(--color-bg) 50%, #fff 100%);
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  right: -10%;
  top: 20%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle at 30% 50%, rgba(42, 157, 143, 0.15), transparent 65%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding-block: 4rem 5rem;
  max-width: 36rem;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  margin-top: 1.5rem;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--color-text-muted);
}

.section-header--light h2,
.section-header--light p {
  color: rgba(255, 255, 255, 0.95);
}

.section-header--light p {
  opacity: 0.85;
}

/* About */
.about {
  padding: 5rem 0;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.card--wide {
  grid-column: 1 / -1;
}

.card h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.card p,
.card address {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.55;
}

/* Values */
.values {
  padding: 4rem 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.values__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.values__text h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.values__text p {
  color: var(--color-text-muted);
}

.values__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values__list li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
  color: var(--color-text);
}

.values__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact__info dl {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__info dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

.contact__info dd {
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: #0a3236;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.footer__brand strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
}

.footer__legal {
  opacity: 0.8;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .values__inner,
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
