@charset "UTF-8";
/* ============================================================================
   carta.com.py — SHARED STYLESHEET (assets/css/carta.css)
   ----------------------------------------------------------------------------
   Extracted 2026-11-07 from three near-duplicate <style> blocks in
   index.php, eatery.php and sumate.php (~760 lines total, ~180 shared
   selectors). Those blocks had drifted: the footer listed two cities in
   eatery.php and four in index.php; paddings and max-widths differed by a
   few pixels per file; the submit page used a different display cut.

   SOURCE OF TRUTH RULE: if a rule is used by more than one page, it lives
   here. Page-specific rules stay in that page's <style> block and are
   clearly marked.

   LOAD ORDER on every page:
     1. <link rel="stylesheet" href="/assets/css/carta.css">
     2. page's own <style> block (overrides + page-only rules)

   SECTIONS
     01 tokens     02 reset      03 utilities   04 nav
     05 footer     06 buttons    07 reveal      08 motion preference
   ========================================================================= */

/* ─── 01. DESIGN TOKENS ─────────────────────────────────────────────────── */
:root {
  --py-red: #d52b1e;
  --py-red-dark: #a01a10;
  --py-red-light: #ff3b2e;
  --py-blue: #003da5;
  --py-blue-dark: #002a73;
  --py-blue-light: #1a5cc9;
  --py-white: #ffffff;
  --py-blue-bg: #faf7f2;
  --warm-tint: #f3ede4;
  --ink: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 30px rgba(0,61,165,0.15);
  --shadow-red: 0 8px 30px rgba(213,43,30,0.15);
  --radius: 20px;
}

/* ─── 02. RESET ─────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--py-white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}

/* subtle checked-tablecloth overlay on the page background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url('https://samber.carta.com.py/background.webp');
  background-repeat: repeat; background-size: 300px 150px;
  opacity: 0.04; pointer-events: none; z-index: 0;
}

/* ─── 03. UTILITIES ─────────────────────────────────────────────────────── */
.hero-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 10;
  background: linear-gradient(90deg, var(--py-red) 33%, var(--py-white) 33%, var(--py-white) 66%, var(--py-blue) 66%);
}

/* The one display typeface. Homepage hero, eatery hero and submit hero all
   use this exact cut — do not override font-variation-settings per page
   unless you intend a visibly different typeface. */
.display-type {
  font-family: 'Fraunces', 'Outfit', serif;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.08;
  font-variation-settings: 'opsz' 72, 'SOFT' 0, 'WONK' 0;
}

/* ─── 04. TOP NAV ───────────────────────────────────────────────────────── */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: linear-gradient(135deg, var(--py-red-dark), #7a1209);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 12px 24px; display: flex; align-items: center; gap: 20px;
  box-shadow: 0 4px 24px rgba(90,10,5,0.4);
}
.topnav .brand {
  display: flex; align-items: center; gap: 10px; color: white;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px;
  text-decoration: none; letter-spacing: -0.3px; white-space: nowrap;
}
.topnav .brand img {
  height: 56px; width: auto; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.topnav .nav-search {
  display: flex; align-items: center; margin-left: 8px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px; padding: 3px 4px 3px 12px; transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.topnav .nav-search:focus-within {
  background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 4px 16px rgba(0,0,0,0.18);
}
.topnav .nav-search-icon { font-size: 14px; opacity: 0.9; margin-right: 2px; }
.topnav .nav-search input {
  width: 200px; background: transparent; border: none; color: white;
  padding: 7px 6px; border-radius: 0; font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif; outline: none;
}
.topnav .nav-search input::placeholder { color: rgba(255,255,255,0.75); }
.topnav .nav-search input:focus { width: 240px; }
.topnav .nav-search-btn {
  background: white; color: var(--py-red-dark); border: none;
  padding: 7px 16px; border-radius: 100px; font-size: 12px; font-weight: 800;
  cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.2s; white-space: nowrap;
}
.topnav .nav-search-btn:hover { background: #fff5f2; transform: translateY(-1px); }
.topnav .nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topnav .nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13px;
  font-weight: 600; padding: 8px 12px; border-radius: 8px;
  transition: all 0.2s; white-space: nowrap;
}
.topnav .nav-links a:hover { color: white; background: rgba(255,255,255,0.12); }
.topnav .nav-links a.nav-special { color: #ffd9a0; }
.topnav .nav-links a.nav-special:hover { color: #ffe9c4; background: rgba(255,217,160,0.12); }
.topnav .nav-cta {
  background: white; color: var(--py-red-dark) !important;
  padding: 9px 18px !important; border-radius: 100px !important;
  font-weight: 800 !important; box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.topnav .nav-cta:hover {
  background: var(--py-red-dark) !important; color: #fff !important;
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

/* ─── 05. FOOTER ────────────────────────────────────────────────────────────
   PLAIN, FLAT, no texture. The homepage used to paint a guaraní texture
   behind this (footer::before + a masking ::after gradient); the submit page
   never did, and that plain treatment is the one we standardised on
   (2026-11-07). Do not reintroduce a background image here. */
footer {
  background: var(--py-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 30px;
  position: relative; z-index: 1;
}
.footer-content {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand h3 {
  font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800;
  color: white; margin: 0 0 12px; line-height: 1.2;
}
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 300px; margin: 0; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: white;
  margin: 0 0 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.62); text-decoration: none;
  font-size: 14px; padding: 5px 0; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 16px 24px;
}
.footer-bottom > span { color: rgba(255,255,255,0.6); }
.footer-ring { color: rgba(255,255,255,0.6); }
.footer-ring a, .footer-credit a {
  color: #fff; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.footer-ring a:hover, .footer-credit a:hover { color: #ffd54d; }
.footer-flag {
  display: inline-flex; flex-direction: column; height: 24px; width: 36px;
  border-radius: 3px; overflow: hidden;
}
.footer-flag span { width: 100%; height: 100%; }
.footer-flag .r { background: var(--py-red); }
.footer-flag .w { background: white; }
.footer-flag .b { background: var(--py-blue); }

/* ─── 06. BUTTONS ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  padding: 13px 24px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--py-red), var(--py-red-dark));
  color: white; box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(213,43,30,0.3); }
.btn-ghost {
  background: white; color: var(--ink); border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #d9d3c8; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── 07. REVEAL ANIMATION ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── 08. MOTION & PRINT PREFERENCES ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── 09. RESPONSIVE (shared) ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
