/* =========================================================
   Haiku La Crepería — estilos
   Colores tomados del logo: magenta, turquesa, arena y gris
   ========================================================= */
:root {
    --pink: #D6156F;
    --pink-dark: #B0105A;
    --pink-soft: #FCE7F1;
    --teal: #2BAEA5;
    --teal-dark: #1E8C85;
    --teal-soft: #E2F5F3;
    --sand: #D8BD92;
    --sand-soft: #F7EFE2;
    --gray: #6D6E71;
    --dark: #2E2A2D;
    --cream: #FFFBF6;
    --white: #FFFFFF;
    --text: #3A3639;
    --text-light: #6F6A6D;
    --radius: 22px;
    --shadow: 0 14px 40px rgba(46, 42, 45, .10);
    --font-heading: 'Fredoka', 'Nunito', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    --header-h: 78px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; color: var(--dark); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 8px 22px rgba(214, 21, 111, .30); }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--pink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    background: rgba(255, 251, 246, .85); backdrop-filter: blur(12px);
    transition: box-shadow .3s, background .3s;
}
.header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.header-inner { max-width: 1140px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--gray); font-size: .97rem; position: relative; transition: color .2s; }
.nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0;
    background: var(--pink); border-radius: 3px; transition: width .25s;
}
.nav a:not(.btn):hover, .nav a.is-current { color: var(--pink); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { width: 100%; }
.nav .nav-cta { color: var(--white); padding: 10px 24px; }
.nav .nav-cta:hover { color: var(--white); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: var(--gray); transition: transform .3s, opacity .3s, top .3s; }
.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 20.5px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 70px) 0 100px; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; z-index: -1; }
.hero-blob--pink { width: 520px; height: 520px; background: var(--pink-soft); top: -120px; right: -140px; }
.hero-blob--teal { width: 380px; height: 380px; background: var(--teal-soft); bottom: -120px; left: -120px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
    display: inline-block; padding: 7px 18px; border-radius: 50px; background: var(--teal-soft);
    color: var(--teal-dark); font-weight: 700; font-size: .85rem; letter-spacing: .04em; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 4.8rem); font-weight: 700; color: var(--gray); letter-spacing: .01em; }
.hero h1 span { display: block; color: var(--pink); }
.hero-place { font-family: var(--font-heading); font-size: 1.3rem; color: var(--teal-dark); font-weight: 500; margin: 10px 0 20px; letter-spacing: .2em; text-transform: uppercase; }
.hero-lead { font-size: 1.12rem; color: var(--text-light); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; min-height: 480px; }
.hero-photo { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--white); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main { width: 72%; height: 440px; top: 0; right: 0; transform: rotate(2.5deg); }
.hero-photo--small { width: 46%; height: 250px; bottom: -10px; left: 0; transform: rotate(-4deg); }
.hero-badge {
    position: absolute; left: 34%; top: 18px; background: var(--white); padding: 14px 20px; border-radius: 18px;
    box-shadow: var(--shadow); text-align: center; transform: rotate(-3deg);
}
.hero-badge strong { display: block; font-family: var(--font-heading); color: var(--pink); font-size: 1.35rem; line-height: 1.1; }
.hero-badge span { font-size: .8rem; color: var(--text-light); font-weight: 700; }

/* ---------- Secciones comunes ---------- */
.section-tag {
    display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--pink); margin-bottom: 12px;
}
.section h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head p { color: var(--text-light); }

/* ---------- Nosotros ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media::before {
    content: ''; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
    background: var(--sand-soft); z-index: 0;
}
.about-media img { position: relative; z-index: 1; border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow); }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 1.04rem; }
.about-text strong { color: var(--pink); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tags li { padding: 8px 18px; border-radius: 50px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: .9rem; }

/* ---------- Carta ---------- */
.menu { background: var(--cream); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab {
    font-family: var(--font-heading); font-size: 1.05rem; font-weight: 500; padding: 12px 26px; border-radius: 50px;
    border: 2px solid #EADFD3; background: var(--white); color: var(--gray); cursor: pointer; transition: all .25s;
}
.tab:hover { border-color: var(--pink); color: var(--pink); }
.tab.is-active { background: var(--pink); border-color: var(--pink); color: var(--white); box-shadow: 0 8px 20px rgba(214,21,111,.25); }
.tab-panel { animation: fadeUp .45s ease both; }
.tab-panel[hidden] { display: none; }
.menu-note { text-align: center; color: var(--text-light); margin-bottom: 30px; font-style: italic; }
.menu-extra { text-align: center; margin-top: 26px; font-weight: 700; color: var(--gray); }
.menu-extra b { color: var(--pink); }

.crepe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.crepe-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border-top: 6px solid var(--pink); }
.crepe-card--salty { border-top-color: var(--teal); }
.crepe-card h3 { font-size: 1.8rem; margin-bottom: 16px; color: var(--pink); }
.crepe-card--salty h3 { color: var(--teal-dark); }
.crepe-card h4 { font-size: 1rem; color: var(--gray); margin: 26px 0 12px; font-weight: 600; letter-spacing: .03em; }
.price-list li, .menu-list li {
    display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #E8DDD2;
}
.price-list li:last-child, .menu-list li:last-child { border-bottom: 0; }
.price-list span, .menu-list span { flex: 1; font-weight: 600; }
.price-list b, .menu-list b { font-family: var(--font-heading); font-weight: 600; color: var(--pink); white-space: nowrap; }
.price-list b::after, .menu-list b::after { content: ' €'; font-size: .85em; }
.crepe-card--salty .price-list b { color: var(--teal-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 50px; font-size: .88rem; font-weight: 600; background: var(--pink-soft); color: var(--pink-dark); }
.crepe-card--salty .chips li { background: var(--teal-soft); color: var(--teal-dark); }

.menu-list { background: var(--white); border-radius: var(--radius); padding: 18px 32px; box-shadow: var(--shadow); max-width: 680px; margin: 0 auto; }
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.menu-cols .menu-list { max-width: none; margin-bottom: 30px; }
.menu-qr { text-align: center; margin-top: 40px; }
.menu-subhead { font-size: 1.3rem; margin-bottom: 14px; color: var(--teal-dark); }

/* ---------- Especialidades ---------- */
.specials { background: var(--white); }
.specials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.special { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.special:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.special-media { aspect-ratio: 4 / 3; overflow: hidden; }
.special-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.special:hover .special-media img { transform: scale(1.06); }
.special-media--icon { display: grid; place-items: center; }
.special-media--icon svg { width: 84px; height: 84px; }
.special-media--teal { background: var(--teal-soft); color: var(--teal-dark); }
.special-media--sand { background: var(--sand-soft); color: #A8875A; }
.special-body { padding: 22px 22px 26px; }
.special-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.special-body p { color: var(--text-light); font-size: .95rem; }

/* ---------- Galería ---------- */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Reseñas ---------- */
.reviews { background: var(--sand-soft); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: #F2B200; letter-spacing: 3px; font-size: 1.1rem; }
.review-text { color: var(--text-light); font-style: italic; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--white); font-family: var(--font-heading); }
.review-source { display: block; font-weight: 500; font-size: .82rem; color: var(--text-light); }

/* ---------- Horario ---------- */
.schedule { background: var(--cream); }
.schedule-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: stretch; }
.schedule-card, .info-card { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #EFE6DC; font-size: 1.05rem; }
.hours b { color: var(--pink); font-family: var(--font-heading); font-weight: 600; }
.hours-note { margin-top: 18px; color: var(--text-light); font-size: .95rem; }
.info-card { background: var(--teal); color: var(--white); }
.info-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 22px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-weight: 600; }
.info-list svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; margin-top: 2px; opacity: .9; }
.info-list a { color: var(--white); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--pink) 0%, #E8478E 100%); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta::before { width: 300px; height: 300px; top: -150px; left: -80px; }
.cta::after { width: 220px; height: 220px; bottom: -110px; right: -40px; }
.cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.cta p { opacity: .92; margin-bottom: 30px; font-size: 1.1rem; }

/* ---------- Contacto ---------- */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: center; }
.contact-line { margin-bottom: 18px; color: var(--text-light); }
.contact-line strong { color: var(--dark); font-family: var(--font-heading); font-weight: 600; }
.contact-line a { color: var(--pink); text-decoration: none; font-weight: 700; }
.socials { display: flex; gap: 12px; margin-bottom: 30px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); transition: all .25s; }
.socials a:hover { background: var(--pink); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 21px; height: 21px; fill: currentColor; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #B9B2B6; padding: 50px 0 40px; text-align: center; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo { width: 130px; height: auto; background: var(--white); border-radius: 18px; padding: 8px; }
.footer p { font-size: .85rem; }
.footer-nap { font-style: normal; font-size: .92rem; color: #E4DDE1; }
.footer-nap a { color: inherit; text-decoration: none; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--sand); text-decoration: none; font-size: .9rem; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Botón flotante ---------- */
.fab-call {
    position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
    background: var(--pink); color: var(--white); display: none; place-items: center;
    box-shadow: 0 10px 26px rgba(214,21,111,.4);
}
.fab-call svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Animaciones ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .tab-panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .specials-grid { grid-template-columns: repeat(2, 1fr); }
    .nav { gap: 22px; }
}
@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .brand img { height: 50px; }
    .menu-toggle { display: block; }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
        background: var(--white); box-shadow: 0 20px 30px rgba(0,0,0,.08); padding: 10px 24px 26px;
        transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
    }
    .nav.is-open { transform: none; }
    .nav a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid #F1EAE2; font-size: 1.05rem; }
    .nav a:not(.btn)::after { display: none; }
    .nav .nav-cta { margin-top: 18px; width: 100%; }
    .section { padding: 76px 0; }
    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
    .hero-inner, .about-inner, .schedule-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
    .hero-text { text-align: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { min-height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
    .hero-photo--main { height: 360px; }
    .hero-photo--small { height: 200px; }
    .about-media { max-width: 460px; margin: 0 auto 20px; }
    .crepe-grid, .menu-cols { grid-template-columns: 1fr; }
    .fab-call { display: grid; }
}
@media (max-width: 560px) {
    .container, .header-inner { padding: 0 16px; }
    .specials-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 340px; }
    .hero-photo--main { height: 300px; width: 78%; }
    .hero-photo--small { height: 160px; width: 50%; }
    .hero-badge { left: 4%; top: 6px; padding: 10px 14px; }
    .hero-badge strong { font-size: 1.1rem; }
    .crepe-card, .schedule-card, .info-card { padding: 28px 22px; }
    .menu-list { padding: 10px 20px; }
    .about-media::before { inset: 14px -10px -14px 10px; }
    .map { height: 320px; }
    .btn { padding: 13px 24px; }
}
