@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --brand-primary: #02838e;
  --brand-accent: #f9b902;
  --sand: #f8f3e9;
  --mist: #edf6f7;
  --text-main: #1c2329;
  --text-soft: #f6f9fa;
  --text-muted: #6f7c86;
  --overlay-dark: linear-gradient(130deg, rgba(8, 19, 27, 0.8), rgba(8, 19, 27, 0.35));
  --overlay-light: linear-gradient(120deg, rgba(255, 255, 255, 0.84), rgba(248, 243, 233, 0.68));
  --max-width: 1200px;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 0.95rem 0;
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(2, 131, 142, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
}

.brand img {
  width: 148px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: auto;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.35rem;
  line-height: 0;
  font-size: 0;
}

.nav-socials a {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #f2f7f8;
}

.nav-socials a::after {
  display: none;
}

.nav-socials svg {
  width: 15px !important;
  height: 15px !important;
  display: block;
  flex: 0 0 15px;
  fill: currentColor;
}

.nav-socials-home-static {
  display: inline-flex;
  margin-left: 0.35rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(2, 131, 142, 0.24);
  color: #fff;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 36;
}

.page-hero,
.hero {
  min-height: 100vh;
  padding: 7.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  color: var(--text-soft);
}

.hero {
  background: #0b1d24;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero {
  min-height: 78vh;
  background-size: cover;
  background-position: center;
}

.overlay-city {
  background: #0c1d25;
}

.overlay-city::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay-contact {
  background: #0c1d25;
}

.overlay-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.overlay-about {
  background: #0c1d25;
}

.overlay-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.overlay-detail {
  background: #0c1d25;
}

.overlay-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.hero-content,
.section-inner {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
}

.hero .hero-content .search-form-hero {
  order: 2;
  margin-top: 0.85rem;
}

.hero .hero-content .hero-cta-wrap {
  order: 2;
  margin-top: 0.85rem;
}

.hero-cta-wrap .btn {
  min-width: 240px;
}

.hero .hero-content .hero-text {
  order: 1;
}

.hero .hero-content .hero-text h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-text {
  max-width: 720px;
  animation: riseIn 0.9s ease;
}

.hero-followup {
  max-width: 760px;
  animation: riseIn 0.95s ease;
}

.hero .hero-content .hero-followup {
  order: 3;
}

.hero-followup h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 0.9rem;
}

@media (min-width: 1025px) {
  .hero .hero-content .hero-followup {
    margin-left: auto;
    width: min(760px, 100%);
    text-align: right;
  }

  .hero .hero-content .hero-followup .lead {
    margin-left: auto;
  }

  .hero .hero-content .hero-followup .cta-group {
    justify-content: flex-end;
  }
}

.eyebrow {
  color: var(--brand-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 65ch;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  padding: 0.82rem 1.25rem;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-accent);
  color: #132124;
}

.btn-disabled {
  background: #e0e8eb;
  color: #6c7f86;
  border-color: #c7d4d9;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-cyan {
  background: linear-gradient(120deg, #18b8c4, #07a4b0);
  color: #f4fdff;
  box-shadow: 0 10px 22px rgba(7, 164, 176, 0.3);
}

.btn-cyan:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 24px rgba(7, 164, 176, 0.35);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  background: transparent;
}

main section {
  position: relative;
}

.agency-story {
  min-height: 78vh;
  color: #fff;
  background-image: linear-gradient(
    135deg,
    #454d52 0%,
    #626c72 38%,
    #3f7e84 70%,
    #02838e 100%
  );
  display: grid;
  align-items: center;
  padding: 5.5rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: end;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  margin-top: 2rem;
}

.micro-list span {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 0.35rem;
  font-size: 0.95rem;
}

.about-method {
  color: #1f2b30;
  background-image: linear-gradient(
    128deg,
    #0e8f98 0%,
    #56a8ab 18%,
    #d6c988 42%,
    #f4cd64 68%,
    #f9b902 100%
  );
}

.about-method .lead {
  color: #1f2b30;
}

.about-method .micro-list span {
  border-bottom: 1px solid rgba(31, 43, 48, 0.35);
}

.about-method .story-grid {
  align-items: stretch;
  gap: 2.4rem;
}

.about-method .story-grid h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.about-method .story-paragraph {
  font-size: 1.04rem;
  line-height: 1.82;
  letter-spacing: 0.002em;
  margin-bottom: 1rem;
  max-width: 64ch;
}

.about-method .story-paragraph:last-of-type {
  margin-bottom: 0;
}

.about-method .story-col {
  display: flex;
  flex-direction: column;
}

.about-method .story-col:last-child .story-paragraph:first-of-type {
  margin-top: 2.2rem;
}

.about-method .story-closing {
  margin-top: auto;
}

.story-logo {
  width: 160px;
  max-width: 45%;
  margin-bottom: 1rem;
}

.story-benefits {
  list-style: none;
  margin: 0.7rem 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.story-benefits li::before {
  content: '- ';
  color: var(--brand-accent);
  font-weight: 700;
}

.story-side {
  display: grid;
  gap: 1.25rem;
}

.line-review {
  position: relative;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
}

.line-review::before,
.line-review::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.line-review::before {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--brand-accent);
  border-left: 3px solid var(--brand-accent);
}

.line-review::after {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid var(--brand-accent);
  border-bottom: 3px solid var(--brand-accent);
}

.review-text {
  font-size: 1.03rem;
  line-height: 1.7;
  min-height: 5.1rem;
  transition: opacity 0.35s ease;
}

.review-text.is-changing,
.review-author.is-changing {
  opacity: 0.2;
}

.review-author {
  font-size: 0.9rem;
  color: #f9e4a0;
  margin-top: 0.55rem;
  transition: opacity 0.35s ease;
}

.search-strip {
  background: linear-gradient(
    115deg,
    #f9b902 0%,
    #ffd34d 45%,
    #f7c73a 72%,
    #e8aa00 100%
  );
  padding: 2.5rem 0;
}

.search-form {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 0.65rem;
  box-shadow: 0 18px 42px rgba(20, 31, 37, 0.12);
  overflow: hidden;
}

.search-form-hero {
  width: 100%;
  margin: 0.85rem 0 0;
}

.search-form label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.38rem;
}

.search-form input,
.search-form select,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  border: 1px solid #d4e0e4;
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  color: var(--text-main);
  background: #fff;
}

.search-form > div {
  min-width: 0;
  overflow: hidden;
}

.search-form input[type='date'] {
  min-width: 0;
  max-width: 100%;
  width: 100% !important;
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
  min-height: 46px;
  line-height: 1.2;
  inline-size: 100% !important;
  min-inline-size: 0 !important;
  max-inline-size: 100% !important;
}

@supports (-webkit-touch-callout: none) {
  .search-form input[type='date'] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-right: 0.65rem;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
  }
}

.search-form button {
  border: none;
  width: 100%;
  margin-top: 0.55rem;
  min-height: 44px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--brand-accent), #ffcf3d);
  color: #1b262b;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(249, 185, 2, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(249, 185, 2, 0.35);
  filter: brightness(1.02);
}

.offers-preview,
.offers-page-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f3e9 100%);
}

#viaggia-con-noi {
  background:
    radial-gradient(circle at 18% 22%, rgba(2, 131, 142, 0.16) 0%, rgba(2, 131, 142, 0) 44%),
    radial-gradient(circle at 84% 74%, rgba(2, 131, 142, 0.14) 0%, rgba(2, 131, 142, 0) 42%),
    linear-gradient(130deg, #f9b902 0%, #f4c94a 36%, #eecf6f 66%, #d8c46b 100%);
}

.section-head {
  width: min(var(--max-width), 92%);
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

.section-head p {
  max-width: 55ch;
  color: #4f5d66;
}

.offers-grid {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.offers-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1.25rem;
  align-items: stretch;
  scroll-behavior: auto;
  cursor: grab;
  touch-action: pan-x;
  scrollbar-width: none;
}

.offers-carousel::-webkit-scrollbar {
  display: none;
}

.offers-carousel .offer-card {
  flex: 0 0 clamp(280px, 32vw, 360px);
  height: 560px;
  box-shadow: none;
}

.offers-carousel.dragging {
  cursor: grabbing;
}

.offer-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 32, 37, 0.1);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-6px);
}

.offer-card.is-soldout {
  opacity: 0.94;
}

.articles-grid {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 32, 37, 0.1);
}

.article-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
}

.article-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-content h3 {
  font-size: 1.55rem;
  margin: 0;
}

.article-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.article-detail-wrap {
  display: grid;
  gap: 1rem;
}

.article-detail-content {
  max-width: 900px;
  line-height: 1.75;
  color: #1d2f35;
}

.article-detail-content h2 {
  margin-bottom: 0.75rem;
}

.article-intro {
  font-size: 1.1rem;
  color: #35515a;
}

.article-body {
  margin-top: 0.9rem;
}

.offer-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.offer-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.offer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.offer-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.offers-carousel .offer-meta {
  min-height: 1.2rem;
}

.offers-carousel .offer-content > p:not(.offer-meta):not(.offer-slots) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.95rem;
}

.offer-slots {
  font-size: 0.86rem;
  font-weight: 700;
  color: #16666f;
}

.offer-slots.is-empty {
  color: #b00020;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.9rem;
}

.price {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.inspire {
  min-height: 68vh;
  color: #fff;
  background: #0b1d24;
  display: grid;
  align-items: center;
  padding: 5rem 0;
}

.inspire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.inspire-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inspire-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inspire .section-inner {
  position: relative;
  z-index: 2;
}

.board-text,
.board-subtext {
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.03em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.board-text {
  text-transform: uppercase;
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  font-weight: 800;
}

.board-subtext {
  margin-top: 0.8rem;
  color: rgba(240, 247, 249, 0.95);
  font-size: clamp(0.95rem, 1.4vw, 1.18rem);
}

.board-text,
.board-subtext {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.inspire-fade-out {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(6px);
  transition: opacity 0.48s ease, filter 0.48s ease, transform 0.48s ease;
}

.inspire-fade-in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 0.56s ease, filter 0.56s ease, transform 0.56s ease;
}

.contacts-section {
  min-height: 80vh;
  color: #fff;
  background: #087780;
  padding: 5.2rem 0;
}

.contacts-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(249, 185, 2, 0.22) 0%, rgba(249, 185, 2, 0) 46%),
    radial-gradient(circle at 82% 76%, rgba(249, 185, 2, 0.16) 0%, rgba(249, 185, 2, 0) 44%),
    linear-gradient(140deg, rgba(2, 125, 136, 0.84) 0%, rgba(15, 139, 149, 0.86) 36%, rgba(44, 151, 160, 0.82) 64%, rgba(7, 120, 131, 0.88) 100%);
  z-index: 1;
}

.contacts-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contacts-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contacts-section .section-inner {
  position: relative;
  z-index: 2;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-lines p {
  margin-bottom: 0.45rem;
}

.contact-lines {
  display: flex;
  flex-direction: column;
}

.contact-socials {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.6rem;
}

.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.contact-socials a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.contact-socials svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.whatsapp-float {
  position: fixed;
  right: clamp(12px, 2.4vw, 24px);
  bottom: clamp(14px, 2.8vw, 28px);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.16);
  color: #fff;
  box-shadow: 0 6px 18px rgba(10, 35, 42, 0.18);
  z-index: 1200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 35, 42, 0.2);
}

.whatsapp-float::before {
  content: '';
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  position: absolute;
  animation: whatsappHaloPulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  position: relative;
  z-index: 1;
}

@keyframes whatsappHaloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

.contact-map {
  margin-top: 1rem;
  flex: 1;
  min-height: 430px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(160deg, rgba(3, 30, 35, 0.35), rgba(3, 30, 35, 0.18));
  backdrop-filter: blur(6px);
  border-radius: 18px;
}

.contact-form input:not([type='checkbox']):not([type='hidden']),
.contact-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  padding: 0.82rem 0.95rem;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.contact-form input:not([type='checkbox']):not([type='hidden']) {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form input:not([type='checkbox']):not([type='hidden'])::placeholder,
.contact-form textarea::placeholder {
  color: rgba(240, 244, 247, 0.8);
}

.contact-form input:not([type='checkbox']):not([type='hidden']):focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.contact-form button {
  border: none;
  border-radius: 100px;
  background: linear-gradient(120deg, var(--brand-accent), #ffce35);
  color: #182023;
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.contact-form-head h3 {
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

.contact-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: #f3d77a;
}

.contact-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.field-full {
  grid-column: 1 / -1;
}

.form-row {
  display: grid;
  gap: 0.38rem;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
}

.privacy-check input[type='checkbox'] {
  margin-top: 0.2rem;
  accent-color: var(--brand-accent);
}

.privacy-check a {
  color: #ffe08a;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-feedback {
  min-height: 1.2rem;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.experience-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483800;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5vh 0;
}

.experience-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 17, 22, 0.56);
  backdrop-filter: blur(3px);
}

.experience-panel {
  position: relative;
  width: min(620px, 92%);
  margin: 0 auto;
  background: linear-gradient(165deg, #ffffff, #f7fafb);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 24px 50px rgba(12, 32, 40, 0.2);
}

.experience-panel.step-2 {
  padding-bottom: 1.6rem;
}

.experience-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #445a63;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.experience-panel h3 {
  color: #16272e;
  margin-bottom: 1rem;
}

.experience-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.experience-chip {
  border: 1px solid rgba(2, 131, 142, 0.18);
  background: linear-gradient(160deg, #ffffff, #f3f8fa);
  color: #1f3b43;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(20, 56, 66, 0.08);
  transition: all 0.22s ease;
}

.experience-chip:hover {
  transform: translateY(-1px);
}

.experience-chip.active {
  background: #02838e;
  color: #fff;
  border-color: #02838e;
  box-shadow: 0 10px 18px rgba(2, 131, 142, 0.28);
}

.honeymoon-options {
  margin-top: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e2ecef;
}

#experience-form-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2ecef;
}

.experience-panel .btn-outline {
  border-color: rgba(2, 131, 142, 0.45);
  color: #1f3b43;
}

.experience-panel input,
.experience-panel select,
.experience-panel textarea {
  border: 1px solid #d2dde0;
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  font: inherit;
  color: #1f2d34;
  background: #fff;
}

.offer-popup-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483800;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.offer-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 22, 0.58);
  backdrop-filter: blur(3px);
}

.offer-popup-panel {
  position: relative;
  width: min(760px, 94vw);
  max-height: min(86vh, 900px);
  overflow-y: auto;
  background: linear-gradient(165deg, #ffffff, #f7fafb);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 24px 50px rgba(12, 32, 40, 0.24);
}

.offer-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  color: #445a63;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.offer-popup-text {
  margin-top: 0.7rem;
  color: #1f2d34;
  line-height: 1.74;
}

.offer-popup-section {
  padding: 0.62rem 0;
  border-bottom: 1px solid #e3ecef;
}

.offer-popup-section:last-child {
  border-bottom: 0;
}

.offer-popup-section h4 {
  margin: 0 0 0.35rem;
  color: #0f2b34;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.offer-popup-section p {
  margin: 0;
  color: #1f2d34;
  line-height: 1.74;
}

.offer-popup-meta {
  color: #33565f;
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: -0.25rem;
}

.offer-popup-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.thanks-popup-panel {
  max-width: 560px;
}

.booking-summary-box {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(2, 131, 142, 0.22);
  background: linear-gradient(165deg, rgba(2, 131, 142, 0.06), rgba(249, 185, 2, 0.1));
}

.booking-summary-intro {
  margin: 0 0 0.55rem;
  color: #204853;
  font-weight: 700;
}

.booking-summary-list {
  margin: 0;
  padding-left: 1.05rem;
  color: #1d3a44;
  display: grid;
  gap: 0.32rem;
}

.booking-summary-list li {
  margin: 0;
}

.payment-checkout-section {
  width: min(920px, 94%);
  margin: 1.2rem auto 2.2rem;
}

.xpay-checkout-panel {
  margin-top: 1rem;
  border: 1px solid #d4e3e8;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff, #f7fafb);
  padding: 1rem;
}

.xpay-checkout-panel h2 {
  margin: 0 0 0.85rem;
  color: #0f2b34;
  font-size: 1.1rem;
}

.xpay-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.xpay-method-item,
.xpay-card-field-item {
  border: 1px solid #d7e6eb;
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem;
}

.xpay-field-label {
  margin: 0 0 0.35rem;
  color: #2a4a54;
  font-size: 0.8rem;
  font-weight: 700;
}

.xpay-field-iframe {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
}

.xpay-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.xpay-card-fields .xpay-card-field-item:first-child {
  grid-column: 1 / -1;
}

.xpay-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.xpay-empty {
  margin: 0;
  color: #52707a;
}

.offer-popup-form-wrap {
  margin-top: 1rem;
  border-top: 1px solid #dce8ec;
  padding-top: 1rem;
  background: linear-gradient(180deg, rgba(2, 131, 142, 0.06), rgba(2, 131, 142, 0.01));
  border-radius: 14px;
  padding: 1rem;
}

.offer-popup-form-wrap h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #1c2d35;
  margin-bottom: 0.8rem;
}

.offer-popup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.offer-popup-form-grid .form-row {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9e7ec;
  border-radius: 12px;
  padding: 0.6rem 0.65rem;
}

.offer-popup-form .form-row label {
  color: #1d3a44;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.offer-popup-form input,
.offer-popup-form textarea {
  border: 1px solid #bfd4db;
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: #1f2d34;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.offer-popup-form input:focus,
.offer-popup-form textarea:focus {
  outline: none;
  border-color: #02838e;
  box-shadow: 0 0 0 3px rgba(2, 131, 142, 0.12);
}

.offer-popup-form input::placeholder,
.offer-popup-form textarea::placeholder {
  color: #7f959d;
}

#gift-voucher-modal #gift-voucher-title {
  margin: 0.45rem 0 1.15rem;
}

#gift-voucher-modal .privacy-check {
  margin-top: 0.9rem;
}

#gift-voucher-modal .privacy-check input[type='checkbox'] {
  margin-top: 0.34rem;
}

#dream-trip-modal #dream-trip-title {
  margin: 0.45rem 0 1.15rem;
}

#dream-trip-modal .privacy-check {
  margin-top: 0.9rem;
}

#dream-trip-modal .privacy-check input[type='checkbox'] {
  margin-top: 0.34rem;
}

#offerte-popup .privacy-check,
#home-offer-popup .privacy-check {
  margin-top: 0.85rem;
}

#offerte-popup .privacy-check input[type='checkbox'],
#home-offer-popup .privacy-check input[type='checkbox'] {
  margin-top: 0.34rem;
}

.offer-popup-fixed-date {
  margin: 0.4rem 0 0;
  color: #1d3a44;
  font-weight: 700;
}

.offer-popup-extras-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.offer-popup-extra-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #d9e7ec;
  border-radius: 12px;
  background: #fff;
}

.offer-popup-extra-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #1d3a44;
  font-size: 0.9rem;
  font-weight: 700;
}

.offer-popup-extra-item input[type='checkbox'] {
  accent-color: #02838e;
}

.offer-popup-extra-price {
  color: #0f6a74;
  font-weight: 800;
  font-size: 0.9rem;
}

.offer-popup-total {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #c3d9df;
  background: #f5fbfc;
  color: #0f4f58;
  font-weight: 800;
  font-size: 0.9rem;
}

.period-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.period-selects select {
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
}

.period-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.wizard-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.selected-summary {
  color: #38525b;
  margin-bottom: 0.7rem;
}

.experience-form {
  display: grid;
  gap: 0.8rem;
}

.experience-form .form-row label {
  color: #243f49;
  font-weight: 700;
}

.thanks-message {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(2, 131, 142, 0.3);
  background: linear-gradient(150deg, rgba(2, 131, 142, 0.08), rgba(249, 185, 2, 0.12));
  color: #174b53;
  font-weight: 700;
}

.site-footer {
  background: #0f2228;
  color: #dce8eb;
  padding: 2.5rem 0;
}

.footer-grid {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.25fr;
  gap: 1.2rem;
}

.footer-grid h4 {
  margin-bottom: 0.6rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.35rem;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  line-height: 0;
  font-size: 0;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 232, 235, 0.4);
  color: #dce8eb;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  background: rgba(249, 185, 2, 0.2);
  color: #fff;
}

.footer-socials svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
  flex: 0 0 16px;
  fill: currentColor;
}

.filter-row {
  width: min(var(--max-width), 92%);
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.filter-chip {
  border: 1px solid rgba(2, 131, 142, 0.3);
  background: #fff;
  color: var(--brand-primary);
  padding: 0.45rem 0.88rem;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.84rem;
  pointer-events: auto;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.filter-chip.active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: 0 8px 16px rgba(2, 131, 142, 0.2);
}

.filter-chip:hover {
  transform: translateY(-1px);
}

.filter-subtitle {
  width: min(var(--max-width), 92%);
  margin: -0.4rem auto 1.2rem;
  min-height: 1.35rem;
  color: #02838e;
  font-weight: 700;
  font-size: 0.95rem;
}

.detail-content {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff, var(--sand));
}

.detail-grid {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.detail-gallery {
  display: grid;
  gap: 0.75rem;
}

.detail-gallery img {
  border-radius: 14px;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.booking-form {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 16px 28px rgba(16, 27, 31, 0.12);
  display: grid;
  gap: 0.65rem;
}

.booking-form button {
  border: none;
  border-radius: 999px;
  padding: 0.78rem;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.booking-form button:disabled {
  background: #9eb6bd;
  cursor: not-allowed;
}

.kpi-line {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 1024px) {
  .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .contacts-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map {
    min-height: 300px;
  }

  .contact-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: calc(0.72rem + env(safe-area-inset-top)) 0 0.72rem;
    background: rgba(2, 131, 142, 0.72);
    backdrop-filter: blur(6px);
    z-index: 2147482000;
  }

  .nav-wrap {
    width: min(var(--max-width), 94%);
  }

  .brand img {
    width: 124px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0.55rem;
    order: 3;
    visibility: visible;
    opacity: 1;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 3%;
    left: 3%;
    flex-direction: column;
    background: rgba(5, 35, 40, 0.96);
    border-radius: 14px;
    padding: 0.95rem;
    min-width: 0;
    align-items: flex-start;
    gap: 0.9rem;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 37;
  }

  .nav-links.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-links .nav-socials {
    display: none;
  }

  .nav-wrap > .nav-socials {
    display: inline-flex;
    margin-left: auto;
    margin-top: 0;
    order: 2;
    visibility: visible;
    opacity: 1;
  }

  .nav-wrap > .nav-socials a {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex: 0 0 32px;
  }

  .nav-wrap > .nav-socials svg {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px;
  }

  .nav-links .nav-socials {
    display: none !important;
  }

  .hero,
  .page-hero {
    min-height: 88vh;
    padding: 6.4rem 0 4rem;
  }

  h1 {
    font-size: clamp(2rem, 8.6vw, 2.5rem);
  }

  .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .cta-group {
    width: 100%;
    gap: 0.7rem;
  }

  .cta-group .btn {
    width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    border-radius: 14px;
    width: min(100%, 100%);
    max-width: 100%;
  }

  .search-form-hero {
    margin-top: 1.1rem;
    width: 100%;
    max-width: 100%;
  }

  .search-form input[type='date']::-webkit-date-and-time-value {
    text-align: left;
  }

  .search-form input[type='date']::-webkit-calendar-picker-indicator {
    margin-left: auto;
  }

  .experience-options {
    grid-template-columns: 1fr;
  }

  .period-grid {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .offers-carousel {
    gap: 0.9rem;
  }

  .offers-carousel .offer-card {
    flex: 0 0 85vw;
    height: 530px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .contacts-section {
    padding: 4.4rem 0 6rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 280px;
  }

  .offer-popup-panel {
    width: min(760px, 96vw);
    max-height: calc(100dvh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 1rem;
  }

  .offer-popup-form-grid {
    grid-template-columns: 1fr;
  }

  .experience-panel {
    width: min(620px, 96%);
    padding: 1rem;
  }

  .offer-popup-modal,
  .experience-modal {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: calc(82px + env(safe-area-inset-top)) 0.75rem calc(18px + env(safe-area-inset-bottom));
  }

  .offer-popup-panel,
  .experience-panel {
    width: 100%;
    margin: 0 auto;
  }

  .offer-popup-close,
  .experience-close {
    top: 8px;
    right: 8px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    z-index: 2147483000;
  }

  .whatsapp-float::before {
    width: 42px;
    height: 42px;
  }

  .whatsapp-float svg {
    width: 21px;
    height: 21px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: 85vh;
  }
}

@media (max-width: 520px) {
  .hero,
  .page-hero {
    padding-top: 6rem;
  }

  .offer-title {
    font-size: 1.2rem;
  }

  .offers-carousel .offer-card {
    flex: 0 0 88vw;
    height: 520px;
  }

  .contact-form-head h3 {
    font-size: 1.38rem;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  body.page-short-hero .page-hero {
    min-height: auto;
    padding: calc(90px + env(safe-area-inset-top)) 0 1.25rem;
  }

  body.page-short-hero .page-hero .hero-content {
    padding-bottom: 0;
  }

  body.page-short-hero .page-hero .lead {
    margin-bottom: 0;
  }

  body.page-short-hero .page-hero + .offers-page-section,
  body.page-short-hero .page-hero + .agency-story {
    padding-top: 2rem;
  }
}

.cookie-consent-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 2147483600;
  background: rgba(7, 26, 34, 0.96);
  border: 1px solid rgba(158, 204, 209, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
  color: #eef9fb;
  backdrop-filter: blur(8px);
}

.cookie-consent-banner.hidden {
  display: none;
}

.cookie-consent-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-copy p {
  margin: 0;
}

.cookie-consent-title {
  color: #f9b902;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.28rem !important;
}

.cookie-consent-copy {
  display: grid;
  gap: 0.28rem;
  font-size: 0.95rem;
}

.cookie-consent-links {
  font-size: 0.88rem;
  opacity: 0.95;
}

.cookie-consent-links a {
  color: #9fe6ec;
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  width: min(420px, 100%);
  gap: 0.55rem;
  justify-content: end;
}

.cookie-consent-actions [data-cookie-action='customize'] {
  grid-column: 1 / -1;
}

.cookie-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #f9b902;
  color: #1d2a2e;
}

.cookie-btn-soft {
  background: rgba(2, 131, 142, 0.9);
  color: #fff;
}

.cookie-btn-outline {
  background: transparent;
  color: #d5edf0;
  border-color: rgba(213, 237, 240, 0.55);
}

.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-preferences-modal.hidden {
  display: none;
}

.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 24, 0.58);
}

.cookie-preferences-panel {
  position: relative;
  z-index: 2;
  width: min(720px, 96vw);
  max-height: 90dvh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #d7e3e9;
  background: #f9fcfd;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 20px 34px rgba(11, 24, 31, 0.25);
}

.cookie-preferences-panel h3 {
  margin: 0 0 0.4rem;
}

.cookie-preferences-panel > p {
  margin: 0 0 0.9rem;
  color: #3f5560;
}

.cookie-preferences-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #bfd2dc;
  background: #fff;
  border-radius: 999px;
  font-size: 1.22rem;
  cursor: pointer;
}

.cookie-pref-row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid #d5e2e8;
  border-radius: 14px;
  background: #fff;
  padding: 0.72rem 0.82rem;
  margin-bottom: 0.55rem;
}

.cookie-pref-row strong {
  display: block;
  margin-bottom: 0.2rem;
}

.cookie-pref-row p {
  margin: 0;
  color: #526972;
  font-size: 0.9rem;
}

.cookie-pref-row input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #02838e;
}

.cookie-pref-row.is-locked {
  background: #eef6f8;
}

.cookie-pref-fixed {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2e5f6c;
  white-space: nowrap;
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .cookie-consent-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.86rem;
  }

  .cookie-consent-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .cookie-consent-actions .cookie-btn {
    width: 100%;
    min-width: 0;
    padding: 0.52rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.2;
  }
}
