/* malagatour.info base styles */
:root {
  --nav-h: 64px;
  --promo-h: 44px;
  --primary: #c0392b;
  --primary-dark: #a5281b;
  --accent: #f5a623;
  --accent-dark: #d68f12;
  --dark: #1b2430;
  --bg: #fff;
  --text: #1a1a1a;
  --muted: #5b6677;
  --border: #e5e7eb;
  --max-width: 1200px;
  --promo-bg: #ffd166;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
body { padding-top: calc(var(--nav-h) + var(--promo-h)) !important; }
body:not(.no-sticky) { padding-top: calc(var(--nav-h) + 44px) !important; }
body.no-promo { padding-top: var(--nav-h) !important; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }

.promo-bar { position: fixed; top: 0; left: 0; right: 0; height: var(--promo-h); background: var(--promo-bg); color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; z-index: 60; padding: 0 16px; gap: 12px; }
.promo-bar-close { background: transparent; border: 0; color: #1a1a1a; font-size: 18px; cursor: pointer; padding: 4px 8px; opacity: .7; }
.promo-bar-close:hover { opacity: 1; }
body.no-promo .promo-bar { display: none; }

.site-header { position: fixed; top: var(--promo-h); left: 0; right: 0; height: var(--nav-h); background: #fff; border-bottom: 1px solid var(--border); z-index: 50; }
body.no-promo .site-header { top: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { font-weight: 700; text-decoration: none; color: var(--primary); font-size: 18px; letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; margin-right: 1rem; }
.nav-link { text-decoration: none; color: var(--text); font-size: 14px; padding: 6px 10px; border-radius: 6px; transition: background .15s; }
.nav-link:hover { background: #f3f4f6; color: var(--primary-dark); }

.lang-switch { position: relative; margin-left: 0; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 14px; cursor: pointer; color: var(--text); font-family: inherit; }
.lang-current:hover { background: #f9fafb; }
.lang-flag { font-size: 16px; }
.lang-caret { font-size: 10px; opacity: .6; }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px; margin: 0; list-style: none; box-shadow: 0 8px 24px rgba(0,0,0,.08); min-width: 180px; z-index: 70; }
.lang-menu[hidden] { display: none; }
.lang-menu li a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; color: var(--text); border-radius: 6px; font-size: 14px; }
.lang-menu li a:hover { background: #f3f4f6; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all .18s ease; cursor: pointer; border: 0; font-family: inherit; line-height: 1.2; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--primary { background: var(--accent); color: #1a1a1a; box-shadow: 0 4px 16px rgba(245,166,35,.35); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--outline { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--full { width: 100%; }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; color: var(--dark); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; line-height: 1.2; margin: 0 0 12px; color: var(--dark); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.hero { position: relative; padding: 64px 0 56px; background-color: var(--dark); background-size: cover; background-position: center; color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-content { color: #fff; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,.14); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.hero-h1 { color: #fff; margin: 0 0 16px; }
.hero-tagline { font-size: clamp(1rem, 1.6vw, 1.125rem); color: rgba(255,255,255,.9); max-width: 600px; margin: 0 0 24px; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-trust-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.hero-pricing-teaser { font-size: 18px; font-weight: 700; color: var(--accent); margin: 0; }
.hero-card { background: #fff; color: var(--text); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.25); width: 100%; max-width: 400px; justify-self: end; }
.hero-card-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.hero-card-body { padding: 18px; }
.hero-card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--dark); }
.hero-card-rating { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.hero-card-rating .stars { color: var(--accent); }
.hero-card-price { margin: 12px 0; font-size: 14px; color: var(--muted); }
.hero-card-price strong { font-size: 22px; color: var(--primary-dark); margin-left: 4px; }

.trust-bar { background: #f7f8fa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.trust-icon { font-size: 22px; }

.intro-section, .silos-section, .tours-section, .about-section, .faq-section, .silo-hero, .blog-page, .static-page, .product-page, .blog-post, .info-section, .info-grid-section { padding: 48px 0; }
.section-sub { color: var(--muted); margin-top: -4px; margin-bottom: 16px; }

.silos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.silo-card { display: block; padding: 20px; background: #fafafa; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.silo-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.silo-card h3 { margin: 0 0 8px; color: var(--primary-dark); }
.silo-card p { color: var(--muted); font-size: 14px; margin: 0; }
.silo-arrow { float: right; color: var(--primary); font-weight: 700; font-size: 18px; }
.silo-desc { color: var(--muted); max-width: 760px; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.info-card { display: block; padding: 20px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 8px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.info-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.info-card h3 { margin: 0 0 8px; color: var(--primary-dark); font-size: 1.05rem; line-height: 1.3; }
.info-card p { color: var(--muted); font-size: 14px; margin: 0; }
.info-card--compact { padding: 16px 18px; }
.info-grid-cta { text-align: center; margin-top: 20px; }
.info-page { max-width: 820px; margin: 0 auto; padding-top: 24px; padding-bottom: 40px; }
.info-page .info-header h1 { margin: 12px 0 18px; color: var(--primary-dark); }
.info-page .lead { font-size: 1.1rem; line-height: 1.7; color: #334155; }
.info-page .info-meta { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.info-page .info-section { margin: 26px 0; padding: 0; }
.info-page .info-section h2 { font-size: 1.35rem; color: var(--primary-dark); }
.info-page .info-section p { line-height: 1.7; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 16px; }
.product-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s; }
.product-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.product-card-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-title { font-size: 16px; margin: 0 0 8px; line-height: 1.3; }
.meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.rating { color: var(--accent-dark); font-weight: 600; }
.rating .stars { color: var(--accent); margin-left: 4px; }
.reviews { margin-left: 6px; color: var(--muted); }
.price { margin: 8px 0; }
.price strong { font-size: 20px; color: var(--primary-dark); }
.price .from, .price .pp { font-size: 13px; color: var(--muted); }
.perks { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; color: var(--muted); }
.product-card .btn { margin-top: auto; }

.faq-item { margin: 8px 0; padding: 14px 18px; background: #fafafa; border-radius: 8px; border: 1px solid var(--border); }
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--dark); }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.product-hero-img { width: 100%; max-width: 720px; height: auto; border-radius: 10px; margin: 16px 0; }
.product-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.product-meta .price { font-size: 22px; font-weight: 700; color: var(--primary-dark); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.10); }
.blog-card-img { width: 100%; padding-top: 56.25%; background-size: cover; background-position: center; background-color: #e5e7eb; }
.blog-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.blog-card-cat { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fde7e3; color: var(--primary-dark); }
.blog-card h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.35; color: var(--dark); }
.blog-card-excerpt { margin: 0; color: var(--muted); font-size: 14px; }
.blog-card-meta { margin-top: 8px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; gap: 18px; } }

.blog-post { max-width: 820px; margin: 0 auto; }
.blog-hero { margin: 0 0 20px; }
.blog-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 16px; font-size: 13px; color: var(--muted); }
.blog-post h2 { margin-top: 28px; margin-bottom: 10px; font-size: 22px; color: var(--dark); }
.blog-post p { line-height: 1.65; color: #374151; margin: 0 0 14px; }
.blog-post .lead { font-size: 18px; color: var(--dark); }
.blog-post a { color: var(--primary-dark); }
.quick-answer { background: #f0fdf4; border-left: 4px solid var(--primary); border-radius: 6px; padding: 16px 18px; margin: 18px 0; }

.toc { background: #f9fafb; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.toc-title { font-weight: 700; color: var(--dark); margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 5px 0; line-height: 1.45; }
.toc a { color: var(--primary-dark); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.blog-post h2[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

.related-section { border-top: 1px solid var(--border); margin-top: 32px; }
.related-card { display: block; }
.related-tag { display: inline-block; background: #fef3e6; color: var(--accent-dark); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }

.blog-cta-card { display: grid; grid-template-columns: 200px 1fr; gap: 0; margin: 28px 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.blog-cta-card .bcta-img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; }
.blog-cta-card .bcta-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.blog-cta-card .bcta-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.blog-cta-card .bcta-rating { color: #b45309; font-weight: 600; }
.blog-cta-card .bcta-title { margin: 0; font-size: 17px; line-height: 1.3; color: var(--dark); font-weight: 700; }
.blog-cta-card .bcta-price-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.blog-cta-card .bcta-price strong { font-size: 22px; color: var(--primary-dark); margin-left: 4px; }
.blog-cta-card .bcta-btn { display: inline-block; padding: 12px 20px; background: var(--accent); color: #1a1a1a; text-decoration: none; border-radius: 8px; font-weight: 700; font-size: 14px; }
.blog-cta-card .bcta-btn:hover { background: var(--accent-dark); }
@media (max-width: 640px) { .blog-cta-card { grid-template-columns: 1fr; } }

.static-page { max-width: 820px; margin: 0 auto; }
.static-page h2 { font-size: 1.3rem; margin-top: 24px; }

.site-footer { background: var(--dark); color: #cbd5e1; padding: 48px 0 20px; margin-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; }
.site-footer p { font-size: 13px; color: #94a3b8; line-height: 1.6; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-dest { color: #fff !important; font-weight: 700; font-size: 1.05rem !important; margin: 0 0 8px; }
.disclosure { font-size: 12px; color: #94a3b8; margin-top: 10px; }
.footer-lang { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; }
.footer-lang a { color: #94a3b8; }
.footer-lang a:hover { color: #fff; }
.footer-lang-current { color: #fff; font-weight: 600; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid #1f2937; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 13px; color: #94a3b8; }
.footer-copy-text { flex: 1; min-width: 240px; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 0; }
.footer-legal li { padding: 0 !important; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: none; justify-self: stretch; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero { padding: 40px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .silos-grid, .info-grid { grid-template-columns: 1fr; }
  .lang-switch { margin-left: auto; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
