:root {
  --blue: #0a62c4;
  --blue-deep: #0b2f5c;
  --green: #2f9a46;
  --green-deep: #1f7a34;
  --sky: #eef4fb;
  --line: #d8e2ee;
  --ink: #1b2533;
  --muted: #546273;
  --white: #ffffff;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); color: var(--blue-deep); line-height: 1.15; margin: 0; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue-deep); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--blue-deep); line-height: 1.1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--body); font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.nav-list { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav-list a:hover { color: var(--blue); }
.nav-list .nav-cta { background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 999px; }
.nav-list .nav-cta:hover { background: var(--blue-deep); color: #fff; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button-whatsapp { background: var(--green); color: #fff; }
.button-whatsapp:hover { background: var(--green-deep); color: #fff; }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Hero: the curved lower edge carries over from the old site */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #dce8f7;
  padding: clamp(56px, 8vw, 96px) 0 clamp(96px, 12vw, 150px);
  clip-path: ellipse(120% 100% at 50% 0%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; letter-spacing: -0.015em; max-width: 16ch; }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 46ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image { margin: 0; justify-self: end; width: min(100%, 440px); }
.hero-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 24px 50%; border: 6px solid rgba(255, 255, 255, 0.16); }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { margin-bottom: 36px; max-width: 60ch; }
.section-head h2, .intro h2, .visit h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.section-head p { margin: 10px 0 0; color: var(--muted); font-size: 1.1rem; }

.intro { padding-top: clamp(32px, 4vw, 48px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.intro .lede { font-size: 1.3rem; color: var(--ink); margin: 18px 0 14px; max-width: 46ch; }
.intro p { max-width: 56ch; color: var(--muted); }
.catalogue { background: var(--sky); border-radius: 20px; padding: 28px 32px; }
.catalogue h3 { font-size: 1.2rem; margin-bottom: 14px; }
.catalogue-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.catalogue-list li { break-inside: avoid; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; }
.catalogue-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.supplies { background: var(--sky); }
.supply-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.supply { grid-column: span 2; background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.supply-wide { grid-column: span 4; flex-direction: row; }
.supply img { width: 100%; height: 190px; object-fit: cover; }
.supply-wide img { width: 50%; height: auto; min-height: 230px; }
.supply-text { padding: 20px 22px 24px; }
.supply-wide .supply-text { align-self: center; padding: 28px; }
.supply h3 { font-size: 1.3rem; margin-bottom: 6px; }
.supply p { margin: 0; color: var(--muted); }

.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-wall li { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 96px; display: grid; place-items: center; padding: 14px 18px; }
.logo-wall img { max-height: 60px; width: auto; object-fit: contain; }
.partners-title { font-size: 1.35rem; margin: 48px 0 18px; }
.logo-wall-partners li { height: 110px; }

.team { background: var(--sky); }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { background: #fff; border-radius: 20px; padding: 28px; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; border: 1px solid var(--line); }
.person-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--sky); }
.person-initials { display: grid; place-items: center; font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--blue); background: #dbe8f8; }
.person h3 { font-size: 1.4rem; }
.person-role { margin: 2px 0 10px; color: var(--green-deep); font-weight: 600; }
.person p { margin-top: 0; }
.person-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; }

.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: start; }
.visit-intro { color: var(--muted); font-size: 1.1rem; margin: 12px 0 22px; }
.visit-actions { margin-bottom: 30px; }
.details { margin: 0; display: grid; gap: 22px; }
.details dt { font-family: var(--display); font-weight: 600; color: var(--blue-deep); margin-bottom: 4px; }
.details dd { margin: 0; }
.map iframe { width: 100%; height: 440px; border: 0; border-radius: 20px; background: var(--sky); }
.map-link { display: inline-block; margin-top: 10px; font-weight: 600; }

.site-footer { background: var(--blue-deep); color: #b9cbe2; font-size: 0.95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

@media (max-width: 920px) {
  .hero-inner, .intro-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-image { justify-self: start; width: min(100%, 320px); }
  .supply, .supply-wide { grid-column: span 3; flex-direction: column; }
  .supply-wide img { width: 100%; min-height: 0; height: 190px; }
  .supply-wide .supply-text { padding: 20px 22px 24px; }
  .people { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-list li:not(:last-child) { display: none; }
  .brand-name small { display: none; }
  .catalogue-list { columns: 1; }
  .supply, .supply-wide { grid-column: 1 / -1; }
  .person { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .map iframe { height: 320px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
