:root {
  --color-bg: #faf7f0;
  --color-bg-alt: #f1ead9;
  --color-ink: #2b2416;
  --color-ink-soft: #5a5240;
  --color-green-dark: #123f4d;
  --color-green: #1d5468;
  --color-green-light: #5b8b95;
  --color-brown: #6b4a2f;
  --color-gold: #7c9c3e;
  --color-gold-light: #9cc350;
  --color-cream: #fffdf8;
  --shadow-soft: 0 10px 30px rgba(43, 36, 22, 0.08);
  --radius: 14px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--color-green-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
  color: var(--color-ink-soft);
}

a {
  color: var(--color-green);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 0 0.6em;
}

.eyebrow-light {
  color: var(--color-gold-light);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 36, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 76px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--color-green);
}

.nav-cta {
  background: var(--color-green-dark);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-green-dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 154, 46, 0.18), transparent 45%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  padding: 96px 0 88px;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-lead {
  margin-left: auto;
  margin-right: auto;
}

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

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 1em;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin-bottom: 0.4em;
}

.hero-lead {
  font-size: 1rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 2em;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--color-green-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-green);
  color: #fff;
}

.btn-outline {
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
}

.btn-outline:hover {
  background: var(--color-green-dark);
  color: #fff;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 1.5em;
}

.section-heading-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.section-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section-body {
  max-width: 720px;
  text-align: center;
}

.section-body p {
  font-size: 0.95rem;
}

/* ---------- Misión / Visión ---------- */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-gold);
}

.mv-card p:last-child {
  margin-bottom: 0;
}

/* ---------- Valores ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4em;
}

.value-card h3 {
  font-size: 0.95rem;
  color: var(--color-green-dark);
}

.value-card p {
  font-size: 0.83rem;
  margin-bottom: 0;
}

/* ---------- Servicios ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.service-partner-logo {
  height: 44px;
  width: auto;
  margin-top: 18px;
  display: block;
}

.service-number {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.3em;
}

.service-card h3 {
  font-size: 1.02rem;
}

.service-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ---------- Contacto ---------- */

.contact-section {
  background: linear-gradient(180deg, var(--color-green-dark) 0%, #22371a 100%);
}

.contact-section .eyebrow {
  margin-bottom: 0.6em;
}

.contact-section h2 {
  color: #fff;
}

.contact-lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2em 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list a,
.contact-list span:last-child {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}

.contact-label {
  display: block;
  color: var(--color-gold-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25em;
}

.contact-form {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1px solid rgba(43, 36, 22, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-green-light);
  outline-offset: 1px;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--color-green-dark);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1c2a15;
  padding: 28px 0;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .section-grid,
  .mv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(43, 36, 22, 0.08);
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 60px 0;
  }
}
