/* ============================================
   PLANTILLA 03 — HOSTELERÍA
   Estilo: Cálido, Mediterráneo, Apetecible
   Hero: Tipo C (fullscreen bg + overlay centrado)
   Paleta: Crema, Tierra, Terracota, Verde Oliva
   ============================================ */

/* --- RESET & BASE --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;color:#2C1810;background:#FDF6EC;line-height:1.7;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit;transition:color .3s}
ul{list-style:none}
.container{width:90%;max-width:1200px;margin:0 auto}

/* --- TIPOGRAFÍA --- */
h1,h2,h3,h4{font-family:Georgia,'Times New Roman',serif;line-height:1.3;color:#2C1810}
h1{font-size:clamp(2.2rem,5vw,3.8rem);font-weight:700}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:700}
h3{font-size:clamp(1.2rem,2vw,1.5rem);font-weight:600}
p{margin-bottom:1rem}

/* --- BOTONES --- */
.btn{display:inline-block;padding:.9rem 2.2rem;border-radius:4px;font-weight:600;font-size:1rem;transition:all .3s;cursor:pointer;border:none;letter-spacing:.5px}
.btn-primary{background:#A0522D;color:#FFFAF0}
.btn-primary:hover{background:#8B4226;transform:translateY(-2px);box-shadow:0 6px 20px rgba(160,82,45,.35)}
.btn-secondary{background:transparent;color:#FFFAF0;border:2px solid #FFFAF0}
.btn-secondary:hover{background:#FFFAF0;color:#2C1810}
.btn-outline{background:transparent;color:#A0522D;border:2px solid #A0522D}
.btn-outline:hover{background:#A0522D;color:#FFFAF0}
.btn-olive{background:#556B2F;color:#FFFAF0}
.btn-olive:hover{background:#47591F;transform:translateY(-2px);box-shadow:0 6px 20px rgba(85,107,47,.35)}

/* --- HEADER / NAV --- */
.header{position:fixed;top:0;left:0;width:100%;z-index:1000;padding:1rem 0;transition:all .4s}
.header.scrolled{background:rgba(44,24,16,.95);backdrop-filter:blur(10px);padding:.7rem 0;box-shadow:0 2px 20px rgba(0,0,0,.2)}
.header .container{display:flex;align-items:center;justify-content:space-between}
.logo{font-family:Georgia,serif;font-size:1.6rem;font-weight:700;color:#FFFAF0;letter-spacing:1px}
.logo span{color:#A0522D}
.nav-links{display:flex;gap:2rem;align-items:center}
.nav-links a{color:#FFFAF0;font-weight:500;position:relative;padding:.3rem 0;font-size:.95rem}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:#A0522D;transition:width .3s}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-links .btn{padding:.6rem 1.5rem;font-size:.9rem}

/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:1001}
.hamburger span{width:26px;height:2px;background:#FFFAF0;transition:all .3s}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* --- HERO TIPO C — Fullscreen BG + Overlay --- */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(44,24,16,.55) 0%,rgba(44,24,16,.75) 100%)}
.hero-content{position:relative;z-index:2;max-width:800px;padding:2rem}
.hero-content .tagline{display:inline-block;font-size:.9rem;font-weight:600;color:#A0522D;background:rgba(255,250,240,.15);border:1px solid rgba(160,82,45,.4);padding:.4rem 1.2rem;border-radius:50px;margin-bottom:1.5rem;letter-spacing:1px;text-transform:uppercase;backdrop-filter:blur(4px)}
.hero-content h1{color:#FFFAF0;margin-bottom:1rem;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.hero-content p{color:rgba(255,250,240,.85);font-size:1.15rem;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* Decorative divider */
.section-divider{display:flex;align-items:center;justify-content:center;gap:1rem;margin-bottom:2rem}
.section-divider .line{width:60px;height:1px;background:#A0522D}
.section-divider .icon{color:#A0522D;font-size:1.2rem}

/* --- PAGE HERO (subpáginas) --- */
.page-hero{position:relative;padding:10rem 0 4rem;text-align:center;overflow:hidden}
.page-hero .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.page-hero .hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(44,24,16,.6),rgba(44,24,16,.8))}
.page-hero .container{position:relative;z-index:2}
.page-hero h1{color:#FFFAF0;margin-bottom:.5rem}
.page-hero p{color:rgba(255,250,240,.8);font-size:1.1rem}
.breadcrumb{display:flex;justify-content:center;gap:.5rem;margin-bottom:1rem;font-size:.9rem}
.breadcrumb a{color:rgba(255,250,240,.7)}
.breadcrumb a:hover{color:#A0522D}
.breadcrumb span{color:rgba(255,250,240,.5)}
.breadcrumb .current{color:#A0522D}

/* --- SECCIÓN GENÉRICA --- */
section{padding:5rem 0}
section.alt-bg{background:#FFFAF0}
.section-header{text-align:center;max-width:700px;margin:0 auto 3rem}
.section-header h2{margin-bottom:.5rem}
.section-header p{color:#8B7355;font-size:1.05rem}

/* --- ABOUT / BIENVENIDA --- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.about-img{border-radius:12px;overflow:hidden;position:relative}
.about-img img{width:100%;height:400px;object-fit:cover}
.about-img .accent-border{position:absolute;inset:-8px;border:2px solid #A0522D;border-radius:16px;z-index:-1}
.about-text .subtitle{color:#A0522D;font-weight:600;font-size:.95rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:.5rem}
.about-text h2{margin-bottom:1rem}
.about-text p{color:#5C4A3A}
.about-features{display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:1.5rem}
.about-feature{display:flex;align-items:center;gap:.6rem;font-weight:500;color:#2C1810}
.about-feature .icon{width:36px;height:36px;background:rgba(160,82,45,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#A0522D;font-size:1.1rem;flex-shrink:0}

/* --- ESPECIALIDADES / CARTA --- */
.specialties-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:2rem}
.specialty-card{background:#FFFAF0;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(44,24,16,.08);transition:all .4s}
.specialty-card:hover{transform:translateY(-6px);box-shadow:0 12px 35px rgba(44,24,16,.15)}
.specialty-card .card-img{height:220px;overflow:hidden}
.specialty-card .card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.specialty-card:hover .card-img img{transform:scale(1.08)}
.specialty-card .card-body{padding:1.5rem}
.specialty-card .card-body h3{margin-bottom:.5rem}
.specialty-card .card-body p{color:#8B7355;font-size:.95rem}
.specialty-card .card-body .price-range{display:inline-block;margin-top:.8rem;padding:.3rem 1rem;background:rgba(85,107,47,.1);color:#556B2F;border-radius:50px;font-weight:600;font-size:.9rem}

/* --- CARTA / MENÚ --- */
.menu-category{margin-bottom:3rem}
.menu-category-title{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:.8rem;border-bottom:2px solid rgba(160,82,45,.2)}
.menu-category-title h3{font-size:1.4rem;color:#2C1810}
.menu-category-title .cat-icon{font-size:1.5rem}
.menu-item{display:flex;justify-content:space-between;align-items:baseline;padding:1rem 0;border-bottom:1px dashed rgba(139,115,85,.2)}
.menu-item:last-child{border-bottom:none}
.menu-item-info h4{font-size:1.05rem;font-weight:600;color:#2C1810;margin-bottom:.2rem}
.menu-item-info p{font-size:.9rem;color:#8B7355}
.menu-item-price{font-family:Georgia,serif;font-size:1.15rem;font-weight:700;color:#A0522D;white-space:nowrap;margin-left:1.5rem}

/* --- FEATURES / DIFERENCIADORES --- */
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}
.feature-card{text-align:center;padding:2rem 1.5rem;background:#FFFAF0;border-radius:12px;border:1px solid rgba(160,82,45,.1);transition:all .3s}
.feature-card:hover{border-color:#A0522D;box-shadow:0 8px 25px rgba(160,82,45,.1)}
.feature-card .f-icon{width:60px;height:60px;margin:0 auto 1rem;background:rgba(160,82,45,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:#A0522D}
.feature-card h3{margin-bottom:.5rem;font-size:1.15rem}
.feature-card p{color:#8B7355;font-size:.95rem}

/* --- GALERÍA --- */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.gallery-item{border-radius:12px;overflow:hidden;height:260px;position:relative}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.gallery-item:hover img{transform:scale(1.1)}
.gallery-item .gallery-caption{position:absolute;bottom:0;left:0;right:0;padding:1rem;background:linear-gradient(transparent,rgba(44,24,16,.8));color:#FFFAF0;font-weight:500;transform:translateY(100%);transition:transform .4s}
.gallery-item:hover .gallery-caption{transform:translateY(0)}

/* --- HORARIOS --- */
.schedule-box{max-width:500px;margin:0 auto;background:#FFFAF0;border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(44,24,16,.08)}
.schedule-row{display:flex;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid rgba(139,115,85,.15)}
.schedule-row:last-child{border-bottom:none}
.schedule-row .day{font-weight:600;color:#2C1810}
.schedule-row .hours{color:#8B7355}
.schedule-row.today{background:rgba(160,82,45,.06);margin:0 -1rem;padding:.8rem 1rem;border-radius:6px}
.schedule-row.today .day{color:#A0522D}

/* --- TESTIMONIOS --- */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2rem}
.testimonial-card{background:#FFFAF0;border-radius:12px;padding:2rem;box-shadow:0 4px 20px rgba(44,24,16,.08);position:relative}
.testimonial-card::before{content:'\201C';font-family:Georgia,serif;font-size:4rem;color:rgba(160,82,45,.15);position:absolute;top:10px;left:20px;line-height:1}
.testimonial-card .stars{color:#A0522D;font-size:1rem;margin-bottom:1rem;letter-spacing:2px}
.testimonial-card p{color:#5C4A3A;font-style:italic;margin-bottom:1rem;position:relative;z-index:1}
.testimonial-card .author{display:flex;align-items:center;gap:.8rem}
.testimonial-card .author img{width:45px;height:45px;border-radius:50%;object-fit:cover}
.testimonial-card .author-info strong{display:block;font-size:.95rem;color:#2C1810}
.testimonial-card .author-info span{font-size:.85rem;color:#8B7355}

/* --- CTA SECTION --- */
.cta-section{position:relative;padding:5rem 0;text-align:center;overflow:hidden}
.cta-section .hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.cta-section .hero-overlay{position:absolute;inset:0;background:rgba(44,24,16,.8)}
.cta-section .container{position:relative;z-index:2}
.cta-section h2{color:#FFFAF0;margin-bottom:.8rem}
.cta-section p{color:rgba(255,250,240,.8);max-width:550px;margin:0 auto 2rem;font-size:1.1rem}
.cta-section .cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* --- CONTACTO --- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.contact-info-list{display:flex;flex-direction:column;gap:1.5rem}
.contact-info-item{display:flex;gap:1rem;align-items:flex-start}
.contact-info-item .ci-icon{width:48px;height:48px;background:rgba(160,82,45,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#A0522D;font-size:1.2rem;flex-shrink:0}
.contact-info-item h4{font-size:1rem;margin-bottom:.2rem}
.contact-info-item p,.contact-info-item a{color:#8B7355;font-size:.95rem}
.contact-info-item a:hover{color:#A0522D}
.contact-form{background:#FFFAF0;border-radius:12px;padding:2.5rem;box-shadow:0 4px 20px rgba(44,24,16,.08)}
.contact-form h3{margin-bottom:1.5rem}
.form-group{margin-bottom:1.2rem}
.form-group label{display:block;font-weight:600;font-size:.9rem;color:#2C1810;margin-bottom:.4rem}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.8rem 1rem;border:1px solid rgba(139,115,85,.3);border-radius:8px;font-size:1rem;font-family:inherit;background:#FDF6EC;color:#2C1810;transition:border-color .3s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#A0522D;box-shadow:0 0 0 3px rgba(160,82,45,.1)}
.form-group textarea{resize:vertical;min-height:120px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-success{display:none;text-align:center;padding:2rem}
.form-success.show{display:block}
.form-success .checkmark{font-size:3rem;margin-bottom:1rem}
.form-success h3{color:#556B2F;margin-bottom:.5rem}

/* --- MAPA --- */
.map-container{border-radius:12px;overflow:hidden;height:350px;box-shadow:0 4px 20px rgba(44,24,16,.08)}
.map-container iframe{width:100%;height:100%;border:0}
.map-placeholder{width:100%;height:100%;background:#e8ddd0;display:flex;align-items:center;justify-content:center;color:#8B7355;font-size:1.2rem}

/* --- FOOTER --- */
.footer{background:#2C1810;color:rgba(255,250,240,.7);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem}
.footer-col h4{color:#FFFAF0;font-family:Georgia,serif;font-size:1.1rem;margin-bottom:1rem}
.footer-col .footer-logo{font-family:Georgia,serif;font-size:1.4rem;color:#FFFAF0;font-weight:700;margin-bottom:.8rem}
.footer-col .footer-logo span{color:#A0522D}
.footer-col p{font-size:.9rem;line-height:1.6}
.footer-col ul li{margin-bottom:.6rem}
.footer-col ul li a{font-size:.9rem;transition:color .3s}
.footer-col ul li a:hover{color:#A0522D}
.footer-col .social-links{display:flex;gap:.8rem;margin-top:1rem}
.footer-col .social-links a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,250,240,.2);display:flex;align-items:center;justify-content:center;transition:all .3s;font-size:.9rem}
.footer-col .social-links a:hover{background:#A0522D;border-color:#A0522D;color:#FFFAF0}
.footer-bottom{border-top:1px solid rgba(255,250,240,.1);padding:1.5rem 0;display:flex;justify-content:space-between;align-items:center;font-size:.85rem;flex-wrap:wrap;gap:1rem}
.footer-bottom a{color:rgba(255,250,240,.5)}
.footer-bottom a:hover{color:#A0522D}

/* --- ANIMATIONS --- */
.fade-in{opacity:0;transform:translateY(30px);transition:all .7s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}
.fade-in-left{opacity:0;transform:translateX(-30px);transition:all .7s ease}
.fade-in-left.visible{opacity:1;transform:translateX(0)}
.fade-in-right{opacity:0;transform:translateX(30px);transition:all .7s ease}
.fade-in-right.visible{opacity:1;transform:translateX(0)}

/* --- RESPONSIVE --- */
@media(max-width:1024px){
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .nav-links{position:fixed;top:0;right:-100%;width:75%;max-width:320px;height:100vh;background:rgba(44,24,16,.97);flex-direction:column;justify-content:center;padding:2rem;gap:1.5rem;transition:right .4s;backdrop-filter:blur(10px)}
  .nav-links.active{right:0}
  .hamburger{display:flex}
  .hero-content h1{font-size:clamp(1.8rem,6vw,2.8rem)}
  .specialties-grid{grid-template-columns:1fr}
  .features-grid{grid-template-columns:1fr}
  .testimonials-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .form-row{grid-template-columns:1fr}
  .menu-item{flex-direction:column;gap:.3rem}
  .menu-item-price{margin-left:0}
}
@media(max-width:480px){
  .gallery-grid{grid-template-columns:1fr}
  .hero-buttons{flex-direction:column;align-items:center}
}

/* FLOATING WHATSAPP */
.float-wa{position:fixed;bottom:24px;right:24px;z-index:150;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s;text-decoration:none}
.float-wa:hover{transform:scale(1.1);box-shadow:0 6px 24px rgba(0,0,0,.25)}
.float-wa svg{width:26px;height:26px;fill:#fff}
@media(max-width:600px){.float-wa{bottom:16px;right:16px;width:50px;height:50px}.float-wa svg{width:22px;height:22px}}
