:root {
  --ink: #173d3b;
  --teal: #08696b;
  --deep: #074e50;
  --yellow: #ffce55;
  --muted: #48615f;
  --line: #cddbd7;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.55 Manrope, Arial, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--deep); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #c58a00; outline-offset: 3px; }
.frame { width: min(1180px, 91%); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 2; background: white; padding: .6rem; }
.skip:focus { top: .5rem; }
.masthead, .guide-footer .frame { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.masthead { min-height: 88px; }
.brand { display: block; width: clamp(175px, 24vw, 300px); height: auto; }
.tourism-link { font-size: .94rem; font-weight: 700; }
.hero { background: var(--deep); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4%; padding-block: clamp(2rem, 4vw, 4rem); }
.hero-copy { padding-block: .5rem; }
.rubric { display: flex; align-items: center; gap: .65rem; color: #fcdf8f; font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.rubric span { width: 34px; height: 3px; background: var(--yellow); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.04em; }
h1 { margin: 1rem 0; font-size: clamp(2.25rem, 4.25vw, 4.1rem); font-weight: 600; }
.hero-copy > p:not(.rubric) { max-width: 30em; color: #e2efea; margin-bottom: 1.45rem; }
.hero-action, .search button { display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1.25rem; border: 0; border-radius: 8px; text-decoration: none; font: inherit; font-weight: 800; cursor: pointer; }
.hero-action { background: var(--yellow); color: #123b39; }
.postcards { display: grid; grid-template-columns: 1.45fr 1fr; gap: .6rem; height: clamp(245px, 25vw, 345px); }
.postcards figure { position: relative; margin: 0; overflow: hidden; border-radius: .8rem; }
.postcards figure:first-child { margin-bottom: 1.4rem; }
.postcards figure:last-child { margin-top: 1.4rem; }
.postcards img { display: block; width: 100%; height: 100%; object-fit: cover; }
.postcards figcaption { position: absolute; inset: auto 0 0; padding: 2rem .9rem .65rem; color: white; background: linear-gradient(transparent, #102a28d9); font-weight: 700; font-size: .9rem; }
.directory { padding-block: clamp(2.25rem, 5vw, 4.5rem); scroll-margin-top: 1rem; }
.directory h2 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.search { display: flex; gap: .5rem; max-width: 38rem; }
.search input[type=search] { width: 0; flex: 1; border-radius: 8px; border: 1px solid #8caaa6; font: inherit; padding: .7rem 1rem; color: var(--ink); }
.search button { background: var(--deep); color: white; }
.categories { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.categories a { padding: .55rem .95rem; display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 2rem; text-decoration: none; font-size: .9rem; font-weight: 700; }
.categories a:hover, .actions a:hover { background: #e9f4ee; }
.categories [aria-current=page] { color: white; background: var(--deep); border-color: var(--deep); }
.categories [aria-current=page]:hover { background: var(--teal); }
.hit-count { color: var(--muted); margin: 1rem 0; }
.group { margin-top: 2.25rem; }
.group h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 0 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; align-items: start; }
.place { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: white; }
.place-photo { display: block; width: 100%; aspect-ratio: 1.9; object-fit: cover; background: #e9f1ed; }
.place-body { padding: 1.1rem 1.2rem .9rem; }
.place h4 { margin: 0 0 .55rem; font-size: 1.4rem; }
.place p { margin: .4rem 0; }
.place .address { color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .8rem; margin: .75rem 0 .35rem; }
.actions a { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 700; }
.actions .directions { border-radius: 6px; background: #e8f2ee; padding: .42rem .72rem; text-decoration: none; }
.actions svg { fill: none; stroke: currentColor; stroke-width: 1.8; width: 18px; height: 18px; flex: none; }
.place-details { display: inline-block; color: var(--muted); font-size: .85rem; }
.place-details summary { cursor: pointer; padding: .3rem 0; }
.place-details ul { padding-left: 1rem; margin: .3rem 0; }
.empty { background: #ecf5f1; padding: 1rem; border-radius: 8px; }
.guide-footer { background: #edf5f2; padding: 1.5rem 0; font-size: .94rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 880px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width: 700px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .postcards { height: clamp(160px, 43vw, 245px); }
  .postcards figure:first-child { margin-bottom: .65rem; }
  .postcards figure:last-child { margin-top: .65rem; }
  .masthead { min-height: 72px; }
  .guide-footer .frame { align-items: flex-start; flex-direction: column; }
}
@media(max-width: 550px) {
  .grid { grid-template-columns: minmax(0,1fr); }
  .tourism-link { font-size: .875rem; }
  .categories { gap: .4rem; }
  .categories a { padding: .4rem .7rem; }
}
@media(min-width: 701px) {
  .grid:has(> :only-child) { grid-template-columns: 1fr; }
  .grid:has(> :only-child) .place:has(.place-photo) { display: grid; grid-template-columns: minmax(14rem, 32%) 1fr; background: #f4f8f5; }
  .grid:has(> :only-child) .place-photo { height: 100%; max-height: 18rem; aspect-ratio: auto; }
  .grid:has(> :only-child) .place-body { align-self: center; padding: 1.6rem; }
  .grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#chanta .place-photo { object-position: 50% 73%; }
#la-madonna .place-photo { object-position: 50% 72%; }
#giro .place-photo { object-position: 50% 52%; }

.registro-action{display:inline-block;margin:.65rem .7rem;color:#fff;font-weight:700;text-underline-offset:.24em}
