/*
Theme Name: Trident Marine
Author: CarbonWeb
Description: Child theme for Trident Marine Co. — premium marine detailing, Lake Erie, Cleveland OH.
Template: blankslate
Version: 1.0.0
*/

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --tm-navy:       #0b1f3a;
  --tm-navy-mid:   #1e4976;
  --tm-navy-dark:  #051428;
  --tm-teal:       #4a9ebf;
  --tm-steel:      #8badbf;
  --tm-steel-light:#b8d1de;
  --tm-light-bg:   #f5f6f7;
  --tm-white:      #ffffff;
  --tm-body-text:  #63788c;
  --tm-light-text: #c7d6e3;
  --tm-border:     #dee5eb;
  --tm-footer-text:#8ca5ba;
  --tm-badge-bg:   #ecf8fc;
}

/* ─── Base Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--tm-white);
  color: var(--tm-navy);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ─── Typography ─────────────────────────────────────────────────── */
.tm-serif  { font-family: 'Poly', serif; }
.tm-sans   { font-family: 'Inter', sans-serif; }

.tm-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tm-teal);
}

/* ─── Layout helpers ─────────────────────────────────────────────── */
.tm-container {
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ─── Remove blankslate defaults that conflict ───────────────────── */
.site-header, .site-footer { display: none !important; }
#page { padding: 0; margin: 0; }
.site-main { margin: 0; }

/* ─── Global Elementor overrides ─────────────────────────────────── */
.elementor-section.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}
.elementor-page .elementor-section-wrap { padding: 0; }

/* Remove Elementor default column widget-wrap padding (but allow targeted overrides) */
.elementor-column > .elementor-column-wrap > .elementor-widget-wrap:not([style*="padding"]) { padding: 0; }
.elementor-widget-wrap { padding: 0; }
.elementor-column-wrap { padding: 0; }

/* Remove Elementor default section bottom margin */
.elementor-section { margin: 0 !important; }

/* Remove Elementor default widget margin */
.elementor-widget { margin-bottom: 0 !important; }

/* ─── Nav ─────────────────────────────────────────────────────────── */
.tm-nav {
  background: var(--tm-navy);
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tm-nav__inner {
  max-width: 1440px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

.tm-nav__logo img {
  height: 28px;
  width: auto;
}

.tm-nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.tm-nav__links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #d9e0e8;
  transition: color 0.2s;
}

.tm-nav__links a:hover,
.tm-nav__links a.active {
  color: #7fd8fb;
}

.tm-nav__cta {
  background: var(--tm-steel);
  color: var(--tm-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 3px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.tm-nav__cta:hover { opacity: 0.9; color: var(--tm-navy); }

/* Hamburger (mobile) */
.tm-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.tm-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #d9e0e8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.tm-footer {
  background: var(--tm-navy);
  padding: 60px 80px 40px;
}

.tm-footer__inner {
  max-width: 1110px;
  margin: 0 auto;
}

.tm-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.tm-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tm-footer__logo img {
  width: 176px;
  height: auto;
}

.tm-footer__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12.48px;
  color: var(--tm-footer-text);
  line-height: 1.6;
  text-align: center;
}

.tm-footer__col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--tm-white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tm-footer__col ul { list-style: none; }
.tm-footer__col ul li { margin-bottom: 10px; }
.tm-footer__col ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--tm-footer-text);
  transition: color 0.2s;
}
.tm-footer__col ul li a:hover { color: var(--tm-steel); }

.tm-footer__divider {
  border: none;
  border-top: 1px solid #1a2e4d;
  margin-bottom: 24px;
}

.tm-footer__copy {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #b8cfe3;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.tm-btn-primary {
  display: inline-block;
  background: var(--tm-steel);
  color: var(--tm-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tm-btn-primary:hover { opacity: 0.9; color: var(--tm-navy); }

.tm-btn-secondary {
  display: inline-block;
  border: 1px solid #99b2cc;
  color: var(--tm-white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.tm-btn-secondary:hover { background: rgba(255,255,255,0.08); }

.tm-btn-dark {
  display: inline-block;
  background: var(--tm-navy);
  color: var(--tm-white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 40px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tm-btn-dark:hover { opacity: 0.85; color: var(--tm-white); }

/* ─── Sections ─────────────────────────────────────────────────────── */
.tm-section { width: 100%; }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.tm-hero {
  background: var(--tm-navy);
  height: 757px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tm-hero__bg-img {
  position: absolute;
  right: 0;
  top: -80px;
  width: 1158px;
  height: 869px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.tm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(80.96deg, rgb(11,31,58) 33.57%, rgba(11,31,58,0.88) 47.96%, rgba(12,31,58,0.49) 69.38%, rgba(12,31,57,0) 89.62%);
}

.tm-hero__content {
  position: relative;
  z-index: 1;
  padding-left: 147px;
  max-width: 867px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tm-hero__eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--tm-teal);
}

.tm-hero__eyebrow-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--tm-teal);
  text-transform: uppercase;
}

.tm-hero__heading {
  font-family: 'Poly', serif;
  font-size: 68px;
  line-height: 1.1;
  color: var(--tm-white);
}

.tm-hero__heading span { color: var(--tm-steel); }

.tm-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #c7d6e3;
}

.tm-hero__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tm-hero__marinas {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #8ca5ba;
}

/* ─── Page Hero (inner pages) ────────────────────────────────────── */
.tm-page-hero {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 80px 165px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.tm-page-hero h1 {
  font-family: 'Poly', serif;
  font-size: 52px;
  color: var(--tm-white);
}

.tm-page-hero p {
  font-size: 17px;
  color: var(--tm-light-text);
}

/* ─── Pricing Cards ──────────────────────────────────────────────── */
.tm-pricing {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-white);
  padding: 100px 165px;
}

.tm-pricing__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.tm-pricing__header-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm-pricing__header-left h2 {
  font-family: 'Poly', serif;
  font-size: 32px;
  color: var(--tm-navy);
  line-height: 40px;
}

.tm-pricing__header-left p {
  font-size: 15px;
  color: var(--tm-body-text);
  max-width: 480px;
  line-height: 24px;
}

/* Eyebrow color must not be overridden by section-level p rules */
.tm-page-hero .tm-eyebrow,
.tm-services-hero .tm-eyebrow,
.tm-confirm-hero .tm-eyebrow { color: var(--tm-teal) !important; }

.tm-pricing__view-all {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--tm-teal);
  white-space: nowrap;
}

.tm-pricing__cards {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.tm-pricing-card {
  background: var(--tm-white);
  border: 1px solid var(--tm-border);
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tm-pricing-card--featured {
  background: var(--tm-navy);
  border-color: var(--tm-navy);
}

.tm-pricing-card__accent {
  height: 4px;
  background: var(--tm-steel);
  flex-shrink: 0;
}

.tm-pricing-card__top {
  padding: 22px 24px;
  border-bottom: 1px solid var(--tm-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tm-pricing-card--featured .tm-pricing-card__top {
  border-bottom-color: #1a2e4d;
}

.tm-pricing-card__badge {
  display: inline-flex;
  align-items: center;
  background: var(--tm-badge-bg);
  padding: 5px 10px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--tm-steel);
  text-transform: uppercase;
  width: fit-content;
}

.tm-pricing-card--featured .tm-pricing-card__badge {
  background: #143357;
}

.tm-pricing-card__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tm-pricing-card__best-tag {
  background: #0f386b;
  color: var(--tm-steel);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 6px;
}

.tm-pricing-card__name {
  font-family: 'Poly', serif;
  font-size: 26px;
  line-height: 32px;
  color: var(--tm-navy);
}
.tm-pricing-card--featured .tm-pricing-card__name { color: var(--tm-white); }

.tm-pricing-card__freq {
  font-size: 13px;
  color: var(--tm-body-text);
}
.tm-pricing-card--featured .tm-pricing-card__freq { color: #c7d6e3; }

.tm-pricing-card__tiers {
  padding: 13px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.tm-pricing-card__tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.tm-pricing-card__tier--std,
.tm-pricing-card__tier--prem {
  background: var(--tm-light-bg);
}

.tm-pricing-card__tier--sel {
  background: var(--tm-steel);
}

.tm-pricing-card__tier--sel .tm-pricing-card__tier-label {
  color: var(--tm-navy);
}

.tm-pricing-card__tier-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--tm-body-text);
  text-transform: uppercase;
}
.tm-pricing-card__tier-label { color: var(--tm-body-text); }

.tm-pricing-card__tier-price {
  font-family: 'Poly', serif;
  font-size: 22px;
  color: var(--tm-navy);
}

.tm-pricing-card__btn-wrap {
  padding: 0 24px 20px;
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.tm-pricing-card__btn {
  display: block;
  width: 100%;
  background: var(--tm-navy);
  color: var(--tm-white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.tm-pricing-card__btn:hover { opacity: 0.85; color: var(--tm-white); }

.tm-pricing-card__btn--disabled {
  background: var(--tm-border);
  color: var(--tm-steel);
  cursor: not-allowed;
  pointer-events: none;
}
.tm-pricing-card--featured .tm-pricing-card__btn--disabled {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
}

.tm-pricing-card--featured .tm-pricing-card__btn {
  background: var(--tm-steel);
  color: var(--tm-navy);
}
.tm-pricing-card--featured .tm-pricing-card__btn:hover { color: var(--tm-navy); }

.tm-pricing__addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--tm-light-bg);
  border-radius: 8px;
  padding: 18px 28px;
}

.tm-pricing__addon-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tm-pricing__addon-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--tm-teal);
  text-transform: uppercase;
}

.tm-pricing__addon-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #63788c;
}

.tm-pricing__addon-note {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #556d8d;
  padding: 12px;
  white-space: nowrap;
}

/* ─── About Teaser ───────────────────────────────────────────────── */
.tm-about-teaser {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 100px 165px;
  display: flex;
  gap: 80px;
  align-items: center;
}

.tm-about-teaser__img {
  width: 480px;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e4976;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-about-teaser__img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none; }

.tm-about-teaser__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-about-teaser__content h2,
.tm-about-teaser__h2 {
  font-family: 'Poly', serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--tm-white);
  font-weight: 400;
  margin: 0;
}

.tm-about-teaser__content p,
.tm-about-teaser__body p {
  font-size: 16px;
  line-height: 1.7;
  color: #c7d6e3;
  margin: 0;
}
.tm-about-teaser__body p + p { margin-top: 12px; }

.tm-btn-outline-teal {
  display: inline-block;
  border: 1px solid var(--tm-teal);
  color: var(--tm-teal);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}
.tm-btn-outline-teal:hover { background: rgba(74,158,191,0.12); color: var(--tm-teal); }

/* ─── Gallery Teaser ─────────────────────────────────────────────── */
.tm-gallery-teaser {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-white);
  padding: 100px 165px;
}

.tm-gallery-teaser__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}

.tm-gallery-teaser__header h2 {
  font-family: 'Poly', serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--tm-navy);
}

.tm-gallery-teaser__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* When the gallery teaser grid is an Elementor inner-section */
.tm-gallery-teaser__grid.elementor-section > .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  flex-wrap: unset;
}
.tm-gallery-teaser__grid.elementor-section > .elementor-container > .elementor-column {
  width: 100% !important;
}

.tm-gallery-teaser__photos {
  display: flex;
  gap: 16px;
}

.tm-gallery-teaser__photo {
  flex: 1;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  background: #1e4976;
}
.tm-gallery-teaser__photo img { width: 100% !important; height: 100% !important; object-fit: cover; max-width: none; }

/* When gallery teaser photos are Elementor columns with Image widgets */
.tm-gallery-teaser__photo .elementor-column-wrap,
.tm-gallery-teaser__photo .elementor-widget-wrap,
.tm-gallery-teaser__photo .elementor-widget-container,
.tm-gallery-teaser__photo .elementor-image,
.tm-gallery-teaser__photo .elementor-image figure { height: 100% !important; margin: 0; padding: 0; }
.tm-gallery-teaser__photo .elementor-image figure img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none; }

/* About teaser image — fixed 360px tall container */
.tm-about-teaser__img-col {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 360px;
}
.tm-about-teaser__img-col .elementor-column-wrap,
.tm-about-teaser__img-col .elementor-widget-wrap,
.tm-about-teaser__img-col .elementor-widget-container,
.tm-about-teaser__img-col .elementor-image,
.tm-about-teaser__img-col .elementor-image figure { height: 100% !important; margin: 0; padding: 0; }
.tm-about-teaser__img-col .elementor-image figure img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none; border-radius: 0; }

/* ─── CTA Band ─────────────────────────────────────────────────────── */
.tm-cta-band-wrap {
  background: var(--tm-white);
  padding: 64px;
}

.tm-cta-band {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-steel-light);
  border-radius: 20px;
  padding: 80px 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.tm-cta-band h2 {
  font-family: 'Poly', serif;
  font-size: 40px;
  color: var(--tm-navy);
}

.tm-cta-band p {
  font-size: 16px;
  color: var(--tm-navy);
}

.tm-cta-band__btn {
  display: inline-block;
  background: var(--tm-navy);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 3px;
  margin-top: 8px;
}

.tm-cta-band__btn:hover {
  background: #163354;
  color: #ffffff;
}

/* ─── Services Page ──────────────────────────────────────────────── */
.tm-services-hero {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 60px 165px 80px;
}

.tm-services-hero h1 {
  font-family: 'Poly', serif;
  font-size: 48px;
  color: var(--tm-white);
  margin: 12px 0;
}

.tm-services-hero p {
  font-size: 16px;
  color: #c7d6e3;
  line-height: 1.6;
  max-width: 680px;
}

.tm-wash-cards {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-white);
  padding: 80px 165px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-wash-cards__grid {
  display: flex;
  gap: 32px;
}

.tm-wash-card {
  flex: 1;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  padding: 32px;
}

.tm-wash-card h3 {
  font-family: 'Poly', serif;
  font-size: 24px;
  color: var(--tm-navy);
  margin: 12px 0 16px;
}

.tm-wash-card__badge {
  display: inline-block;
  background: var(--tm-steel);
  color: var(--tm-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.tm-wash-card p {
  font-size: 14px;
  color: var(--tm-body-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tm-wash-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tm-wash-card ul li {
  font-size: 14px;
  color: var(--tm-body-text);
  padding-left: 18px;
  position: relative;
}
.tm-wash-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--tm-teal);
}

/* ─── About Page ─────────────────────────────────────────────────── */
.tm-values {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 80px 165px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.tm-values h2 {
  font-family: 'Poly', serif;
  font-size: 36px;
  color: var(--tm-white);
  margin: 0;
}

.tm-values__cards {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.tm-value-card {
  background: #1e4976;
  border-radius: 8px;
  padding: 32px 28px;
  flex: 1;
  max-width: 320px;
  text-align: left;
}

.tm-value-card__bar {
  width: 28px;
  height: 2px;
  background: var(--tm-teal);
  margin-bottom: 12px;
}

/* When value cards are Elementor columns the bar is added via pseudo-element
   so the heading and text content can be native editable widgets. */
.tm-value-card > .elementor-column-wrap > .elementor-widget-wrap::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--tm-teal);
  margin-bottom: 12px;
}

.tm-value-card h4 {
  font-family: 'Poly', serif;
  font-size: 20px;
  color: var(--tm-white);
  margin-bottom: 12px;
}

.tm-value-card p {
  font-size: 14px;
  color: #c7d6e3;
  line-height: 1.6;
}

.tm-service-area {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-white);
  padding: 80px 165px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.tm-service-area__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-service-area__content h2 {
  font-family: 'Poly', serif;
  font-size: 32px;
  line-height: 1.2;
  color: var(--tm-navy);
}

.tm-marina-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tm-marina-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tm-teal);
  flex-shrink: 0;
}

.tm-marina-item span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--tm-navy);
}

.tm-map-wrap,
.elementor-widget-shortcode .tm-map-wrap {
  width: 100% !important;
  display: block;
}

.tm-service-area__map {
  width: 520px;
  height: 340px;
  background: #e0e5ea;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ─── Gallery Page ─────────────────────────────────────────────────── */
.tm-filter-bar {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: #1e4976;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 80px;
}

.tm-filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 2px;
  cursor: pointer;
  color: #c7d6e3;
  transition: all 0.2s;
  background: none;
  border: none;
}

.tm-filter-btn--active,
.tm-filter-btn:hover {
  background: var(--tm-steel);
  color: var(--tm-navy);
  font-weight: 600;
}

.tm-gallery-grid {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 60px 165px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tm-gallery-row {
  display: flex;
  gap: 20px;
}

.tm-gallery-cell {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #1e4976;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tm-gallery-cell.tm-in {
  opacity: 1;
  transform: none;
}

.tm-gallery-cell.tm-hiding {
  opacity: 0 !important;
  transform: scale(0.94) !important;
  pointer-events: none;
  transition-duration: 0.22s !important;
}

.tm-gallery-cell img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  max-width: none;
}

/* ─── Contact Page ─────────────────────────────────────────────────── */
/* ─── Contact Section (HTML widget layout) ───────────────────────── */
.tm-contact-section {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  display: flex;
  gap: 100px;
  align-items: flex-start;
  padding: 80px 165px;
  background: #ffffff;
}

.tm-contact-section__left {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tm-contact-section__h2 {
  font-family: 'Poly', serif;
  font-size: 36px;
  font-weight: 400;
  color: #122642;
  line-height: 1.2;
  margin: 0;
}

.tm-contact-section__intro {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #63788c;
  line-height: 1.65;
  margin: 0;
}

.tm-contact-section__divider {
  width: 60px;
  height: 2px;
  background: #4a9ebf;
  flex-shrink: 0;
}

.tm-contact-section__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-contact-section__info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tm-contact-section__info-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  color: #4a9ebf;
  text-transform: uppercase;
}

.tm-contact-section__info-value {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #122642;
}

.tm-contact-section__right {
  flex: 1;
  min-width: 0;
}

.tm-contact-section__right iframe {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 8px;
}

/* Legacy contact classes (kept for backward compat) */
.tm-contact {
  background: var(--tm-white);
  padding: 0px 20px 80px;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  align-items: flex-start;
}
.tm-contact__left { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.tm-contact__left h2 { font-family: 'Poly', serif; font-size: 36px; color: #122642; max-width: 420px; }
.tm-contact__left > p { font-size: 16px; color: var(--tm-body-text); max-width: 420px; line-height: 1.6; }
.tm-contact__divider { width: 60px; height: 2px; background: var(--tm-teal); }
.tm-contact__info-item h5 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 2px; color: var(--tm-teal); text-transform: uppercase; margin-bottom: 4px; }
.tm-contact__info-item p { font-size: 15px; color: #122642; }
.tm-contact__form-wrap { flex: 1; min-width: 0; }

/* Monday.com form embed (shortcode) */
.tm-monday-form { border-radius: 12px; }
.tm-monday-form iframe { border: none; border-radius: 12px; padding: 0; width: 100%; min-height: 500px; display: block; }

/* ─── Booking Confirmation ─────────────────────────────────────────── */
.tm-confirm-hero {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-navy);
  padding: 80px 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.tm-confirm-hero h1 {
  font-family: 'Poly', serif;
  font-size: 44px;
  color: var(--tm-white);
}

.tm-confirm-hero__sub {
  font-size: 18px;
  color: var(--tm-steel);
}

.tm-confirm-hero__ref {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--tm-teal);
}

.tm-confirm-body {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-light-bg);
  padding: 60px 165px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.tm-booking-details {
  background: var(--tm-white);
  border: 1px solid #e0e5ea;
  border-radius: 10px;
  padding: 36px 32px;
  width: 500px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tm-booking-details h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--tm-navy);
}

.tm-booking-details hr {
  border: none;
  border-top: 1px solid var(--tm-border);
}

.tm-booking-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.tm-booking-row__label { color: var(--tm-body-text); }
.tm-booking-row__value { color: var(--tm-navy); font-weight: 500; text-align: right; }
.tm-booking-row__value--paid { color: var(--tm-teal); }

.tm-next-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-next-steps h2 {
  font-family: 'Poly', serif;
  font-size: 24px;
  color: var(--tm-navy);
}

.tm-step {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}

.tm-next-steps .tm-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.tm-step__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--tm-teal);
}

.tm-step__content h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--tm-navy);
  margin-bottom: 4px;
}

.tm-step__content p {
  font-size: 13px;
  color: var(--tm-body-text);
  line-height: 1.6;
}

/* ─── Origin Story ─────────────────────────────────────────────────── */
.tm-origin {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: var(--tm-white);
  padding: 100px 165px;
  display: flex;
  gap: 80px;
  align-items: center;
}

.tm-origin__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tm-origin__content h2 {
  font-family: 'Poly', serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--tm-navy);
}

.tm-origin__content p {
  font-size: 16px;
  color: var(--tm-body-text);
  line-height: 1.7;
  margin-bottom: 1.7em;
}
.tm-origin__content p:last-child {
  margin-bottom: 0;
}
.tm-origin__content p.tm-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--tm-teal);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: normal;
  margin-bottom: 0;
}

.tm-origin__img {
  width: 440px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e4976;
  position: relative;
}
.tm-origin__img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  max-width: none;
}

/* ─── Booking Multi-Step Form ────────────────────────────────────── */
.tm-booking-main {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  background: #fff;
  padding: 0 80px 80px;
}

/* Step progress bar */
.tm-bk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0 56px;
}
.tm-bk-step {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.tm-bk-step__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d6d6d6;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tm-bk-step--active .tm-bk-step__dot,
.tm-bk-step--done .tm-bk-step__dot { background: #4a9ebf; }
.tm-bk-step__label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #d6d6d6;
}
.tm-bk-step--active .tm-bk-step__label,
.tm-bk-step--done .tm-bk-step__label { color: #4a9ebf; }
.tm-bk-step__line {
  width: 56px;
  height: 1.4px;
  background: #d6d6d6;
  margin: 0 4px;
  flex-shrink: 0;
}
.tm-bk-step__line--active { background: #4a9ebf; }

/* Form wrapper */
.tm-bk-form {
  max-width: 963px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

/* Step heading */
.tm-bk-step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 4px;
}
.tm-bk-step-num {
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: #0b1f3a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tm-bk-step-heading > span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0b1f3a;
}
.tm-bk-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #63788c;
  text-align: center;
  margin: 0;
}

/* Frequency selector */
.tm-bk-freq {
  background: #f5f6f7;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-bk-freq__label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #63788c;
  letter-spacing: 1.5px;
}
.tm-bk-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.tm-bk-pill {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid #dee5eb;
  background: #fff;
  color: #63788c;
  cursor: pointer;
  transition: all 0.15s;
}
.tm-bk-pill--active {
  background: #0b1f3a;
  color: #fff;
  border-color: #0b1f3a;
  font-weight: 600;
}

/* Tier cards */
.tm-bk-tiers { display: flex; gap: 12px; }
.tm-bk-tier {
  flex: 1;
  border: 1.5px solid #1e4976;
  border-radius: 8px;
  padding: 18px 16px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f4f9fc;
  transition: background 0.15s, border-color 0.15s;
}
.tm-bk-tier--selected {
  background: #0b1f3a;
  border-color: #0b1f3a;
}
.tm-bk-tier__radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
}
.tm-bk-tier__radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #dee5eb;
  flex-shrink: 0;
}
.tm-bk-tier--selected .tm-bk-tier__radio {
  border-color: #8badbf;
  background: radial-gradient(circle, #8badbf 45%, transparent 45%);
}
.tm-bk-tier__badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
.tm-bk-tier__popular {
  margin-left: auto;
  background: #4a9ebf;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 20px;
}
.tm-bk-tier__price {
  font-family: 'Poly', serif;
  font-size: 30px;
  color: #0b1f3a;
}
.tm-bk-tier--selected .tm-bk-tier__price { color: #fff; }
.tm-bk-tier__sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #63788c;
}
.tm-bk-tier--selected .tm-bk-tier__sub { color: #80a6bf; }
.tm-bk-tier__divider {
  border: none;
  border-top: 1px solid #dee5eb;
  margin: 0;
}
.tm-bk-tier--selected .tm-bk-tier__divider { border-top-color: #1a3859; }
.tm-bk-tier__feat {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #63788c;
}
.tm-bk-tier--selected .tm-bk-tier__feat { color: #80a6bf; }
.tm-bk-tier__feat--highlight { font-weight: 500; color: #1e4976 !important; }

/* Add-on row */
.tm-bk-addon {
  background: #e5f1f5;
  border: 1.5px solid #3391b8;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  transition: background 0.15s, border-color 0.15s;
}
.tm-bk-addon--added { border-color: #4a9ebf; background: #cde8f3; }
.tm-bk-addon__accent {
  width: 3px;
  height: 56px;
  background: #4a9ebf;
  border-radius: 2px;
  flex-shrink: 0;
  margin-right: 24px;
}
.tm-bk-addon__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.tm-bk-addon__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #4a9ebf;
  letter-spacing: 1.5px;
}
.tm-bk-addon__name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0b1f3a;
}
.tm-bk-addon__desc {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #63788c;
}
.tm-bk-addon__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: 16px;
}
.tm-bk-addon__price {
  font-family: 'Poly', serif;
  font-size: 17px;
  color: #0b1f3a;
}
.tm-bk-addon__btn {
  background: #4a9ebf;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.tm-bk-addon__btn:hover { background: #3b8fb0; }

/* Boat length input */
.tm-bk-length-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f4f9fc;
  border: 1px solid #dee5eb;
  border-radius: 6px;
  padding: 12px 16px;
}
.tm-bk-length-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #63788c;
  flex: 1;
}
.tm-bk-length-input {
  width: 80px;
  padding: 6px 10px;
  border: 1px solid #dee5eb;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0b1f3a;
  text-align: center;
  outline: none;
}
.tm-bk-length-input:focus { border-color: #4a9ebf; }

/* Total bar */
.tm-bk-total {
  display: flex;
  align-items: center;
  background: #f4f9fc;
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 59px;
}
.tm-bk-total__label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #15372b;
  flex: 1;
}
.tm-bk-total__value {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #15372b;
}

/* Continue button */
.tm-bk-continue-row { display: flex; justify-content: flex-end; }
.tm-bk-continue-btn {
  background: #0b1f3a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.tm-bk-continue-btn:hover { background: #1a3859; }

/* Step 3 — in-page Square payment */
.tm-bk-pay-panel {
  max-width: 560px;
  margin: 0 auto;
}
.tm-bk-pay-summary {
  background: #f5f6f7;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0 22px;
  font-family: 'Inter', sans-serif;
}
.cs-pay-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--tm-body-text);
  padding: 4px 0;
}
.cs-pay-total {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 700;
  color: var(--tm-navy);
  border-top: 1px solid var(--tm-border);
  margin-top: 8px;
  padding-top: 12px;
}
.tm-bk-pay-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tm-steel);
  margin-bottom: 8px;
}
#cs-card {
  background: #fff;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  padding: 4px 12px;
  margin-bottom: 14px;
  min-height: 48px;
}
.tm-bk-pay-error {
  background: #fdecec;
  border-left: 3px solid #d64545;
  color: #a32020;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.tm-bk-pay-panel .tm-bk-continue-btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px;
}
.tm-bk-pay-panel .tm-bk-continue-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.tm-bk-pay-secure {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--tm-steel);
  margin-top: 12px;
}

/* Calendly panel (legacy) */
.tm-bk-calendly-panel { padding: 0 0 60px; }
.tm-bk-calendly-wrap {
  max-width: 963px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calendly-inline-widget {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dee5eb;
}

/* Monday.com booking panel */
.tm-bk-monday-panel { padding: 0 0 60px; }
.tm-bk-monday-wrap {
  max-width: 963px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── Custom booking form (replaces Monday.com iframe) ───────────── */
.tm-bk-cf__prefilled {
  background: #e8f4f9;
  border-left: 4px solid #4a9ebf;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-bk-cf__prefilled-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #4a9ebf;
  text-transform: uppercase;
}
.tm-bk-cf__prefilled-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-bk-cf__prefilled-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0b1f3a;
  background: #ffffff;
  border: 1px solid #c2d8e5;
  border-radius: 100px;
  padding: 4px 12px;
}
.tm-bk-cf__prefilled-item--addon {
  background: #264770;
  border-color: #264770;
  color: #ffffff;
}
.tm-bk-cf__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #dee5eb;
  border-radius: 12px;
  padding: 32px;
}
.tm-bk-cf__row {
  display: flex;
  gap: 16px;
}
.tm-bk-cf__group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tm-bk-cf__group--full { flex: 1 1 100%; }
.tm-bk-cf__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #3d5166;
  letter-spacing: 0.3px;
}
.tm-bk-cf__req { color: #4a9ebf; }
.tm-bk-cf__input {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0b1f3a;
  background: #f6f8fa;
  border: 1px solid #d0dbe4;
  border-radius: 6px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.tm-bk-cf__input:focus { outline: none; border-color: #4a9ebf; background: #ffffff; }
.tm-bk-cf__textarea { resize: vertical; min-height: 80px; }
.tm-bk-cf__error {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #f5c6c2;
  border-radius: 6px;
  padding: 10px 14px;
}
.tm-bk-cf__success {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1a5c3a;
  background: #eaf7f0;
  border: 1px solid #b2dfc8;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: center;
}
@media (max-width: 600px) {
  .tm-bk-cf__row { flex-direction: column; }
  .tm-bk-cf__fields { padding: 20px; }
}

/* Booking form responsive */
@media (max-width: 1200px) {
  .tm-booking-main { padding: 0 40px 80px; }
}
@media (max-width: 900px) {
  .tm-booking-main { padding: 0 20px 60px; }
  .tm-bk-tiers { flex-direction: column; }
  .tm-bk-steps { gap: 0; }
  .tm-bk-step__label { font-size: 13px; }
  .tm-bk-step__line { width: 32px; }
}

/* Services page: exact 32px gap between plan cards and addon row */
.elementor-12 .elementor-element-tm-pricing-addon,
.elementor-10 .elementor-element-tm-pricing-addon { margin-top: 0 !important; }

/* Services page: collapse the gap between wash-types and pricing sections */
.elementor-12 .elementor-element-tm-wash-types    { padding-bottom: 16px !important; }
.elementor-12 .elementor-element-tm-pricing-section { padding-top: 16px !important; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  /* ── Tablet typography ── */
  .tm-hero__heading          { font-size: 52px; }
  .tm-hero__sub              { font-size: 16px; }
  .tm-page-hero h1           { font-size: 42px; }
  .tm-services-hero h1       { font-size: 40px; }
  .tm-confirm-hero h1        { font-size: 36px; }
  .tm-pricing__header-left h2 { font-size: 28px; }
  .tm-about-teaser__h2       { font-size: 30px; }
  .tm-gallery-teaser__header h2 { font-size: 30px; }
  .tm-cta-band h2            { font-size: 34px; }
  .tm-values h2              { font-size: 30px; }
  .tm-origin__content h2     { font-size: 30px; }
  .tm-service-area__content h2 { font-size: 28px; }
  .tm-contact-section__h2    { font-size: 30px; }
  .tm-next-steps h2          { font-size: 22px; }

  .tm-nav__inner { padding: 0 40px; }
  .tm-container { padding: 0 40px; }
  .tm-hero__content { padding-left: 40px; }
  .tm-pricing { padding: 80px 40px; }
  /* ── Elementor section padding overrides — tablet ── */
  .elementor-10 .elementor-element-tm-pricing-section,
  .elementor-10 .elementor-element-tm-gallery-teaser-section,
  .elementor-11 .elementor-element-tm-service-area { padding: 80px 40px !important; }
  .elementor-12 .elementor-element-tm-wash-types    { padding: 80px 40px 16px !important; }
  .elementor-12 .elementor-element-tm-pricing-section { padding: 16px 40px 80px !important; }
  .elementor-10 .elementor-element-tm-cta-section { padding: 64px 40px !important; }
  .elementor-12 .elementor-element-tm-svc-hero,
  .elementor-11 .elementor-element-tm-about-hero-col > .elementor-element-populated,
  .elementor-14 .elementor-element-tm-contact-hero-col > .elementor-element-populated,
  .elementor-21 .elementor-element-tm-gal-hero-col > .elementor-element-populated,
  .elementor-23 .elementor-element-tm-conf-hero-col > .elementor-element-populated,
  .elementor-22 .elementor-element-tm-bk-hero-col > .elementor-element-populated { padding: 80px 40px !important; }
  .elementor-22 .elementor-element-tm-bk-main { padding: 60px 40px !important; }
  .elementor-11 .elementor-element-tm-svc-area-left-col > .elementor-element-populated { padding: 0 40px 0 0 !important; }
  .tm-about-teaser { padding: 80px 40px; gap: 48px; }
  .tm-gallery-teaser { padding: 80px 40px; }
  .tm-cta-band-wrap { padding: 40px; }
  .tm-cta-band { padding: 60px 40px; }
  .tm-footer { padding: 60px 40px 40px; }
  .tm-pricing__cards { flex-wrap: wrap; }
  .tm-pricing-card { min-width: calc(50% - 10px); }
  .tm-page-hero { padding: 60px 40px; }
  .tm-contact { padding: 80px 40px; gap: 60px; }
  .tm-contact-section { padding: 80px 40px; gap: 60px; }
  .tm-contact-section__left { flex: 0 0 360px; }
  .tm-confirm-body { padding: 60px 40px; }
  .tm-gallery-grid, .tm-filter-bar { padding-left: 40px; padding-right: 40px; }
  .tm-origin { padding: 80px 40px; gap: 48px; }
  .tm-values { padding: 80px 40px; }
  .tm-service-area { padding: 80px 40px; }
  .tm-wash-cards { padding: 80px 40px; }
  .tm-services-hero { padding: 60px 40px 80px; }
}

@media (max-width: 900px) {
  .tm-nav__links, .tm-nav__cta { display: none; }
  .tm-nav__hamburger { display: flex; }
  .tm-hero { height: auto; padding: 80px 20px; }
  .tm-hero__content { padding-left: 0; max-width: 100%; }
  /* ── Mobile typography ── */
  .tm-hero__heading              { font-size: 36px; }
  .tm-hero__sub                  { font-size: 15px; }
  .tm-services-hero h1           { font-size: 32px; }
  .tm-confirm-hero h1            { font-size: 28px; }
  .tm-pricing__header-left h2    { font-size: 24px; }
  .tm-about-teaser__h2           { font-size: 26px; }
  .tm-gallery-teaser__header h2  { font-size: 26px; }
  .tm-values h2                  { font-size: 26px; }
  .tm-origin__content h2         { font-size: 26px; }
  .tm-service-area__content h2   { font-size: 24px; }
  .tm-contact-section__h2        { font-size: 26px; }
  .tm-next-steps h2              { font-size: 20px; }
  .tm-wash-card h3               { font-size: 20px; }
  body                           { font-size: 15px; }
  .tm-pricing { padding: 60px 20px; }
  /* ── Elementor section padding overrides — mobile ── */
  .elementor-10 .elementor-element-tm-pricing-section,
  .elementor-10 .elementor-element-tm-gallery-teaser-section,
  .elementor-11 .elementor-element-tm-service-area { padding: 60px 20px !important; }
  .elementor-10 .elementor-element-tm-cta-section { padding: 64px 20px !important; }
  .elementor-12 .elementor-element-tm-wash-types    { padding: 80px 20px 16px !important; }
  .elementor-12 .elementor-element-tm-pricing-section { padding: 16px 20px 80px !important; }
  .elementor-12 .elementor-element-tm-svc-hero,
  .elementor-11 .elementor-element-tm-about-hero-col > .elementor-element-populated,
  .elementor-14 .elementor-element-tm-contact-hero-col > .elementor-element-populated,
  .elementor-21 .elementor-element-tm-gal-hero-col > .elementor-element-populated,
  .elementor-23 .elementor-element-tm-conf-hero-col > .elementor-element-populated,
  .elementor-22 .elementor-element-tm-bk-hero-col > .elementor-element-populated { padding: 80px 20px !important; }
  .elementor-22 .elementor-element-tm-bk-main { padding: 60px 20px !important; }
  .elementor-11 .elementor-element-tm-svc-area-left-col > .elementor-element-populated { padding: 0 20px 0 0 !important; }
  .tm-pricing__cards { flex-direction: column; }
  .tm-pricing-card { min-width: 100%; }
  .tm-about-teaser { flex-direction: column; padding: 60px 20px; }
  .tm-about-teaser__img { width: 100%; }
  .tm-gallery-teaser__grid { grid-template-columns: repeat(2, 1fr); }
  .tm-gallery-teaser { padding: 60px 20px; }
  .tm-cta-band-wrap { padding: 20px; }
  .tm-cta-band { padding: 40px 20px; }
  .tm-cta-band h2 { font-size: 26px; }
  .tm-footer { padding: 40px 20px; }
  .tm-footer__top { flex-direction: column; gap: 40px; }
  .tm-contact { flex-direction: column; padding: 60px 20px; gap: 48px; }
  .tm-contact-section { flex-direction: column; padding: 60px 20px; gap: 48px; }
  .tm-contact-section__left { flex: none; width: 100%; }
  .tm-confirm-body { flex-direction: column; padding: 40px 20px; }
  .tm-booking-details { width: 100%; }
  .tm-origin { flex-direction: column; padding: 60px 20px; }
  .tm-origin__img { width: 100%; height: 280px; }
  .tm-values__cards { flex-direction: column; align-items: center; }
  .tm-service-area { flex-direction: column; padding: 60px 20px; }
  .tm-service-area__map { width: 100%; }
  .tm-wash-cards { padding: 60px 20px; }
  .tm-wash-cards__grid { flex-direction: column; }
  .tm-wash-card { flex: 1 1 100%; }
  .tm-page-hero { padding: 60px 20px; }
  .tm-page-hero h1 { font-size: 30px; }
  .tm-gallery-grid, .tm-filter-bar { padding-left: 20px; padding-right: 20px; }
  .tm-gallery-row { flex-wrap: wrap; }
  .tm-gallery-cell { min-width: calc(50% - 10px); }
}

@media (max-width: 480px) {
  /* ── Small-phone typography ── */
  .tm-hero__heading              { font-size: 28px; }
  .tm-page-hero h1               { font-size: 24px; }
  .tm-services-hero h1           { font-size: 26px; }
  .tm-cta-band h2                { font-size: 22px; }
  .tm-about-teaser__h2           { font-size: 22px; }
  .tm-gallery-teaser__header h2  { font-size: 22px; }
  .tm-values h2                  { font-size: 22px; }
  .tm-origin__content h2         { font-size: 22px; }
  .tm-contact-section__h2        { font-size: 22px; }
  .tm-pricing__header-left h2    { font-size: 22px; }
  .tm-gallery-cell               { min-width: 100%; }
}

/* ─── Elementor Native Widget Compatibility ──────────────────────── */

/* Reset heading widget default margin */
.elementor-widget-heading .elementor-heading-title { margin: 0 !important; padding: 0 !important; }

/* Reset text-editor widget paragraph margin */
.elementor-widget-text-editor p { margin-top: 0; margin-bottom: 0; }
.elementor-widget-text-editor { line-height: inherit; }

/* Eyebrow inside text-editor */
.elementor-widget-text-editor p.tm-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tm-teal);
}

/* Value card columns: dark navy bg, padding for content */
.elementor-column.tm-value-card {
  background: #1e4976 !important;
  border-radius: 8px;
  overflow: hidden;
}
.elementor-column.tm-value-card > .elementor-column-wrap > .elementor-widget-wrap {
  padding: 32px 28px !important;
  flex-direction: column;
  gap: 12px;
}
.elementor-column.tm-value-card .elementor-heading-title {
  font-family: 'Poly', serif !important;
  font-size: 20px !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
}
.elementor-column.tm-value-card .elementor-widget-text-editor p {
  color: #c7d6e3;
  font-size: 14px;
  line-height: 1.6;
}

/* ─── Lightbox ───────────────────────────────────────────────────── */
.tm-lb {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 20, 40, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* visibility delay matches the longest running transition (0.32s) */
  transition: opacity 0.28s ease, visibility 0s 0.32s;
}

.tm-lb.tm-lb--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, visibility 0s 0s;
}

.tm-lb__inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-lb--open .tm-lb__inner {
  transform: none;
}

.tm-lb__img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transition: opacity 0.18s ease;
}

.tm-lb__img.tm-lb__img--out {
  opacity: 0;
}

.tm-lb__close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px 8px;
  transition: opacity 0.15s;
}
.tm-lb__close:hover { opacity: 1; }

.tm-lb__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,31,58,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #ffffff;
  width: 48px;
  height: 48px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.tm-lb__arrow:hover { background: rgba(11,31,58,0.9); }
.tm-lb__arrow--prev { left: 16px; }
.tm-lb__arrow--next { right: 16px; }

.tm-gallery-cell { cursor: zoom-in; }

@media (max-width: 768px) {
  .tm-lb__arrow--prev { left: 8px; }
  .tm-lb__arrow--next { right: 8px; }
}

/* ─── Responsive 900px additions ────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero bg image — remove fixed dimensions */
  .tm-hero__bg-img {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
    object-position: center center;
    opacity: 0.18;
  }

  /* Pricing card inner elements — full width when stacked */
  .tm-pricing-card__tier { width: 100%; }
  .tm-pricing-card__btn  { width: 100%; }

  /* Gallery teaser photos wrap */
  .tm-gallery-teaser__photos { flex-wrap: wrap; }
  .tm-gallery-teaser__photo  { flex: 1 1 calc(50% - 8px); min-width: 140px; }

  /* Contact iframe height */
  .tm-contact-section__right iframe { height: 900px; min-height: 900px; }

  /* Footer copyright center */
  .tm-footer__copy { text-align: center; }

  /* Values card — allow full width, remove max-width cap */
  .tm-value-card { max-width: 100%; }

  /* Wash cards — already stacked at 900px via flex-direction:column */
}

/* ─── Responsive 600px additions ────────────────────────────────── */
@media (max-width: 600px) {
  /* Filter bar wraps on small phones */
  .tm-filter-bar {
    height: auto;
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Service addon stacks */
  .tm-pricing__addon { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tm-pricing__addon-note { white-space: normal; }
}

/* ─── Responsive 480px — phones ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Typography scale-down */
  .tm-hero__heading  { font-size: 34px; line-height: 1.15; }
  .tm-page-hero h1   { font-size: 28px !important; }
  .tm-cta-band h2    { font-size: 22px; }
  .tm-about-teaser__content h2 { font-size: 28px; }

  /* Hero eyebrow/subtitle in HTML widgets */
  .elementor-widget[data-id="tm-about-hero-html"] h1,
  .elementor-widget[data-id="tm-gal-hero-html"] h1 { font-size: 32px !important; }

  /* Hero CTAs stack */
  .tm-hero__ctas { flex-direction: column; align-items: flex-start; }

  /* Gallery teaser single column */
  .tm-gallery-teaser__photo { flex: 1 1 100%; }

  /* Gallery grid single column */
  .tm-gallery-cell {
    min-width: 100% !important;
    flex: 1 1 100% !important;
    height: 220px !important;
  }
}
