/* hosteleriamalaga.com · Oballe Studio Web · noviembre de 2026 */
@font-face { font-family: "Schibsted"; src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --paper: #f6f4ee; --card: #ffffff; --ink: #15201c; --ink-2: #3a4641; --muted: #66716b; --line: #e2ddd1; --line-2: #cfc8b8;
  --green: #0e5b4b; --green-2: #0a4639; --green-soft: #e3efea; --gold: #f4c046; --gold-2: #c98d06; --gold-soft: #fdf3d8;
  --radius: 16px; --radius-s: 10px; --wrap: 76rem; --gutter: clamp(1rem, 4vw, 2rem);
  --font: "Schibsted", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(21, 32, 28, .05), 0 6px 20px rgba(21, 32, 28, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--green-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 50rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

/* cabecera */
.head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.4rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand strong { display: block; font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.brand em { font-style: normal; color: var(--green); margin-left: .18em; }
.brand small { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: .5rem .8rem; border-radius: 999px; font-size: .97rem; }
.nav a:hover, .nav a[aria-current] { background: var(--green-soft); color: var(--green-2); }
.nav a.cta, .menu a.cta { background: var(--green); color: #fff; }
.nav a.cta:hover { background: var(--green-2); color: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: .5rem 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; display: grid; min-width: 15rem; }
.menu nav a { padding: .7rem 1rem; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius-s); }
@media (max-width: 860px) { .nav { display: none; } .menu { display: block; } .brand small { display: none; } }

/* migas y cabeceras de página */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 1.1rem 0 0; margin: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line-2); }
.page-head { padding: 1.2rem 0 2rem; }
.page-head h1 { max-width: 22ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46rem; }
.kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: .8rem; }
.kicker svg { width: 1.2rem; height: 1.2rem; }
.kicker.light { color: var(--gold); }

/* portada */
.hero { background: var(--green); color: #fff; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); background-image: radial-gradient(circle at 85% 20%, rgba(244, 192, 70, .18), transparent 40%), radial-gradient(circle at 10% 110%, rgba(255, 255, 255, .08), transparent 45%); }
.hero h1 { max-width: 16ch; }
.hero .lead { color: rgba(255, 255, 255, .86); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 1.6rem 0 0; color: rgba(255, 255, 255, .8); font-size: .97rem; }
.facts strong { color: var(--gold); font-size: 1.15rem; }
.search { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; max-width: 40rem; }
.search input { flex: 1; min-width: 0; font: inherit; padding: .85rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); }
.search.big input { border: 0; padding: 1rem 1.3rem; font-size: 1.05rem; }
.search button { font: inherit; font-weight: 700; padding: 1rem 1.4rem; border-radius: 999px; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; }
.search button:hover { background: #ffd469; }
.search output { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.sec-head h2 { margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } .actions { justify-content: flex-start; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.steps li { counter-increment: s; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .8rem 1rem .8rem 3.1rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: .9rem; top: .85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.steps a { font-weight: 700; text-decoration: none; color: var(--ink); }
.steps a:hover { color: var(--green); text-decoration: underline; }
.steps span { color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* familias de sectores */
.fams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1100px) { .fams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fams { grid-template-columns: 1fr; } }
.fam { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.fam-head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .8rem; }
.fam-head svg { width: 2.4rem; height: 2.4rem; flex: none; padding: .45rem; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.fam-head h2, .fam-head h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.fam-head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { display: flex; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--line); }
.links a { padding: .5rem 0; text-decoration: none; color: var(--ink); font-weight: 560; }
.links a:hover { color: var(--green); text-decoration: underline; }
.links span { align-self: center; min-width: 1.7rem; text-align: center; font-size: .82rem; font-weight: 700; color: var(--green-2); background: var(--green-soft); border-radius: 999px; padding: .05rem .45rem; }

/* sector */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem; padding-bottom: 3.5rem; align-items: start; }
@media (max-width: 980px) { .cols { grid-template-columns: 1fr; } }
.intro { font-size: 1.08rem; color: var(--ink-2); max-width: 48rem; }
.h-list { font-size: 1.3rem; margin-top: 1.8rem; }
.side { display: grid; gap: 1rem; position: sticky; top: 5.5rem; }
@media (max-width: 980px) { .side { position: static; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.box h2 { font-size: 1.12rem; }
.box.dark { background: var(--green); color: #fff; border: 0; }
.box.dark h2 { color: #fff; }
.box.dark a:not(.btn) { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { padding-left: 1.9rem; position: relative; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23c98d06' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }

/* tarjetas de empresa */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.card { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.card { scroll-margin-top: 6rem; }
.card:target { outline: 3px solid var(--gold); outline-offset: 3px; }
.card.dest { border: 2px solid var(--gold); background: linear-gradient(180deg, var(--gold-soft), var(--card) 55%); }
.card-logo { display: grid; place-items: center; height: 5.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: .45rem; }
.card-logo img { max-height: 4.4rem; width: auto; object-fit: contain; }
.nologo { font-size: 2rem; font-weight: 800; color: var(--green); }
.card h3 { margin: 0 0 .15rem; font-size: 1.22rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green); text-decoration: underline; }
.card .what { margin: 0; color: var(--ink-2); font-weight: 560; }
.card .where { margin: .1rem 0 0; color: var(--muted); font-size: .95rem; }
.card .desc { margin: .45rem 0 0; color: var(--ink-2); font-size: .97rem; }
.card .chips { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.card .chips a { margin-left: .35rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .45rem; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .18rem .65rem; border-radius: 999px; background: var(--green-soft); color: var(--green-2); text-decoration: none; }
.badge.gold { background: var(--gold); color: var(--ink); }
a.badge:hover { background: var(--green); color: #fff; }
.card-act { display: grid; gap: .45rem; justify-items: stretch; min-width: 10.5rem; }
@media (max-width: 760px) { .card { grid-template-columns: 6.5rem minmax(0, 1fr); } .card-logo { height: 4.2rem; } .card-act { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); } }
.btn { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; padding: .62rem 1.1rem; border-radius: 999px; background: var(--green); color: #fff; border: 1.5px solid var(--green); font-size: .95rem; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green-soft); color: var(--green-2); }
.btn.light { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.light:hover { background: #ffd469; border-color: #ffd469; color: var(--ink); }

/* preguntas frecuentes */
.block { margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.4rem 1rem 0; font-weight: 700; font-size: 1.07rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-size: 1.5rem; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 0 0 1.1rem; max-width: 46rem; }

/* tabla A-Z */
.az { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 3.5rem; font-size: .98rem; }
.az th, .az td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.az thead th { background: var(--green); color: #fff; font-size: .88rem; letter-spacing: .03em; }
.az tbody th a { color: var(--ink); font-weight: 700; text-decoration: none; }
.az tbody th a:hover { color: var(--green); text-decoration: underline; }
.az td a { color: var(--ink-2); }
.az .tel a { white-space: nowrap; color: var(--green); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .az thead { display: none; } .az tr { display: grid; padding: .6rem .3rem; border-bottom: 1px solid var(--line); } .az th, .az td { border: 0; padding: .15rem .6rem; } }
.none { padding: 1rem 0 3rem; }

/* textos */
.prose h2 { margin-top: 1.8rem; font-size: 1.35rem; }
.prose { padding-bottom: 3rem; }
.two-cols { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2.5rem; padding-bottom: 3.5rem; align-items: start; }
@media (max-width: 900px) { .two-cols { grid-template-columns: 1fr; } }

/* pie */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 3rem 0 1.5rem; font-size: .96rem; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot address { font-style: normal; line-height: 1.7; }
.brand-foot { color: #fff; margin-bottom: 1rem; }
.brand-foot em { color: var(--gold); }
.foot-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2rem; padding-top: 1.2rem; font-size: .86rem; }
@media print { .head, .foot, .side, .search { display: none; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
