/* ═══════════════════════════════════════════════
   LA CIMA — index.css  v3
   Outfit + Josefin Sans · 3-font system
   ═══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-dark);
  background: var(--color-cream);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); font-weight: 300; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-24); }
.section--sm     { padding-block: var(--sp-16); }
.section--cream  { background: var(--color-cream); }
.section--white  { background: var(--color-white); }
.section--sky    { background: var(--color-sky-blue); }
.section--yellow { background: var(--color-yellow-light); }
.section--dark   { background: var(--color-dark); }

/* ── Section header ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-blue-dark);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.1;
  margin-bottom: var(--sp-3);
  letter-spacing: 0;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark-mid);
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}
.section-header { margin-bottom: var(--sp-12); }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm { font-size: var(--fs-sm); padding: 9px 20px; }
.btn--lg { font-size: var(--fs-md); padding: 15px 32px; }

.btn--primary       { background: var(--color-dark);    color: var(--color-white); border-color: var(--color-dark); }
.btn--primary:hover { background: var(--color-dark-mid); border-color: var(--color-dark-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--blue       { background: var(--color-blue);      color: var(--color-white); border-color: var(--color-blue); }
.btn--blue:hover { background: var(--color-blue-dark); border-color: var(--color-blue-dark); transform: translateY(-2px); }

.btn--red       { background: var(--color-red);      color: var(--color-white); border-color: var(--color-red); }
.btn--red:hover { background: var(--color-red-dark); border-color: var(--color-red-dark); transform: translateY(-2px); }

.btn--wa       { background: var(--color-wa);      color: var(--color-white); border-color: var(--color-wa); }
.btn--wa:hover { background: var(--color-wa-dark); border-color: var(--color-wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }

.btn--outline       { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn--outline:hover { background: var(--color-dark); color: var(--color-white); transform: translateY(-2px); }

.btn--outline-white       { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.45); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--color-white); }


/* Call button — distinct from WA, clean blue */
.btn--call {
  background: var(--color-sky-blue);
  color: var(--color-blue-dark);
  border: 2px solid var(--color-blue);
  font-family: var(--font-body);
  font-weight: 500;
}
.btn--call:hover {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(117,186,217,.4);
}

.btn--white       { background: var(--color-white); color: var(--color-dark); border-color: var(--color-white); }
.btn--white:hover { background: var(--color-yellow-light); transform: translateY(-2px); }

/* ── Tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 200;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: var(--r-full);
}
.tag--popular   { background: var(--color-red);          color: var(--color-white); }
.tag--organic   { background: var(--color-green-light);   color: var(--color-green-dark); }
.tag--new       { background: var(--color-blue);          color: var(--color-white); }
.tag--specialty { background: var(--color-yellow-light);  color: var(--color-dark); border: 1px solid var(--color-border); }

/* ── Open Now ── */
.open-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--color-green-light); color: var(--color-green-dark);
  font-family: var(--font-accent); font-size: var(--fs-xs); font-weight: 200;
  letter-spacing: .08em; padding: 4px 12px; border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.open-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--color-green-dark);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ════════════════════════════════════════════════
   NAVBAR
   Logo left · links center · actions right
   Mobile: logo left · lang+login+hamburger right
   ════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
  background: rgba(253,250,244,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-sm);
}

.nav-inner {
  height: 100%; max-width: var(--max-width);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--sp-3);
}

/* ── Logo — always left ── */
.nav-logo { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; text-decoration: none; }
.nav-logo-img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--color-yellow-light); padding: 2px; }
.nav-logo-text { line-height: 1; display: flex; flex-direction: column; gap: 4px; }
.nav-logo-name {
  font-family: var(--font-body);
  font-size: 20px; font-weight: 400; letter-spacing: .02em;
  color: var(--color-white); display: block; transition: color var(--ease);
}
.nav-logo-sub {
  font-family: var(--font-accent);
  font-size: 11px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  display: block; transition: color var(--ease);
}
#navbar.scrolled .nav-logo-name { color: var(--color-dark); }
#navbar.scrolled .nav-logo-sub  { color: var(--color-dark-mid); }

/* ── Desktop links ── */
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }

/* Full-row hover — not just the text */
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400;
  letter-spacing: .03em; text-transform: none;
  color: rgba(255,255,255,.96);
  text-shadow: 0 1px 10px rgba(0,0,0,.8), 0 0 30px rgba(0,0,0,.5);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: all var(--ease);
  white-space: nowrap;
  display: flex; align-items: center;
  height: 36px;
}
#navbar.scrolled .nav-links a { color: var(--color-dark); text-shadow: none; font-weight: 400; }

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.15); /* full pill hover */
}
#navbar.scrolled .nav-links a:hover {
  color: var(--color-blue-dark);
  background: var(--color-sky-blue);
  font-weight: 500;
}

/* ── Actions — always far right ── */
.nav-actions { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; margin-left: auto; }

/* WA pill — desktop only */
.nav-wa {
  display: flex; align-items: center; gap: 6px;
  background: var(--color-wa); color: var(--color-white);
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 400;
  padding: 8px 16px; border-radius: var(--r-full);
  transition: all var(--ease); white-space: nowrap;
}
.nav-wa:hover { background: var(--color-wa-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.nav-wa svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Lang pill */
.nav-lang {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--r-full);
  padding: 6px 16px;
  min-width: 52px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.nav-lang:hover {
  background: rgba(255,255,255,.30);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-1px);
}
#navbar.scrolled .nav-lang {
  color: var(--color-dark);
  background: var(--color-sky-blue);
  border-color: var(--color-blue);
  text-shadow: none;
  font-weight: 500;
}
#navbar.scrolled .nav-lang:hover {
  background: var(--color-blue-light);
  border-color: var(--color-blue-dark);
}

/* Login icon */
.nav-login {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.88);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease); text-decoration: none; flex-shrink: 0;
}
.nav-login svg { width: 17px; height: 17px; }
.nav-login:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }
#navbar.scrolled .nav-login { border-color: var(--color-border); color: var(--color-dark-mid); }
#navbar.scrolled .nav-login:hover { background: var(--color-sky-blue); border-color: var(--color-blue); color: var(--color-blue-dark); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px; padding: 5px;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-white); border-radius: 2px;
  transition: all var(--ease); transform-origin: center;
}
#navbar.scrolled .nav-hamburger span { background: var(--color-dark); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg); z-index: 999;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
.nav-drawer.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Full-width hover on each drawer link */
.nav-drawer a {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 400;
  letter-spacing: .01em;
  color: var(--color-dark);
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--ease);
  display: block; width: 100%;
  text-align: center;
}
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer a:hover {
  color: var(--color-blue-dark);
  background: var(--color-sky-blue);
  text-align: center;
}

/* Drawer bottom actions — WhatsApp + Call, centered */
.nav-drawer-actions {
  display: flex;
  gap: var(--sp-3);
  flex-direction: column;
  padding: var(--sp-5) var(--gutter) var(--sp-6);
  border-top: 1px solid var(--color-border);
}
.nav-drawer-actions .btn {
  width: 100%;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
}

/* ── Responsive breakpoints ── */
@media (max-width: 900px) {
  .nav-links, .nav-wa { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 540px) {
  .nav-inner { padding-inline: var(--sp-4); gap: var(--sp-2); }
  .nav-logo-name { font-size: 16px; }
  .nav-logo-sub  { font-size: 7px; letter-spacing: .14em; }
}
@media (max-width: 380px) {
  .nav-inner { padding-inline: 12px; gap: var(--sp-1); }
  .nav-logo-img { width: 36px; height: 36px; }
  .nav-logo-name { font-size: 15px; }
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.site-footer { background: var(--color-dark); padding: var(--sp-16) var(--gutter) var(--sp-8); }
.footer-grid { max-width: var(--max-width); margin-inline: auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-10); padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: var(--sp-6);
}
.footer-brand-logo { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer-brand-img  { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; background: var(--color-yellow-light); padding: 3px; }
.footer-brand-name { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--color-white); }
.footer-brand-sub  { font-family: var(--font-body);    font-size: 11px; font-weight: 300; color: rgba(255,255,255,.5); letter-spacing: .10em; text-transform: uppercase; }
.footer-desc       { font-family: var(--font-body);    font-size: 14px; font-weight: 300; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: var(--sp-5); }
.footer-social { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all var(--ease); color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 400;
  letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: var(--sp-5);
}
.footer-col li { margin-bottom: var(--sp-3); }
.footer-col li a { font-family: var(--font-body); font-size: 15px; font-weight: 300; color: rgba(255,255,255,.7); transition: color var(--ease); }
.footer-col li a:hover { color: var(--color-white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); }
.footer-copy   { font-family: var(--font-body);   font-size: 13px; font-weight: 300; color: rgba(255,255,255,.45); }
.footer-credit { font-family: var(--font-body);    font-size: 13px; font-weight: 300; color: rgba(255,255,255,.45); }
.footer-credit a { color: var(--color-blue); transition: color var(--ease); }
.footer-credit a:hover { color: var(--color-blue-dark); }

@media (max-width: 1024px) { .footer-top { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .footer-top { grid-template-columns: 1fr; } }

/* ── Global responsive ── */
@media (max-width: 768px) { .section { padding-block: var(--sp-16); } }
@media (max-width: 480px) { .container { padding-inline: var(--sp-4); } }

/* ── Responsive text visibility ── */
.text-desktop { display: inline; }
.text-mobile  { display: none;   }

@media (max-width: 900px) {
  .text-desktop { display: none;   }
  .text-mobile  { display: inline; }
}
