@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --surface-strong: #f0ece2;
  --ink: #1d1b18;
  --ink-soft: #47423a;
  --brand: #135d66;
  --brand-strong: #0f4f56;
  --accent: #cb6d51;
  --line: #d6cfbf;
  --ok: #1f7d53;
  --shadow: 0 20px 45px rgba(17, 35, 40, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Archivo', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -20%, #f6b092 0%, transparent 40%),
    radial-gradient(circle at 100% 0%, #87b8be 0%, transparent 38%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 244, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: min(320px, 52vw);
  height: auto;
  display: block;
}

.brand-fallback {
  display: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--accent));
}

.brand-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.4px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.nav-list a.active,
.nav-list a:hover {
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 4px 8px;
}

.lang-switch a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 2px 6px;
  border-radius: 999px;
}

.lang-switch a.active {
  color: #fff;
  background: var(--brand);
}

.hero {
  padding: clamp(44px, 8vw, 92px) 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
}

.hero-card {
  background: linear-gradient(140deg, #fffdf8 0%, #f4efe3 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 42px);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-strong);
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 14px;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 18px rgba(19, 93, 102, 0.35);
}

.btn-secondary {
  color: var(--brand-strong);
  background: var(--surface);
  border-color: var(--line);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.cert-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.cert-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
}

.cert-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cert-item p {
  padding: 10px 12px 14px;
  font-size: 0.92rem;
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  font-size: 1rem;
  cursor: pointer;
}

.map-card {
  overflow: hidden;
}

.map-card img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.section {
  padding: 18px 0 54px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.list-clean li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  padding: 7px 10px;
  border-radius: 999px;
  color: #11493f;
  background: #e9f7ef;
  border: 1px solid #ccead9;
}

.site-footer {
  padding: 24px 0 44px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr;
}

.footer-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.phone-reveal-btn {
  font: inherit;
  color: var(--brand-strong);
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}

.phone-reveal-btn.revealed {
  color: var(--ink-soft);
  text-decoration: none;
  cursor: default;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .grid.three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: min(240px, 60vw);
  }

  .top-actions {
    gap: 8px;
  }

  .lang-switch {
    padding: 3px 6px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    right: 4vw;
    top: 74px;
    flex-direction: column;
    width: min(290px, 92vw);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
  }

  .nav-list.open {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
