@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800&family=Merriweather:wght@700;900&display=swap');

:root {
  --bg: #f5f3ee;
  --bg-soft: #ece8e0;
  --surface: #ffffff;
  --surface-soft: #faf8f4;
  --ink: #1a2b3a;
  --ink-soft: #5a6877;
  --brand: #163b5c;
  --brand-strong: #0f2f4a;
  --accent: #b8864f;
  --accent-soft: #ddba8d;
  --line: #d8d1c5;
  --success: #25d366;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 14px 30px rgba(18, 29, 43, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  line-height: 1.68;
  background:
    radial-gradient(circle at 11% 9%, rgba(22, 59, 92, 0.07), transparent 33%),
    radial-gradient(circle at 88% 6%, rgba(184, 134, 79, 0.12), transparent 30%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-seal {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(140deg, #2a5f89, #163b5c);
  box-shadow: 0 8px 20px rgba(22, 59, 92, 0.28);
}

.logo-copy {
  display: grid;
  line-height: 1.06;
}

.logo-copy strong {
  font-family: 'Merriweather', serif;
  font-size: 29px;
  color: var(--brand);
}

.logo-copy small {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10px;
  color: #7c6750;
  font-weight: 700;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(22, 59, 92, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
}

.topbar nav a {
  font-size: 15px;
  font-weight: 700;
  color: #506070;
  padding: 6px 2px 4px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--brand);
  border-bottom-color: var(--accent);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--brand));
}

.hero {
  min-height: 88vh;
  background:
    linear-gradient(104deg, rgba(12, 35, 56, 0.84), rgba(20, 53, 82, 0.70) 48%, rgba(184, 134, 79, 0.30) 100%),
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.page-hero {
  min-height: 48vh;
  background:
    linear-gradient(104deg, rgba(13, 34, 52, 0.86), rgba(22, 50, 73, 0.65)),
    url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-content,
.page-hero-content {
  max-width: 780px;
  padding: 84px 0;
  animation: fadeUp 0.85s ease both;
}

.hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: stretch;
  padding: 34px 0;
}

.hero-layout .hero-content {
  max-width: none;
  padding: 0;
  animation: none;
}

.hero-main-card,
.hero-side-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(8, 20, 32, 0.28);
}

.hero-main-card {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  padding: 42px 50px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.hero-inner-card {
  background: linear-gradient(155deg, rgba(11, 33, 50, 0.86), rgba(18, 49, 74, 0.8));
  border: 2px solid rgba(250, 224, 188, 0.32);
  border-radius: 28px;
  padding: 30px 32px;
  display: grid;
  gap: 14px;
  text-align: center;
  justify-items: center;
}

.hero-intro {
  color: #ffd84d;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0;
}

.hero-sublead {
  color: #ffd84d;
  font-size: 17px;
  line-height: 1.72;
  margin: -8px 0 0;
  max-width: 58ch;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.hero-point {
  background: rgba(248, 236, 217, 0.1);
  border: 1px solid rgba(243, 214, 174, 0.26);
  border-radius: 12px;
  color: #ffd84d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  padding: 10px 12px;
  text-align: center;
}

.hero-inner-card .lead,
.hero-inner-card .hero-sublead {
  margin-left: auto;
  margin-right: auto;
}

.hero-inner-card h1 {
  width: 100%;
  text-align: left;
}

.hero-inner-card .actions {
  justify-content: center;
}

.hero-side-card {
  background: linear-gradient(155deg, rgba(11, 33, 50, 0.95), rgba(18, 49, 74, 0.9));
  border: 1px solid rgba(251, 225, 188, 0.18);
  padding: 12px 26px 26px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.side-title {
  font-size: 26px;
  color: #f5e6cb;
  margin: 0;
}

.side-grid {
  display: grid;
  gap: 9px;
}

.side-item {
  background: rgba(248, 236, 217, 0.08);
  border: 1px solid rgba(243, 214, 174, 0.2);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 2px;
}

.side-label {
  color: #e1cda9;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
}

.side-item strong {
  color: #f3f7fb;
  font-size: 15px;
}

.side-btn {
  margin-top: 6px;
}

.side-contact-line {
  color: #dbe5ee;
  line-height: 1.8;
  font-weight: 600;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 243, 226, 0.16);
  border: 1px solid rgba(255, 224, 184, 0.45);
  color: #ffe4be;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1,
.section-title,
.card h3,
.team-card h3,
.practice-card h3,
.value-card h3,
.feature-box h3,
.info-box h2,
.form-box h2,
.cta-box h3,
.stat-card h3,
.quote-card h3 {
  font-family: 'Merriweather', serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 7vw, 60px);
  color: #fbf7f0;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(30px, 6vw, 48px);
}

.lead {
  color: #d8e3ee;
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.btn,
.btn-outline {
  min-height: 50px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 800;
  transition: 0.2s;
}

.btn {
  border: none;
  background: linear-gradient(135deg, #c18a4d, #aa733b);
  color: #fffaf1;
  box-shadow: 0 10px 20px rgba(170, 115, 59, 0.24);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 231, 197, 0.6);
  color: #fff7eb;
  background: rgba(20, 49, 72, 0.18);
}

.btn-outline:hover {
  background: rgba(255, 241, 220, 0.12);
}

.section {
  padding: 82px 0;
}

.section--tight {
  padding-top: 0;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.section-title {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 14px;
  color: var(--brand);
}

.section-text {
  max-width: 820px;
  color: var(--ink-soft);
  line-height: 1.84;
  margin-bottom: 34px;
}

.grid-3,
.cards,
.team-grid,
.practice-grid,
.values,
.stats,
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.card,
.value-card,
.team-card,
.practice-card,
.info-box,
.form-box,
.feature-box,
.cta-box,
.stat-card,
.quote-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.team-card,
.practice-card {
  overflow: hidden;
}

.cards .card {
  display: grid;
  grid-template-rows: 230px 1fr;
}

.card,
.value-card,
.team-card,
.practice-card,
.stat-card,
.quote-card,
.feature-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.value-card:hover,
.team-card:hover,
.practice-card:hover,
.stat-card:hover,
.quote-card:hover,
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px rgba(18, 29, 43, 0.13);
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

.cards .card img {
  height: 100%;
}

.team-card img {
  height: 320px;
  object-fit: cover;
}

.card-content,
.team-content,
.practice-content {
  padding: 24px;
}

.card h3,
.team-card h3,
.practice-card h3,
.value-card h3,
.feature-box h3,
.info-box h2,
.form-box h2,
.cta-box h3,
.stat-card h3,
.quote-card h3 {
  margin-bottom: 10px;
  color: var(--brand);
}

.card p,
.team-card p,
.practice-card p,
.value-card p,
.feature-box p,
.info-box p,
.stat-card p,
.quote-card p {
  color: var(--ink-soft);
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: #9b6c3c;
}

.value-card,
.feature-box,
.info-box,
.form-box,
.cta-box,
.stat-card,
.quote-card {
  padding: 26px;
}

.cta-box {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(135deg, #1b4263, #29557a 56%, #78543a 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.cta-box h3,
.cta-box p {
  color: #f2f7fb;
}

.cta-box .btn {
  box-shadow: none;
}

.stat-number {
  display: block;
  margin-bottom: 6px;
  font-family: 'Merriweather', serif;
  font-size: 36px;
  color: #a46c35;
}

.about-image img,
.side-image img,
.map img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.list {
  list-style: none;
  margin-top: 18px;
}

.list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d5cdc0;
  background: #fff;
  padding: 14px 15px;
  font: inherit;
  color: #213244;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #8da5bb;
  box-shadow: 0 0 0 3px rgba(46, 95, 132, 0.14);
}

footer {
  border-top: 1px solid var(--line);
  background: #ece6dc;
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #62707d;
}

.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: clamp(120px, 14vw, 170px);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  box-shadow: 0 14px 28px rgba(18, 29, 43, 0.34);
  z-index: 1001;
  transition: transform 0.2s ease;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  display: block;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
}

.whatsapp-float-right {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #25d366, #1eb85a);
  border: 2px solid #ffffff;
  box-shadow: 0 14px 28px rgba(18, 29, 43, 0.34), 0 0 0 4px rgba(37, 211, 102, 0.18);
  z-index: 1001;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-float-right svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.whatsapp-float-right:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
}

.fade-up {
  animation: fadeUp 0.85s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.16s;
}

.delay-3 {
  animation-delay: 0.24s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .grid-3,
  .cards,
  .team-grid,
  .practice-grid,
  .values,
  .stats,
  .testimonials,
  .grid-2,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-main-card,
  .hero-side-card {
    padding: 28px;
  }

  .hero-main-card {
    padding: 34px 38px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .topbar nav {
    gap: 12px;
    width: 100%;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .logo-seal {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .logo-copy strong {
    font-size: 24px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .hero-layout {
    padding: 22px 0;
    gap: 14px;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }

  .hero-main-card {
    padding: 26px 24px;
  }

  .whatsapp-float {
    left: 12px;
    bottom: 12px;
    width: 120px;
  }

  .whatsapp-float-right {
    right: 12px;
    bottom: 12px;
    width: 58px;
    height: 58px;
  }
}
