/* tour-grand.xyz — Blue Horizon Dive Centre — tgd namespace */

:root {
  --tgd-deep: #0a3a4a;
  --tgd-sea: #0e7490;
  --tgd-cyan: #22b8cf;
  --tgd-coral: #ef6c52;
  --tgd-sand: #f3ead9;
  --tgd-foam: #f6fbfc;
  --tgd-ink: #10242b;
  --tgd-slate: #4a6068;
  --tgd-line: #cfe1e6;

  --tgd-head: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --tgd-body: "Epilogue", -apple-system, "Segoe UI", sans-serif;

  --tgd-max: 1200px;
  --tgd-r: 16px;
  --tgd-r-sm: 8px;
  --tgd-shadow: 0 22px 50px -26px rgba(10, 58, 74, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--tgd-body);
  font-size: 17px;
  line-height: 1.74;
  color: var(--tgd-slate);
  background: var(--tgd-foam);
}

h1, h2, h3, h4 {
  font-family: var(--tgd-head);
  color: var(--tgd-deep);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 18px; }

a { color: var(--tgd-sea); text-decoration: none; }
a:hover { color: var(--tgd-coral); }

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

.tgd-wrap { max-width: var(--tgd-max); margin: 0 auto; padding: 0 26px; }

/* Header */
.tgd-top { background: var(--tgd-deep); color: var(--tgd-foam); }
.tgd-top__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.tgd-brand { display: flex; align-items: center; gap: 12px; color: var(--tgd-foam); }
.tgd-brand:hover { color: var(--tgd-foam); }
.tgd-brand__fin { width: 42px; height: 42px; flex: none; border-radius: 50% 50% 50% 4px; background: linear-gradient(135deg, var(--tgd-cyan), var(--tgd-sea)); display: grid; place-items: center; font-family: var(--tgd-head); font-weight: 700; color: #fff; }
.tgd-brand__name { display: block; font-family: var(--tgd-head); font-weight: 700; font-size: 1.08rem; }
.tgd-brand__sub { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tgd-cyan); }

.tgd-nav { display: flex; align-items: center; gap: 22px; }
.tgd-nav a { color: #cfe7ec; font-size: 0.94rem; font-weight: 500; }
.tgd-nav a:hover, .tgd-nav a.tgd-active { color: #fff; }
.tgd-nav .tgd-book { background: var(--tgd-coral); color: #fff; padding: 9px 19px; border-radius: 999px; font-weight: 600; }
.tgd-nav .tgd-book:hover { background: var(--tgd-cyan); color: var(--tgd-deep); }

.tgd-burger { display: none; border: 1px solid var(--tgd-cyan); background: transparent; color: var(--tgd-foam); border-radius: var(--tgd-r-sm); padding: 8px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.tgd-btn { display: inline-block; font-family: var(--tgd-head); font-weight: 700; padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; font-size: 0.98rem; }
.tgd-btn:hover { text-decoration: none; }
.tgd-btn--coral { background: var(--tgd-coral); color: #fff; }
.tgd-btn--coral:hover { background: var(--tgd-sea); color: #fff; }
.tgd-btn--sea { background: var(--tgd-sea); color: #fff; }
.tgd-btn--sea:hover { background: var(--tgd-deep); color: #fff; }
.tgd-btn--ghost { background: transparent; color: var(--tgd-sea); border-color: var(--tgd-line); }
.tgd-btn--ghost:hover { border-color: var(--tgd-sea); }
.tgd-btn--block { display: block; width: 100%; text-align: center; }

/* Hero — full-bleed bg + centred overlay card */
.tgd-hero { position: relative; min-height: 540px; display: grid; place-items: center; padding: 80px 0;
  background: linear-gradient(180deg, rgba(10,58,74,0.55), rgba(10,58,74,0.7)), url("../img/hero.jpg") center/cover no-repeat; }
.tgd-hero__card { background: rgba(246, 251, 252, 0.96); border-radius: var(--tgd-r); padding: 44px 46px; max-width: 680px; text-align: center; box-shadow: var(--tgd-shadow); margin: 0 26px; }
.tgd-hero__eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tgd-coral); margin-bottom: 14px; }
.tgd-hero__lead { font-size: 1.1rem; margin-bottom: 26px; }
.tgd-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.tgd-sec { padding: 66px 0; }
.tgd-sec--sand { background: var(--tgd-sand); }
.tgd-sec--deep { background: var(--tgd-deep); color: #bcd6dc; }
.tgd-sec--deep h2, .tgd-sec--deep h3 { color: #fff; }
.tgd-sec--deep a { color: var(--tgd-cyan); }

.tgd-head { max-width: 720px; margin-bottom: 40px; }
.tgd-kick { display: inline-block; font-size: 0.77rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tgd-coral); margin-bottom: 10px; }

.tgd-pagehead { background: var(--tgd-deep); color: var(--tgd-foam); padding: 56px 0 38px; }
.tgd-pagehead h1 { color: #fff; }
.tgd-pagehead__lead { max-width: 760px; font-size: 1.06rem; color: #cfe7ec; }
.tgd-crumb { font-size: 0.83rem; color: var(--tgd-cyan); margin-bottom: 14px; }
.tgd-crumb a { color: var(--tgd-cyan); }

/* Cards */
.tgd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tgd-card { background: var(--tgd-foam); border: 1px solid var(--tgd-line); border-radius: var(--tgd-r); overflow: hidden; box-shadow: 0 8px 24px -18px rgba(10,58,74,0.4); }
.tgd-card__media { aspect-ratio: 16/10; background: var(--tgd-sand); }
.tgd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tgd-card__body { padding: 22px 24px; }
.tgd-card__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tgd-cyan); }
.tgd-card__body h3 { margin: 6px 0 10px; }
.tgd-card__body p { font-size: 0.95rem; margin-bottom: 10px; }
.tgd-card__more { font-weight: 700; font-size: 0.92rem; }
.tgd-card__role { display: block; font-size: 0.85rem; color: var(--tgd-coral); font-weight: 600; margin-bottom: 8px; }
.tgd-card--plain { padding: 26px; }
.tgd-card--plain .tgd-card__body { padding: 0; }

/* Two col */
.tgd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tgd-two img { border-radius: var(--tgd-r); box-shadow: var(--tgd-shadow); }

/* Steps */
.tgd-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; counter-reset: dive; }
.tgd-step { background: var(--tgd-foam); border: 1px solid var(--tgd-line); border-radius: var(--tgd-r); padding: 24px; position: relative; }
.tgd-step::before { counter-increment: dive; content: counter(dive); position: absolute; top: 18px; right: 22px; font-family: var(--tgd-head); font-weight: 800; font-size: 2rem; color: var(--tgd-line); }
.tgd-step h3 { margin-bottom: 6px; }
.tgd-step p { margin: 0; font-size: 0.96rem; }

/* Tiers */
.tgd-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tgd-tier { background: var(--tgd-foam); border: 1px solid var(--tgd-line); border-radius: var(--tgd-r); padding: 30px 26px; }
.tgd-tier--star { border: 2px solid var(--tgd-coral); }
.tgd-tier__name { font-family: var(--tgd-head); font-weight: 700; color: var(--tgd-sea); }
.tgd-tier__price { font-family: var(--tgd-head); font-size: 2.1rem; font-weight: 800; color: var(--tgd-deep); margin: 6px 0; }
.tgd-tier__price span { font-size: 0.88rem; font-weight: 400; color: var(--tgd-slate); }
.tgd-tier__note { font-size: 0.9rem; color: var(--tgd-slate); min-height: 44px; }
.tgd-tier ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.tgd-tier li { padding: 8px 0 8px 26px; position: relative; font-size: 0.93rem; border-bottom: 1px solid var(--tgd-line); }
.tgd-tier li::before { content: "◆"; position: absolute; left: 2px; color: var(--tgd-cyan); }

/* Table */
.tgd-tablewrap { overflow-x: auto; border: 1px solid var(--tgd-line); border-radius: var(--tgd-r); }
.tgd-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--tgd-foam); }
.tgd-table th, .tgd-table td { padding: 13px 17px; text-align: left; border-bottom: 1px solid var(--tgd-line); }
.tgd-table th { background: var(--tgd-deep); color: #fff; font-family: var(--tgd-head); font-weight: 700; }
.tgd-table tr:last-child td { border-bottom: none; }

/* FAQ */
.tgd-faq { display: grid; gap: 12px; }
.tgd-faq__item { background: var(--tgd-foam); border: 1px solid var(--tgd-line); border-radius: var(--tgd-r-sm); padding: 4px 18px; }
.tgd-faq__item summary { cursor: pointer; padding: 15px 0; font-family: var(--tgd-head); font-weight: 700; color: var(--tgd-deep); list-style: none; padding-right: 30px; position: relative; }
.tgd-faq__item summary::-webkit-details-marker { display: none; }
.tgd-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--tgd-coral); font-size: 1.3rem; }
.tgd-faq__item[open] summary::after { content: "–"; }
.tgd-faq__item p { padding-bottom: 15px; margin: 0; font-size: 0.95rem; }

/* Form */
.tgd-form { background: var(--tgd-foam); border: 1px solid var(--tgd-line); border-radius: var(--tgd-r); padding: 28px; box-shadow: var(--tgd-shadow); }
.tgd-form__intro { font-size: 0.9rem; color: var(--tgd-slate); }
.tgd-form label { display: block; font-weight: 600; font-size: 0.87rem; margin: 15px 0 6px; color: var(--tgd-deep); }
.tgd-form input, .tgd-form select, .tgd-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--tgd-line); border-radius: var(--tgd-r-sm); font: inherit; font-size: 0.95rem; background: #fff; color: var(--tgd-ink); }
.tgd-form input:focus, .tgd-form select:focus, .tgd-form textarea:focus { outline: none; border-color: var(--tgd-sea); box-shadow: 0 0 0 3px rgba(14,116,144,0.14); }
.tgd-form__agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.84rem; color: var(--tgd-slate); margin-top: 16px; }
.tgd-form__agree input { width: auto; }
.tgd-form__status { margin: 14px 0 0; font-weight: 700; font-size: 0.92rem; color: var(--tgd-sea); min-height: 20px; }

.tgd-contact { list-style: none; padding: 0; margin: 0 0 20px; }
.tgd-contact li { padding: 9px 0; border-bottom: 1px solid var(--tgd-line); font-size: 0.95rem; }
.tgd-contact strong { display: inline-block; min-width: 92px; color: var(--tgd-deep); }

.tgd-legal h2 { margin-top: 32px; font-size: 1.2rem; }
.tgd-legal h2:first-child { margin-top: 0; }

/* Footer */
.tgd-foot { background: var(--tgd-ink); color: #8fa9b0; padding: 54px 0 26px; }
.tgd-foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; }
.tgd-foot h4 { color: var(--tgd-foam); font-family: var(--tgd-head); font-size: 1rem; margin: 0 0 14px; }
.tgd-foot ul { list-style: none; padding: 0; margin: 0; }
.tgd-foot li { padding: 5px 0; }
.tgd-foot a { color: #8fa9b0; font-size: 0.9rem; }
.tgd-foot a:hover { color: var(--tgd-cyan); }
.tgd-foot__addr { font-style: normal; font-size: 0.88rem; line-height: 1.7; color: #8fa9b0; }
.tgd-foot__base { margin-top: 38px; padding-top: 22px; border-top: 1px solid #1f3a42; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #5f7980; }

:focus-visible { outline: 3px solid var(--tgd-cyan); outline-offset: 2px; }

/* Responsive — 1024 / 720 / 460 */
@media (max-width: 1024px) {
  .tgd-grid, .tgd-tiers { grid-template-columns: repeat(2, 1fr); }
  .tgd-two { grid-template-columns: 1fr; gap: 32px; }
  .tgd-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .tgd-burger { display: block; }
  .tgd-nav { display: none; position: absolute; left: 0; right: 0; top: 74px; z-index: 40; flex-direction: column; align-items: stretch; gap: 0; background: var(--tgd-deep); padding: 6px 26px 16px; }
  .tgd-nav.tgd-open { display: flex; }
  .tgd-nav a { padding: 12px 0; border-bottom: 1px solid rgba(34,184,207,0.2); }
  .tgd-nav .tgd-book { text-align: center; margin-top: 10px; }
  .tgd-top__row { position: relative; }
  .tgd-grid, .tgd-tiers, .tgd-steps { grid-template-columns: 1fr; }
  .tgd-hero__card { padding: 32px 26px; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .tgd-sec { padding: 48px 0; }
  .tgd-foot__grid { grid-template-columns: 1fr; }
  .tgd-foot__base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.02s !important; transition-duration: 0.02s !important; scroll-behavior: auto !important; }
}
