/* =========================================================
   Apartmán Tereza — Torre de la Horadada, Costa Blanca
   Palette vychází z původního webu (nebeská modrá #67A1F3)
   + středomořský písek, terakota a hluboké moře.
   ========================================================= */

:root {
  --sky: #67a1f3;          /* původní modrá z webu */
  --sky-soft: #e8f1fe;
  --sea: #1d5d8c;          /* hluboké moře */
  --sea-deep: #123d5e;
  --turquoise: #4aa8d9;    /* původní akcent */
  --sand: #f7f1e7;
  --sand-deep: #ecdfc9;
  --terracotta: #d4744a;
  --sun: #f2b84b;
  --ink: #1e2a33;
  --muted: #6b7680;        /* blízko původní #8C969F, ale čitelnější */
  --white: #ffffff;
  --line: rgba(30, 42, 51, .1);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(18, 61, 94, .35);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--terracotta); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--sea-deep);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
h2 em, h1 em { font-style: italic; color: var(--terracotta); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--sky { background: var(--sky-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: currentColor;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  background: var(--sky); color: var(--white);
  border: 0; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
  box-shadow: 0 10px 24px -10px rgba(103, 161, 243, .8);
}
.btn:hover { background: var(--sea); color: var(--white); transform: translateY(-2px); }
.btn--sun { background: var(--terracotta); box-shadow: 0 10px 24px -10px rgba(212, 116, 74, .8); }
.btn--sun:hover { background: #b85d36; }
.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.7); box-shadow: none;
}
.btn--ghost:hover { background: var(--white); color: var(--sea-deep); }
.btn--line { background: transparent; color: var(--sea); border: 1.5px solid var(--sea); box-shadow: none; }
.btn--line:hover { background: var(--sea); color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 22px 0;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-solid, .header--solid {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo__text { font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.logo__text small {
  display: block; font-family: var(--sans); font-size: .62rem;
  letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-top: 5px;
}
.header.is-solid .logo, .header--solid .logo { color: var(--sea-deep); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: var(--white); font-size: .95rem; font-weight: 500; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--sun); transition: right .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header.is-solid .nav a:not(.btn), .header--solid .nav a:not(.btn) { color: var(--ink); }
.nav .btn { padding: .7em 1.4em; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--white);
}
.header.is-solid .burger, .header--solid .burger { color: var(--ink); }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .3s; }

@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; padding: 100px 20px 40px; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--sea-deep);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s;
  }
  .header.is-solid, .header--solid { backdrop-filter: none; background: #fff; }
  .nav a, .header.is-solid .nav a:not(.btn), .header--solid .nav a:not(.btn) { color: var(--white); font-size: 1.4rem; font-family: var(--serif); }
  body.menu-open .nav { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  body.menu-open .header { background: transparent; box-shadow: none; }
  body.menu-open .logo { color: var(--white) !important; position: relative; z-index: 2; }
  body.menu-open .burger { color: var(--white); }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
  padding: 140px 0 120px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-out both;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,61,94,.5) 0%, rgba(18,61,94,0) 28%);
}
.hero .wrap { position: relative; z-index: 2; }
/* Světlá „matná“ karta, aby byl text čitelný na jakékoli fotce */
.hero__card {
  display: inline-block; max-width: 640px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: calc(var(--radius) * 1.2);
  padding: clamp(24px, 4vw, 42px) clamp(24px, 4vw, 46px);
  box-shadow: 0 30px 60px -30px rgba(18, 61, 94, .55);
}
.hero h1 { color: var(--sea-deep); max-width: 14ch; margin-bottom: .3em; }
.hero h1 em { color: var(--terracotta); }
.hero .eyebrow { color: var(--terracotta); }
.hero p.lead { color: var(--ink); margin-bottom: 0; }
.hero .btn--ghost { color: var(--sea-deep); border-color: var(--sea-deep); }
.hero .btn--ghost:hover { background: var(--sea-deep); color: var(--white); }
.hero__card .hero__actions { margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__meta {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 40px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
}
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  height: 70px; width: 100%; color: var(--white);
}
.wave--sand { color: var(--sand); }

.page-hero { min-height: 72svh; padding-bottom: 110px; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.photo-stack { position: relative; aspect-ratio: 4/4.4; }
.photo-stack img {
  position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.photo-stack img:nth-of-type(1) { inset: 0 18% 18% 0; width: 82%; height: 82%; }
.photo-stack img:nth-of-type(2) { right: 0; bottom: 0; width: 52%; height: 48%; border: 8px solid var(--white); }
.photo-stack .badge {
  position: absolute; left: -18px; bottom: 6%; z-index: 2;
  background: var(--terracotta); color: var(--white);
  padding: 18px 22px; border-radius: 18px;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.2;
  box-shadow: var(--shadow);
}
.photo-stack .badge strong { display: block; font-size: 2rem; }
.sun-deco {
  position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; z-index: -1;
  color: var(--sun); opacity: .6;
}

/* ---------- Feature icons ---------- */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px;
}
.features--8 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .features, .features--8 { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 26px; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.section--sand .feature { border-color: transparent; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sea); margin-bottom: 18px;
}
.feature:nth-child(4n+2) .feature__icon { background: #fdeee6; color: var(--terracotta); }
.feature:nth-child(4n+3) .feature__icon { background: #fdf3dc; color: #b9821b; }
.feature:nth-child(4n+4) .feature__icon { background: #e2f3f8; color: #2a87a9; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .25em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---------- Azulejo tile band ---------- */
.tiles {
  height: 26px;
  background-color: var(--sea);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.2'%3E%3Cpath d='M13 2l11 11-11 11L2 13z'/%3E%3Ccircle cx='13' cy='13' r='3.5'/%3E%3Cpath d='M39 2l11 11-11 11-11-11z'/%3E%3Ccircle cx='39' cy='13' r='3.5'/%3E%3C/g%3E%3Cg fill='%23f2b84b'%3E%3Ccircle cx='26' cy='13' r='2'/%3E%3Ccircle cx='0' cy='13' r='2'/%3E%3Ccircle cx='52' cy='13' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Trips teaser (home) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mosaic img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-sm); }
.mosaic img:nth-of-type(even) { margin-top: 40px; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery ---------- */
.gallery {
  columns: 3 280px; column-gap: 16px; margin-top: 50px;
}
.gallery a {
  display: block; margin-bottom: 16px; border-radius: var(--radius-sm);
  overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in;
}
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,61,94,.35), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.gallery a:hover::after { opacity: 1; }
.gallery--grid { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery--grid a { margin: 0; aspect-ratio: 4/3; }
.gallery--grid img { height: 100%; object-fit: cover; }
.gallery--grid a:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 800px) { .gallery--grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(12, 32, 48, .95);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; font-size: 26px;
  display: grid; place-items: center; transition: background .3s;
}
.lightbox button:hover { background: var(--terracotta); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: .15em; }

/* ---------- Price ---------- */
.price {
  display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center;
  background: var(--sea-deep); color: var(--white);
  border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 70px);
  position: relative; overflow: hidden;
}
.price::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,184,75,.45), transparent 65%);
}
.price h2 { color: var(--white); }
.price__amount { font-family: var(--serif); font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: #ffd38a; }
.price__amount small { display: block; font-family: var(--sans); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 12px; }
.price p { color: rgba(255,255,255,.85); margin: 0; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Trips page ---------- */
.trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
@media (max-width: 900px) { .trips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trips { grid-template-columns: 1fr; } }
.trip {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; color: var(--white); cursor: zoom-in; display: block;
}
.trip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.trip:hover img { transform: scale(1.07); }
.trip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,61,94,.85) 0%, rgba(18,61,94,0) 55%);
}
.trip__body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; }
.trip__num { font-size: .78rem; letter-spacing: .25em; color: #ffd38a; font-weight: 600; }
.trip h3 { color: var(--white); font-size: 1.75rem; margin: .2em 0 0; }
.trips .trip:nth-child(3n+2) { transform: translateY(40px); }
@media (max-width: 900px) { .trips .trip:nth-child(3n+2) { transform: none; } }

/* ---------- Torre page ---------- */
.prose p { color: #3c4852; }
.prose h3 { margin-top: 1.4em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4.3; }
.duo img:nth-of-type(2) { margin-top: 50px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.quote-band {
  background: var(--sky); color: var(--white); text-align: center;
  padding: clamp(60px, 9vw, 110px) 0; position: relative; overflow: hidden;
}
.quote-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.quote-band .eyebrow { color: var(--white); }
.distances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.distance {
  background: var(--white); border-radius: var(--radius-sm); padding: 22px 24px;
  border-left: 4px solid var(--sky);
}
.distance:nth-child(2) { border-left-color: var(--terracotta); }
.distance strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--sea-deep); font-weight: 400; line-height: 1.1; }
.distance span { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0;
  background: var(--white); border-radius: calc(var(--radius) * 1.4); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(18, 61, 94, .4);
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__info {
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-deep) 100%);
  color: var(--white); padding: clamp(36px, 5vw, 60px); position: relative; overflow: hidden;
}
.contact__info h2, .contact__info h3 { color: var(--white); }
.contact__info .eyebrow { color: #ffd38a; }
.contact__info p { color: rgba(255,255,255,.85); }
.contact__line { display: flex; gap: 14px; align-items: center; margin: 18px 0; color: var(--white); font-size: 1.08rem; }
.contact__line:hover { color: #ffd38a; }
.contact__line i {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(255,255,255,.12);
}
.contact__line svg { width: 20px; height: 20px; }
.contact__info .palm { position: absolute; right: -30px; bottom: -20px; width: 200px; opacity: .12; color: #fff; }
.form { padding: clamp(36px, 5vw, 60px); }
.form h3 { margin-bottom: 1.2em; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: .03em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--sand);
  border-radius: 12px; padding: 13px 16px; transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 20px; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: saturate(.85); }

/* ---------- CTA banner ---------- */
.cta {
  position: relative; color: var(--white); text-align: center;
  padding: clamp(90px, 13vw, 170px) 0; overflow: hidden;
}
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(18,61,94,.55); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { color: var(--white); max-width: 18ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.9); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--sea-deep); color: rgba(255,255,255,.75); padding: 80px 0 30px; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #ffd38a; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer__bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.5);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mapy (Leaflet) ---------- */
.leaflet-map {
  width: 100%; height: 440px; border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--sky-soft); z-index: 0;
  font-family: var(--sans);
}
.leaflet-map--tall { height: 520px; }
.leaflet-map--wide { height: 560px; margin-top: 50px; }
@media (max-width: 700px) { .leaflet-map, .leaflet-map--tall, .leaflet-map--wide { height: 400px; } }
.map-zoom { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn--sm { padding: .55em 1.2em; font-size: .85rem; }
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.dot--city { background: var(--sea); }
.dot--air { background: var(--terracotta); }
.dot--home { background: var(--sun); }
.pin-home {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--terracotta); color: #fff; display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.pin-home svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.pin-home span {
  position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--terracotta);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.pin-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: .95rem;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .2s;
}
.pin-num:hover { transform: scale(1.15); background: var(--terracotta); }
.map-label {
  background: #fff; border: 0; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.18);
  font-weight: 600; color: var(--sea-deep); font-size: .8rem; padding: 3px 8px;
}
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { font-family: var(--sans); font-size: .95rem; margin: 12px 14px; }
.trip-pop img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.trip-pop strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--sea-deep); line-height: 1.25; }
.trip-pop span { color: var(--muted); font-size: .85rem; }

/* ---------- Počasí ---------- */
.weather-section { padding-top: 0; }
.weather {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: center;
  background: linear-gradient(135deg, #e8f1fe 0%, #fdf3e4 100%);
  border-radius: calc(var(--radius) * 1.4); padding: clamp(30px, 5vw, 60px);
  position: relative; overflow: hidden;
}
@media (max-width: 900px) { .weather { grid-template-columns: 1fr; } }
.weather h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.weather__clock { color: var(--muted); margin: -4px 0 18px; }
.weather__main { display: flex; align-items: center; gap: 18px; }
.weather__icon svg { width: 96px; height: 96px; }
.weather__temp { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5rem); line-height: 1; color: var(--sea-deep); }
.weather__desc { color: var(--muted); font-size: 1.1rem; }
.weather__facts {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
@media (max-width: 520px) { .weather__facts { grid-template-columns: repeat(2, 1fr); } }
.weather__facts li { background: rgba(255,255,255,.75); border-radius: 14px; padding: 12px 14px; }
.weather__facts span { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.weather__facts strong { font-size: 1.15rem; color: var(--sea-deep); font-weight: 600; }
.weather__facts li:first-child { background: var(--sky); }
.weather__facts li:first-child span, .weather__facts li:first-child strong { color: #fff; }
.weather__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 520px) { .weather__days { grid-template-columns: repeat(2, 1fr); } }
.wday {
  background: #fff; border-radius: 16px; padding: 16px 12px; text-align: center;
  display: grid; justify-items: center; gap: 4px; box-shadow: 0 10px 24px -18px rgba(18,61,94,.5);
}
.wday svg { width: 44px; height: 44px; }
.wday__name { font-size: .85rem; font-weight: 600; color: var(--sea); text-transform: capitalize; }
.wday__t { color: var(--muted); font-size: .95rem; }
.wday__t strong { color: var(--ink); font-size: 1.1rem; }
.weather__credit { grid-column: 1 / -1; margin: 0; font-size: .78rem; color: var(--muted); text-align: right; }

.map-tiles { filter: saturate(.75) brightness(1.04); }
