/* ============ TOKENS ============ */
:root {
  --header-color: #160E0C;
  --header-ink: #FFFFFF;
  --ink: #201D19;
  --ink-soft: #4A453E;
  --stone: #8B8577;
  --line: #DEDACD;
  --cream: #F7F4EC;
  --cream-deep: #EFEADB;
  --teal: #1C3B3A;
  --teal-deep: #122A29;
  --ochre: #BD8A2E;
  --ochre-deep: #9C7024;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

section {
  position: relative;
}

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

.eyebrow {
  font-size: 1.2rem;
  color: var(--ochre-deep);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  border-color: var(--header-color);
  color: var(--header-color);
}

.btn-ghost-inv {
  border-color: var(--header-ink);
  color: var(--header-ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}



.btn:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

[id$="-eyebrow"] {
  scroll-margin-top: 150px;
}


/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-color);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}



.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--header-ink);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--header-ink);
  position: relative;
  transition: transform .2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -8px;
}

.nav-toggle span::after {
  position: absolute;
  top: 8px;
}

.logo img {
  transition: width 0.3s ease, height 0.3s ease;
}

header .logo img {
  width: 130px;
  height: 130px;
}

header.scrolled .logo img {
  width: 75px;
  height: 75px;
}

@media (max-width: 860px) {

  header .logo img {
    width: 75px;
    height: 75px;
  }

  .nav-links {
    position: fixed;
    inset: 85px 0 0 0;
    background: var(--header-color);
    flex-direction: column;
    padding: 32px var(--pad);
    gap: 24px;
    transform: translateY(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, visibility .25s ease;
    border-bottom: 1px solid var(--line);
    height: 300px;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
    color: var(--header-ink);
  }

  .nav-cta .btn-ghost-inv {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  padding: 38px 0 60px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  max-width: 15ch;
  color: var(--teal-deep);
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

/* ============ NOSOTROS ============ */
.nosotros {
  padding: 100px 0;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.nosotros h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--teal-deep);
}

.nosotros .lead {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
}

.nosotros .lead+.lead {
  margin-top: 14px;
}

.capabilities {
  display: flex;
  flex-direction: column;
}

.cap-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.cap-row:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-row svg {
  width: 20px;
  height: 20px;
  color: var(--ochre-deep);
  flex-shrink: 0;
}

.cap-row p {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
}

.values {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.values h3 {
  font-size: 1.4rem;
  color: var(--teal-deep);
  margin-bottom: 36px;
}

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

.value-item svg {
  width: 28px;
  height: 28px;
  color: var(--ochre-deep);
  margin-bottom: 14px;
}

.value-item h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--stone);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

/* ============ SERVICIOS ============ */
.servicios {
  background: var(--teal-deep);
  color: var(--cream);
  padding: 100px 0;
}

.servicios .eyebrow {
  color: var(--ochre);
}

.servicios>.wrap>h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  max-width: 800px;
  color: var(--white);
  margin-bottom: 64px;
}

.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid rgba(247, 244, 236, 0.16);
}


.service-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ochre);
  margin-bottom: 12px;
  display: block;
}

.service-text h3 {
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--white);
}

.service-text p {
  color: rgba(247, 244, 236, 0.75);
  font-size: 1rem;
  max-width: 52ch;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ochre);
  border-bottom: 1px solid transparent;
}

.service-link:hover {
  border-color: var(--ochre);
}


.menu-promo {
  align-items: stretch;
  flex-direction: column;
}


.menu-promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 650px;
  margin: 0 auto;
}

.menu-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
  padding: clamp(24px, 4vw, 48px);
  background: var(--cream);
  border-radius: 12px;
}

.menu-promo-content h3,
.menu-promo-content h4,
.menu-promo-content p {
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.menu-promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
  color: var(--teal-deep);
}

.menu-promo-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(40, 53, 45, .5);
  border-radius: 999px;
  font-size: .85rem;
}

.menu-promo-price {
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

@media (max-width: 860px) {

  .service-row {
    grid-template-columns: 1fr;
  }

}

/* ============ CONTACTO ============ */
.contacto {
  background: var(--cream-deep);
  padding: 100px 0 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
}

.contacto h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--teal-deep);
  max-width: 14ch;
}

.contacto-top p {
  margin-top: 18px;
  color: var(--ink-soft);
  max-width: 44ch;
}

form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--stone);
  background: var(--cream);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--ink);
  border-radius: 2px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(28, 59, 58, 0.12);
}

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

.contact-info {
  padding-top: 8px;
}

.info-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.info-block:last-of-type {
  border-bottom: 1px solid var(--line);
}

.info-block h4 {
  font-size: 0.82rem;
  text-transform: none;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 6px;
}

.info-block p,
.info-block a {
  font-size: 1rem;
  color: var(--ink);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-row a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.map-wrap {
  margin-top: 40px;
  border: 1px solid var(--line);
  filter: grayscale(0.35) contrast(1.05);
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============ FOOTER ============ */
footer {
  background: var(--teal-deep);
  color: rgba(247, 244, 236, 0.7);
  margin-top: 100px;
  padding: 48px 0 28px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 236, 0.14);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.whatsapp-float:hover {
  background: var(--teal-deep);
}

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

  * {
    transition: none !important;
  }
}