/* Hands Down Diving — Main Styles */

:root {
  --hdd-purple: #6f4bb3;
  --hdd-purple-dark: #5a3a96;
  --hdd-purple-soft: #f3eef9;
  --hdd-teal: #8bc6ad;
  --hdd-teal-dark: #3d9b8f;
  --hdd-navy: #1b122c;
  --hdd-navy-2: #241833;
  --hdd-text: #1b122c;
  --hdd-text-muted: #6b6578;
  --hdd-footer-muted: #c8bedc;
  --hdd-white: #ffffff;
  --hdd-border: #eee9f7;
  --hdd-success: #2f9e6b;
  --hdd-danger: #c44545;
  --hdd-warning: #c45c2a;
  --hdd-radius: 12px;
  --hdd-radius-pill: 100px;
  --hdd-shadow: 0 12px 40px rgba(27, 18, 44, 0.08);
  --hdd-font-serif: "Instrument Serif", Georgia, serif;
  --hdd-font-sans: "Manrope", system-ui, sans-serif;
  --hdd-container: 1312px;
  --hdd-pad-x: 64px;
  --hdd-header-h: 70px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hdd-theme {
  margin: 0;
  font-family: var(--hdd-font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hdd-text);
  background: var(--hdd-white);
  -webkit-font-smoothing: antialiased;
}

body.hdd-theme .site-header,
body.hdd-theme header.header,
body.hdd-theme .elementor-location-header,
body.hdd-theme footer:not(.hdd-footer),
body.hdd-theme .site-footer:not(.hdd-footer) {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hdd-hero__fallback,
.hdd-hero__video,
.hdd-destinations__card img,
.hdd-about__media img,
.hdd-featured-card__media img,
.hdd-story__bg,
.hdd-adventure-card__media img,
.hdd-instagram__fallback img {
  height: 100%;
  max-width: none;
}

a {
  color: var(--hdd-purple);
  text-decoration: none;
}

a:hover {
  color: var(--hdd-purple-dark);
}

h1, h2, h3, h4 {
  font-family: var(--hdd-font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--hdd-navy);
  margin: 0 0 0.6em;
}

.hdd-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--hdd-purple);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.hdd-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hdd-container {
  width: min(100% - 2.5rem, var(--hdd-container));
  margin-inline: auto;
}

/* Buttons */
.hdd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--hdd-radius-pill);
  border: 2px solid transparent;
  font-family: var(--hdd-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.hdd-btn:hover {
  transform: translateY(-1px);
}

.hdd-btn--primary {
  background: var(--hdd-purple);
  color: #fff !important;
}

.hdd-btn--primary:hover {
  background: var(--hdd-purple-dark);
  color: #fff !important;
}

.hdd-btn--outline {
  background: transparent;
  border-color: var(--hdd-purple);
  color: var(--hdd-purple) !important;
}

.hdd-btn--outline:hover {
  background: var(--hdd-purple-soft);
}

.hdd-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
}

.hdd-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hdd-btn--lg {
  min-height: 54px;
  padding-inline: 1.75rem;
}

.hdd-btn--block {
  width: 100%;
}

.hdd-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hdd-link {
  font-weight: 600;
  color: var(--hdd-purple);
}

.hdd-eyebrow {
  font-family: var(--hdd-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--hdd-text-muted);
}

.hdd-eyebrow--teal {
  color: var(--hdd-teal);
}

.hdd-eyebrow--green {
  color: #078b61;
}

.hdd-section {
  padding: 5rem 0;
}

.hdd-section--lavender {
  background: var(--hdd-purple-soft);
}

.hdd-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.hdd-section__subtitle {
  color: var(--hdd-text-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.hdd-section__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hdd-section__intro {
  margin-bottom: 2rem;
}

.hdd-empty {
  color: var(--hdd-text-muted);
  padding: 2rem 0;
}

.hdd-card {
  background: #fff;
  border-radius: var(--hdd-radius);
  padding: 1.75rem;
  box-shadow: var(--hdd-shadow);
}

/* Header — white bar, 88px (Figma) */
.hdd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee9f7;
  backdrop-filter: none;
  box-shadow: none;
}

.hdd-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(27, 18, 44, 0.06);
}

.hdd-header__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 64px;
  min-height: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-sizing: border-box;
}

.hdd-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hdd-header__logo img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.hdd-header__logo:hover img {
  transform: scale(1.03);
}

.hdd-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdd-nav a {
  color: var(--hdd-muted);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--hdd-font-sans);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.hdd-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #6f4bb3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.hdd-nav .current-menu-item > a,
.hdd-nav .current_page_item > a,
.hdd-nav a:hover {
  color: var(--hdd-purple);
  font-weight: 700;
}

.hdd-nav .current-menu-item > a::after,
.hdd-nav .current_page_item > a::after,
.hdd-nav a:hover::after {
  transform: scaleX(1);
}

.hdd-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hdd-header__actions .hdd-btn {
  min-height: auto;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
}

.hdd-header__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.35rem;
  color: var(--hdd-navy);
  cursor: pointer;
}

.hdd-mobile-nav {
  display: none;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--hdd-border);
  background: #fff;
}

.hdd-mobile-nav__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.hdd-mobile-nav__list a {
  display: block;
  padding: 0.85rem 0;
  color: var(--hdd-text);
  font-weight: 600;
  border-bottom: 1px solid var(--hdd-border);
}

/* Homepage hero / destinations / about live in home.css (Figma pixel pass).
   Do not reintroduce left-aligned hero margins here — they fight home.css. */

.hdd-countries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 1.5rem;
}

.hdd-countries__item {
  color: var(--hdd-text-muted);
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--hdd-radius-pill);
  background: var(--hdd-purple-soft);
}

a.hdd-countries__item:hover {
  background: var(--hdd-purple);
  color: #fff;
}

/* Shared grids used off-homepage (payment, connect, type-compare).
   Homepage modes/featured/journey/different grids are in home.css. */
.hdd-payment-features,
.hdd-type-compare,
.hdd-connect-grid,
.hdd-testimonials__grid {
  display: grid;
  gap: 1.25rem;
}

.hdd-payment-features,
.hdd-connect-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.hdd-testimonials__grid,
.hdd-type-compare {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.hdd-modes__card h3,
.hdd-different__item h3,
.hdd-journey__step h3 {
  font-family: var(--hdd-font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}

.hdd-modes__icon,
.hdd-different__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #efe8f8;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  opacity: 1;
}

.hdd-modes__card {
  text-align: center;
}

.hdd-section__title--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hdd-journey__num {
  font-family: var(--hdd-font-serif);
  font-size: 2rem;
  color: var(--hdd-purple);
  display: block;
  margin-bottom: 0.5rem;
}

.hdd-featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  background: var(--hdd-navy);
}

.hdd-featured-card__link {
  display: block;
  color: #fff;
  height: 100%;
}

.hdd-featured-card__media {
  position: absolute;
  inset: 0;
}

.hdd-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdd-featured-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26, 21, 46, 0.92));
}

.hdd-featured-card__badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hdd-teal);
}

.hdd-featured-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0.35rem 0 0.5rem;
}

.hdd-featured-card .hdd-link {
  color: #fff;
}

/* Story */
.hdd-story {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--hdd-navy) center/cover no-repeat;
  color: #fff;
}

.hdd-story__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 21, 46, 0.62);
}

.hdd-story__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hdd-story h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hdd-story__play {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 1rem;
}

.hdd-stars {
  display: flex;
  gap: 0.2rem;
  color: #e0b84d;
  margin-bottom: 0.75rem;
}

.hdd-testimonials__card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--hdd-text-muted);
  font-size: 0.9rem;
}

.hdd-instagram {
  text-align: center;
}

.hdd-instagram__fallback {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hdd-instagram__fallback img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .hdd-instagram__fallback {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Newsletter + Footer */
.hdd-newsletter {
  background: var(--hdd-navy-2);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.hdd-newsletter__title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hdd-newsletter__text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.hdd-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.hdd-newsletter__form input[type="email"] {
  flex: 1 1 240px;
  min-height: 48px;
  border-radius: var(--hdd-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 1.25rem;
}

.hdd-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.hdd-footer {
  background: var(--hdd-navy);
  color: #c8bedc;
  padding: 4rem 0 1.5rem;
}

.hdd-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hdd-footer h3 {
  color: #8bc6ad;
  font-family: var(--hdd-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hdd-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdd-footer__links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  padding: 0.3rem 0;
}

.hdd-footer__links a:hover {
  color: #fff;
}

.hdd-footer__cta .hdd-btn {
  display: flex;
  margin-bottom: 0.75rem;
}

.hdd-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.hdd-footer__legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdd-footer__legal a {
  color: rgba(255, 255, 255, 0.65);
}

/* Page heroes + adventure list cards: pages.css (Figma adventures-page). */

.hdd-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hdd-pill {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--hdd-radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Filters + adventure cards */
.hdd-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hdd-filters input,
.hdd-filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hdd-border);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-family: var(--hdd-font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--hdd-text);
}

.hdd-form input,
.hdd-form select,
.hdd-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hdd-border);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-family: var(--hdd-font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--hdd-text);
}

.hdd-form input[type="checkbox"],
.hdd-form input[type="radio"] {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto;
  padding: 0 !important;
  margin: 0;
  border: 0;
  background: transparent;
}

.hdd-form textarea {
  min-height: 120px;
  resize: vertical;
}

.hdd-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.hdd-form label input,
.hdd-form label select,
.hdd-form label textarea {
  margin-top: 0.4rem;
  font-weight: 400;
}

.hdd-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hdd-form__checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500 !important;
}

.hdd-form__checkbox input {
  width: auto;
  min-height: auto;
}

.hdd-form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.hdd-form-message.is-success {
  color: var(--hdd-success);
}

.hdd-form-message.is-error {
  color: var(--hdd-danger);
}

.hdd-form-wrap {
  max-width: 640px;
}

/* Adventure cards styled in pages.css */

.hdd-adventure-card__body {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.hdd-adventure-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.hdd-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--hdd-radius-pill);
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hdd-badge--hands_down {
  background: var(--hdd-purple);
  color: #fff;
}

.hdd-badge--partner {
  background: var(--hdd-navy);
  color: #fff;
}

.hdd-badge--available,
.hdd-badge--few_spots {
  background: #e6f6ee;
  color: var(--hdd-success);
}

.hdd-badge--waitlist,
.hdd-badge--sold_out {
  background: #fde8e8;
  color: var(--hdd-danger);
}

.hdd-badge--completed {
  background: #efeaf8;
  color: var(--hdd-purple);
}

.hdd-badge--spaces {
  margin-left: auto;
  background: transparent;
  color: var(--hdd-text-muted);
  font-weight: 600;
  padding-inline: 0;
}

.hdd-adventure-card__title {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.hdd-adventure-card__title a {
  color: inherit;
}

.hdd-adventure-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--hdd-text-muted);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.hdd-adventure-card__meta span + span::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--hdd-border);
}

.hdd-adventure-card__desc {
  color: var(--hdd-text-muted);
  margin: 0 0 1rem;
}

.hdd-adventure-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hdd-border);
}

.hdd-adventure-card__stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--hdd-text-muted);
  margin-bottom: 0.2rem;
}

.hdd-adventure-card__stat-value {
  font-weight: 700;
  color: var(--hdd-navy);
}

.hdd-adventure-card__stat--right {
  text-align: right;
}

.hdd-adventure-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.hdd-adventure-card__actions .hdd-btn {
  min-width: 160px;
}

/* Single adventure */
.hdd-single-adventure__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.hdd-booking-card {
  position: sticky;
  top: calc(var(--hdd-header-h) + 1rem);
  background: #fff;
  border: 1px solid var(--hdd-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--hdd-shadow);
}

.hdd-booking-card__list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.hdd-booking-card__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hdd-border);
  font-size: 0.92rem;
}

.hdd-include-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1rem 0 2rem;
}

.hdd-include-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--hdd-shadow);
}

.hdd-include-card--muted {
  opacity: 0.85;
}

.hdd-timeline {
  position: relative;
  margin-top: 2rem;
}

.hdd-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--hdd-border);
  transform: translateX(-50%);
}

.hdd-timeline__item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hdd-timeline__item.is-left .hdd-timeline__content {
  grid-column: 1;
  text-align: right;
}

.hdd-timeline__item.is-left .hdd-timeline__media {
  grid-column: 3;
}

.hdd-timeline__item.is-right .hdd-timeline__content {
  grid-column: 3;
}

.hdd-timeline__item.is-right .hdd-timeline__media {
  grid-column: 1;
  grid-row: 1;
}

.hdd-timeline__marker {
  grid-column: 2;
  display: flex;
  justify-content: center;
}

.hdd-timeline__marker span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--hdd-purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 1;
}

.hdd-timeline__media img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hdd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  justify-content: inherit;
}

.hdd-tags li {
  background: var(--hdd-purple-soft);
  color: var(--hdd-purple);
  border-radius: var(--hdd-radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Gallery */
.hdd-gallery-album {
  margin-bottom: 3.5rem;
}

.hdd-gallery-album__header {
  margin-bottom: 1.25rem;
}

.hdd-gallery-album__date {
  color: var(--hdd-text-muted);
  margin: 0;
}

.hdd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.hdd-gallery-grid__item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--hdd-navy);
  aspect-ratio: 4/3;
}

.hdd-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hdd-gallery-grid__item:hover img {
  transform: scale(1.05);
}

.hdd-gallery-grid__play {
  display: none !important;
}

.hdd-load-more {
  display: block;
  margin: 1rem auto 0;
}

/* Contact */
.hdd-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.hdd-contact-topics {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.hdd-contact-topics li {
  padding: 0.55rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-weight: 600;
}

.hdd-contact-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hdd-teal);
}

.hdd-connect-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.hdd-connect-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.hdd-closing {
  text-align: center;
}

.hdd-closing__text {
  font-family: var(--hdd-font-serif);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Accordion */
.hdd-accordion__item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 0.25rem 1.1rem;
  box-shadow: var(--hdd-shadow);
}

.hdd-accordion__item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
}

.hdd-accordion__item summary::-webkit-details-marker {
  display: none;
}

.hdd-accordion__body {
  padding: 0 0 1rem;
  color: var(--hdd-text-muted);
}

/* Scroll reveal + motion */
html.hdd-motion [data-hdd-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.hdd-motion [data-hdd-animate].is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.hdd-motion [data-hdd-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hdd-nav a::after,
  .hdd-header__logo img,
  .hdd-btn {
    transition: none !important;
  }
}


/* Lightbox */
.hdd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 8, 18, 0.9);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hdd-lightbox[hidden] {
  display: none !important;
}

.hdd-lightbox__img {
  max-width: min(100%, 1100px);
  max-height: 85vh;
  border-radius: 8px;
}

.hdd-lightbox__video {
  max-width: min(96vw, 1100px);
  max-height: 85vh;
  border-radius: 8px;
  background: #000;
}

.hdd-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.hdd-page-header {
  margin-bottom: 2rem;
}

.hdd-404__content {
  text-align: center;
  padding: 4rem 0;
}

.hdd-404__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hdd-content > *:first-child {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hdd-modes__grid,
  .hdd-different__grid,
  .hdd-journey__grid,
  .hdd-payment-features,
  .hdd-connect-grid,
  .hdd-include-grid,
  .hdd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hdd-testimonials__grid,
  .hdd-featured__grid,
  .hdd-type-compare,
  .hdd-about__grid,
  .hdd-single-adventure__grid,
  .hdd-contact-layout,
  .hdd-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hdd-adventure-card {
    grid-template-columns: 220px 1fr;
  }

  .hdd-adventure-card__media img {
    min-height: 220px;
  }

  .hdd-destinations__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hdd-timeline::before {
    left: 20px;
  }

  .hdd-timeline__item,
  .hdd-timeline__item.is-left,
  .hdd-timeline__item.is-right {
    grid-template-columns: 40px 1fr;
  }

  .hdd-timeline__marker {
    grid-column: 1;
    grid-row: 1;
  }

  .hdd-timeline__content,
  .hdd-timeline__item.is-left .hdd-timeline__content,
  .hdd-timeline__item.is-right .hdd-timeline__content {
    grid-column: 2;
    text-align: left;
  }

  .hdd-timeline__media,
  .hdd-timeline__item.is-left .hdd-timeline__media,
  .hdd-timeline__item.is-right .hdd-timeline__media {
    grid-column: 2;
    grid-row: auto;
  }

  .hdd-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hdd-header__inner {
    padding: 16px 20px;
    max-width: none;
    grid-template-columns: 1fr auto;
  }

  .hdd-header__logo img {
    height: 34px;
    max-width: 180px;
  }

  .hdd-header__nav {
    display: none;
  }

  .hdd-header__toggle {
    display: inline-flex;
  }

  .hdd-header__actions .hdd-btn {
    display: none;
  }

  .hdd-mobile-nav:not([hidden]) {
    display: block;
  }

  .hdd-modes__grid,
  .hdd-different__grid,
  .hdd-journey__grid,
  .hdd-payment-features,
  .hdd-connect-grid,
  .hdd-include-grid,
  .hdd-gallery-grid,
  .hdd-testimonials__grid,
  .hdd-featured__grid,
  .hdd-type-compare,
  .hdd-about__grid,
  .hdd-single-adventure__grid,
  .hdd-contact-layout,
  .hdd-footer__grid,
  .hdd-form__row,
  .hdd-filters {
    grid-template-columns: 1fr;
  }

  .hdd-adventure-card {
    grid-template-columns: 1fr;
  }

  .hdd-destinations__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hdd-badge--spaces {
    margin-left: 0;
    width: 100%;
  }

  .hdd-section__header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hdd-booking-card {
    position: static;
  }

  .hdd-hero__content {
    margin-left: 1.25rem;
  }
}
