:root {
  --primary: #F35539;
  --secondary: #FF2E2E;
  --dark: #000000;
  --gray: #525252;
  --white: #FFFFFF;
  --soft: #f6f3ef;
  --font-display: "Rye", Georgia, serif;
  --font-title: "Oswald", Arial, sans-serif;
  --font-script: "Permanent Marker", cursive;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; color: #171717; font-family: Arial, Helvetica, sans-serif; background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, .nav-link { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .03em; }

.ca-navbar { background: rgba(0, 0, 0, .94); padding: 18px 0; transition: .25s; }
.ca-navbar.is-scrolled { padding: 10px 0; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.navbar-toggler { border-color: rgba(255,255,255,.35); }
.navbar-toggler-icon { filter: invert(1); }
.logo { color: var(--primary) !important; font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: .04em; }
.logo span { display: block; color: var(--secondary); font-family: var(--font-title); font-size: 14px; letter-spacing: .18em; margin-bottom: 4px; }
.nav-link { color: var(--white); font-size: 14px; font-weight: 700; position: relative; }
.nav-link:hover, .nav-link:focus { color: var(--primary); }
.nav-link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: .2s; }
.nav-link:hover::after { transform: scaleX(1); }

.hero { min-height: 720px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.9) 35%, rgba(0,0,0,.28) 70%), url("../images/entrada.webp") center/cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 55%, rgba(243,85,57,.18), transparent 25%); }
.hero-content { position: relative; color: var(--white); padding-top: 90px; }
.eyebrow, .section-kicker { color: var(--secondary); font-family: var(--font-title); text-transform: uppercase; font-weight: 700; letter-spacing: .12em; }
.hero h1 { max-width: 720px; font-family: var(--font-display); font-size: clamp(48px, 7vw, 86px); line-height: .95; }
.hero h1 span { display: block; color: var(--primary); font-family: var(--font-script); font-size: clamp(38px, 6vw, 72px); text-transform: none; }
.hero-scribble { display: block; width: 220px; height: 34px; margin: 22px 0 26px; overflow: visible; }
.hero-scribble path { fill: none; stroke: var(--primary); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; filter: drop-shadow(0 0 10px rgba(243,85,57,.25)); animation: drawScribble .95s cubic-bezier(.65, 0, .25, 1) .45s forwards, scribbleGlow 2.4s ease-in-out 1.6s infinite; }

@keyframes drawScribble {
  to { stroke-dashoffset: 0; }
}

@keyframes scribbleGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(243,85,57,.1)); }
  50% { filter: drop-shadow(0 0 13px rgba(243,85,57,.5)); }
}
.hero .lead { max-width: 520px; font-size: 21px; margin-bottom: 30px; }
.btn { border-radius: 0; font-family: var(--font-title); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; padding: 14px 28px; }
.btn-primary-ca { background: var(--secondary); color: var(--white); border: 2px solid var(--secondary); }
.btn-primary-ca:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-outline-ca, .btn-outline-red { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-ca { color: var(--white); }
.btn-outline-ca:hover, .btn-outline-red:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: #25D366; border: 2px solid #25D366; color: #071b0f; font-family: var(--font-title); text-transform: uppercase; font-weight: 700; }
.btn-whatsapp:hover { background: #1fb858; border-color: #1fb858; color: #071b0f; }

.mobile-call-bar { display: none; }
.whatsapp-float { display: none; }
.lunch-ribbon { display: block; position: relative; overflow: hidden; background: #FF2E2E; color: #FFFFFF; padding: 16px 0; border: 0; animation: ribbonRise .7s ease both; }
.lunch-ribbon::after { content: ""; position: absolute; inset: 0 auto 0 -35%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-18deg); animation: ribbonShine 2.8s ease .45s both; pointer-events: none; }
.lunch-ribbon .container { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.lunch-ribbon strong { display: inline-block; color: #FFFFFF; font-family: var(--font-title); text-transform: uppercase; font-size: 22px; letter-spacing: .05em; line-height: 1.2; }
.lunch-ribbon span { display: inline-block; color: #FFFFFF; font-weight: 700; line-height: 1.3; }

@keyframes ribbonRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ribbonShine {
  from { left: -35%; }
  to { left: 110%; }
}

.section { padding: 90px 0; }
.white-texture { background: radial-gradient(circle at 15% 20%, rgba(0,0,0,.04), transparent 18%), linear-gradient(135deg, #fff, #f8f8f8); }
.section h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 54px); }
.rounded-img { width: 100%; height: 460px; object-fit: cover; box-shadow: 18px 18px 0 var(--primary); }
.decor-line { width: 180px; height: 3px; background: var(--primary); margin: 18px auto 26px; position: relative; }
.decor-line::after { content: "×"; position: absolute; inset: -18px 0 auto; margin: auto; width: 40px; color: var(--primary); background: #fff; font-size: 28px; line-height: 36px; }
.specialties { background: #fff; }
.special-card { background: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.12); height: 100%; }
.special-card img { height: 250px; width: 100%; object-fit: cover; }
.paint-label { margin: -24px 22px 14px; color: var(--white); background: var(--secondary); padding: 13px; position: relative; z-index: 1; font-family: var(--font-title); font-size: 26px; font-weight: 700; }
.special-card p { padding: 0 24px 24px; color: var(--gray); }

.lunch-section { background: linear-gradient(135deg, #111, #252525); color: var(--white); }
.lunch-section p { color: #e3e3e3; font-size: 18px; line-height: 1.65; margin-bottom: 26px; }
.lunch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lunch-grid article { min-height: 150px; padding: 24px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(135deg, rgba(243,85,57,.22), rgba(255,255,255,.04)); display: flex; flex-direction: column; justify-content: flex-end; }
.lunch-grid .lunch-card-bocadillos { background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(0,0,0,.32)), url("../images/kebab.webp") center/cover; border-color: rgba(243,85,57,.6); }
.lunch-grid .lunch-card-tapas { background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(0,0,0,.34)), url("../images/tortillaAllstendres.webp") center/cover; border-color: rgba(243,85,57,.6); }
.lunch-grid .lunch-card-cremaet { background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(0,0,0,.36)), url("../images/cremaet.webp") center/cover; border-color: rgba(243,85,57,.6); }
.lunch-grid .lunch-card-ambiente { background: linear-gradient(135deg, rgba(0,0,0,.72), rgba(0,0,0,.34)), url("../images/ambiente.webp") center/cover; border-color: rgba(243,85,57,.6); }
.lunch-grid span { color: var(--primary); font-family: var(--font-title); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.lunch-grid strong { display: block; margin-top: 8px; font-size: 24px; font-family: var(--font-title); text-transform: uppercase; line-height: 1.1; }

.info-band { background: linear-gradient(135deg, #090909, #222); color: var(--white); padding: 45px 0; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.quick-actions a { border: 1px solid rgba(255,255,255,.35); padding: 24px; text-align: center; color: var(--white); font-family: var(--font-title); text-transform: uppercase; font-weight: 700; }
.quick-actions a:hover { border-color: var(--primary); color: var(--primary); }
.info-band strong { display: block; color: var(--primary); font-family: var(--font-title); text-transform: uppercase; }
.info-band span { color: #ddd; }

.reviews { background: var(--dark); color: var(--white); }
blockquote { max-width: 760px; margin: auto; text-align: center; font-size: 27px; font-family: Georgia, serif; }
blockquote span { display: block; color: var(--primary); font-family: var(--font-title); font-size: 15px; margin-top: 20px; text-transform: uppercase; }
.swiper-pagination-bullet-active { background: var(--primary); }

.page-hero { min-height: 380px; color: var(--white); display: flex; align-items: center; padding-top: 120px; background: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.45)), url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1600&q=80") center/cover; }
.lunch-page-hero { min-height: 520px; background: linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.42)), url("../images/entrada.webp") center/cover; }
.lunch-page-hero h1 { max-width: 850px; font-size: clamp(54px, 6vw, 78px); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(44px, 7vw, 82px); }
.menu-title { border-bottom: 3px solid var(--primary); padding-bottom: 12px; margin-bottom: 26px; }
.dish-card { height: 100%; background: #fff; box-shadow: 0 15px 38px rgba(0,0,0,.12); transition: .2s; }
.dish-card:hover { transform: translateY(-5px); }
.dish-card img { width: 100%; height: 230px; object-fit: cover; }
.dish-card h3 { font-size: 23px; }
.dish-card strong { color: var(--primary); white-space: nowrap; }
.dish-card p { color: var(--gray); margin-bottom: 0; }
.menu-list { display: grid; gap: 16px; }
.menu-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 20px; background: #fff; padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.menu-row img { width: 120px; height: 92px; object-fit: cover; }
.menu-row h3 { font-size: 24px; margin-bottom: 6px; }
.menu-row p { color: var(--gray); margin: 0; }
.menu-row strong { color: var(--primary); font-family: var(--font-title); font-size: 22px; white-space: nowrap; }

.masonry { columns: 3 260px; column-gap: 20px; }
.gallery-item { display: block; position: relative; break-inside: avoid; margin-bottom: 20px; overflow: hidden; background: #000; }
.gallery-item img { width: 100%; min-height: 220px; object-fit: cover; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); opacity: .75; }
.gallery-item span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-family: var(--font-title); text-transform: uppercase; font-weight: 700; }

.ca-form, .contact-box { background: #fff; padding: 34px; box-shadow: 0 18px 45px rgba(0,0,0,.12); }
.ca-form label { font-family: var(--font-title); text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.form-control, .form-select { border-radius: 0; padding: 12px 14px; border-color: #ddd; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(243,85,57,.18); }
.contact-box iframe { width: 100%; height: 340px; border: 0; margin-top: 16px; filter: grayscale(.3); }
.flash { position: fixed; top: 96px; right: 20px; z-index: 1050; color: #fff; padding: 16px 22px; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.flash-ok { background: #16803a; }
.flash-error { background: var(--secondary); }

.footer-main { background: var(--secondary); color: var(--white); padding: 55px 0; position: relative; overflow: hidden; }
.footer-main::after { content: ""; position: absolute; right: 5%; bottom: -40px; width: 180px; height: 260px; border: 2px solid rgba(0,0,0,.12); transform: rotate(22deg); }
.footer-logo { color: var(--white) !important; }
.footer a { display: block; color: var(--white); margin-bottom: 6px; }
.footer h5 { font-family: var(--font-title); text-transform: uppercase; font-weight: 700; }
.footer-bottom { background: #262626; color: #ddd; padding: 18px 0; font-size: 14px; }
.phone { font-size: 27px; font-weight: 700; }

.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #000, #262626); }
.login-card { width: min(430px, calc(100% - 28px)); background: #fff; padding: 36px; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.admin-body { background: #f3f3f3; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.admin-sidebar { background: #080808; color: #fff; padding: 26px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar nav { display: grid; gap: 10px; margin-top: 34px; }
.admin-sidebar nav a { padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); font-family: var(--font-title); text-transform: uppercase; }
.admin-sidebar nav a:hover { background: var(--primary); border-color: var(--primary); }
.admin-main { padding: 34px; }
.admin-card, .stat { background: #fff; padding: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.stat span { display: block; color: var(--gray); font-family: var(--font-title); text-transform: uppercase; }
.stat strong { color: var(--primary); font-size: 42px; }
.admin-thumb { width: 100%; height: 170px; object-fit: cover; margin-bottom: 14px; }
.actions { min-width: 360px; }
.actions form { display: inline-block; margin: 2px; }
.message { border-bottom: 1px solid #ddd; padding: 18px 0; }
.message.read { opacity: .72; }

@media (max-width: 991px) {
  .ca-navbar { position: absolute; }
  .hero { min-height: 680px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
}

@media (max-width: 767px) {
  body { overflow-x: hidden; }

  .ca-navbar {
    position: fixed;
    padding: 10px 0;
    background: rgba(0, 0, 0, .98);
  }

  .mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: block;
    padding: 13px 16px calc(13px + env(safe-area-inset-bottom));
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 -10px 28px rgba(0,0,0,.24);
  }

  .whatsapp-float {
    position: fixed;
    right: 14px;
    bottom: calc(58px + env(safe-area-inset-bottom));
    z-index: 1041;
    display: block;
    padding: 10px 14px;
    background: #25D366;
    color: #071b0f;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em;
  }

  .ca-navbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255,255,255,.16);
  }

  .navbar-nav {
    gap: 0;
  }

  .nav-link {
    padding: 13px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 42px;
    bottom: 7px;
    transform-origin: left;
  }

  .logo {
    font-size: 28px;
    max-width: 230px;
    white-space: normal;
  }

  .logo span {
    font-size: 12px;
    letter-spacing: .14em;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 76px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.62) 36%, rgba(0,0,0,.96) 100%),
      url("../images/entrada.webp") center/cover;
  }

  .hero-content {
    padding-top: 130px;
    max-width: 100%;
    overflow: hidden;
  }

  .eyebrow,
  .section-kicker {
    font-size: 13px;
    letter-spacing: .1em;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero h1 span {
    font-size: clamp(30px, 9.4vw, 42px);
    line-height: 1.02;
    margin-top: 4px;
  }

  .hero-scribble {
    width: 170px;
    height: 28px;
    margin: 18px 0 22px;
  }

  .hero .lead {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero .btn,
  .page-hero .btn {
    width: 100%;
    text-align: center;
  }

  .btn {
    padding: 13px 20px;
    min-height: 50px;
  }

  .lunch-ribbon {
    padding: 14px 0;
  }

  .lunch-ribbon .container {
    display: block;
  }

  .lunch-ribbon strong {
    display: block;
    font-size: 19px;
    line-height: 1.15;
  }

  .lunch-ribbon span {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.35;
  }

  .page-hero {
    min-height: 310px;
    padding-top: 100px;
    align-items: flex-end;
    padding-bottom: 38px;
    background:
      linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.92)),
      url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1100&q=80") center/cover;
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .page-hero p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .menu-title {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
  }

  .rounded-img {
    height: 300px;
    box-shadow: 10px 10px 0 var(--primary);
  }

  .special-card,
  .dish-card,
  .ca-form,
  .contact-box,
  .admin-card,
  .stat {
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
  }

  .special-card img,
  .dish-card img {
    height: 210px;
    background: #111 url("../images/placeholder.svg") center/64px auto no-repeat;
  }

  .lunch-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lunch-grid article {
    min-height: 118px;
    padding: 20px;
  }

  .lunch-grid strong {
    font-size: 22px;
  }

  .paint-label {
    margin: -20px 16px 12px;
    font-size: 23px;
    padding: 11px;
  }

  .dish-card .p-4 {
    padding: 20px !important;
  }

  .dish-card h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .dish-card .d-flex {
    align-items: flex-start;
  }

  .dish-card strong {
    font-size: 18px;
  }

  .menu-list {
    gap: 10px;
  }

  .menu-row {
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 11px;
  }

  .menu-row img {
    width: 82px;
    height: 82px;
    border-radius: 0;
  }

  .menu-row h3 {
    font-size: 19px;
    margin-bottom: 4px;
  }

  .menu-row p {
    font-size: 14px;
    line-height: 1.35;
  }

  .menu-row strong {
    grid-column: 2;
    justify-self: start;
    font-size: 18px;
    margin-top: -4px;
  }

  .carta .dish-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: stretch;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }

  .carta .dish-card img {
    height: 100%;
    min-height: 118px;
  }

  .carta .dish-card .p-4 {
    padding: 14px !important;
  }

  .carta .dish-card h3 {
    font-size: 19px;
  }

  .carta .dish-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .quick-actions {
    gap: 12px;
  }

  .quick-actions a {
    padding: 18px 12px;
    font-size: 15px;
  }

  .info-band {
    padding: 34px 0;
  }

  .info-band .row > div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  blockquote {
    font-size: 21px;
    line-height: 1.5;
  }

  .masonry {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 16px;
  }

  .gallery-item img {
    min-height: 260px;
  }

  .ca-form,
  .contact-box {
    padding: 22px;
  }

  .form-control,
  .form-select {
    min-height: 48px;
    font-size: 16px;
  }

  textarea.form-control {
    min-height: 150px;
  }

  .contact-box iframe {
    height: 280px;
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
  }

  .contact-info-col {
    order: 1;
  }

  .contact-form-col {
    order: 2;
  }

  .flash {
    top: 82px;
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .footer-main {
    padding: 42px 0;
  }

  .footer-main::after {
    display: none;
  }

  .footer-bottom .container {
    display: block !important;
    text-align: center;
  }

  .footer {
    padding-bottom: 54px;
  }

  .admin-sidebar {
    padding: 18px;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .admin-sidebar nav a {
    padding: 11px 10px;
    text-align: center;
    font-size: 14px;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-main h1 {
    font-size: 34px;
  }

  .table-responsive {
    border: 1px solid #e5e5e5;
  }

  .actions {
    min-width: 260px;
  }

  .actions form,
  .actions .btn {
    display: block;
    width: 100%;
    margin: 4px 0;
  }
}

@media (max-width: 575px) {
  .logo { font-size: 26px; }
  .hero { min-height: 620px; }
  .section { padding: 60px 0; }
  .quick-actions { grid-template-columns: 1fr; }
  .ca-form, .contact-box { padding: 22px; }
  .admin-main { padding: 18px; }

  .hero {
    min-height: 100svh;
    padding-bottom: 42px;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(30px, 10.2vw, 40px);
  }

  .hero h1 span {
    font-size: clamp(28px, 9.5vw, 38px);
  }

  .section h2,
  .menu-title {
    font-size: clamp(28px, 10vw, 38px);
  }

  .special-card img,
  .dish-card img {
    height: 195px;
  }

  .gallery-item img {
    min-height: 230px;
  }

  .login-card {
    width: calc(100% - 24px);
    padding: 26px 20px;
  }

  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }
}
