/*
Theme Name: CnV Vacations
Theme URI: https://cnvvacations.com/
Author: CnV Vacations
Description: A responsive, cruise-focused travel advisor theme for CnV Vacations.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cnv-vacations
*/

:root {
  --cnv-ink: #12343b;
  --cnv-muted: #38555a;
  --cnv-teal: #0b6268;
  --cnv-teal-dark: #084a50;
  --cnv-coral: #f16052;
  --cnv-coral-dark: #d94f43;
  --cnv-cloud: #f5faf9;
  --cnv-white: #fff;
  --cnv-line: rgba(18, 52, 59, 0.14);
  --cnv-shadow: 0 24px 60px rgba(8, 61, 66, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cnv-cloud);
  color: var(--cnv-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.cnv-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.cnv-eyebrow {
  margin: 0 0 16px;
  color: var(--cnv-teal);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.cnv-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 10px max(32px, calc((100vw - 1310px) / 2));
  background: linear-gradient(180deg, rgba(246,251,250,.93), rgba(246,251,250,.5), transparent);
}
.cnv-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 98px;
  overflow: hidden;
  background: transparent;
  transition: transform .18s ease;
}
.cnv-header-logo:hover {
  transform: translateY(-2px);
}
.cnv-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cnv-brand { display: flex; flex-direction: column; font-size: clamp(1.5rem,2.2vw,2.05rem); font-weight: 800; letter-spacing: -.05em; }
.cnv-brand small { margin-top: 2px; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cnv-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 700; }
.cnv-nav-cta, .cnv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease;
}
.cnv-nav-cta { padding: 13px 20px; background: var(--cnv-coral); color: white; }
.cnv-button { min-height: 58px; padding: 16px 28px; border: 2px solid transparent; }
.cnv-button:hover, .cnv-nav-cta:hover { transform: translateY(-2px); }
.cnv-button-primary { background: var(--cnv-coral); color: white; box-shadow: 0 14px 30px rgba(241,96,82,.28); }
.cnv-button-primary:hover, .cnv-nav-cta:hover { background: var(--cnv-coral-dark); }
.cnv-button-secondary { border-color: var(--cnv-ink); background: rgba(255,255,255,.3); }
.cnv-hero {
  min-height: 900px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(245,250,249,.98), rgba(245,250,249,.78) 38%, rgba(245,250,249,.08) 66%),
    url("assets/images/hero-coast.png") center/cover no-repeat;
}
.cnv-hero:after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(9,46,52,.5));
}
.cnv-hero-inner { position: relative; z-index: 2; padding: 186px 0 72px; }
.cnv-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.7rem,6.9vw,6.5rem);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .94;
}
.cnv-hero-lede { max-width: 590px; margin: 30px 0 0; color: #24484f; font-size: clamp(1.08rem,1.7vw,1.35rem); line-height: 1.62; }
.cnv-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.cnv-trust {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 30px 0 0;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(5,54,59,.76);
  color: white;
  font-size: .9rem;
  font-weight: 650;
  list-style: none;
}
.cnv-trust li:not(:last-child):after { margin-left: 26px; color: #77d6d5; content: "•"; }
.cnv-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-block: 110px 80px; }
.cnv-intro h2, .cnv-heading h2, .cnv-why h2, .cnv-cta h2 {
  margin: 0;
  font-size: clamp(2.5rem,4.5vw,4.25rem);
  letter-spacing: -.06em;
  line-height: 1.02;
}
.cnv-intro > p, .cnv-heading > p { color: var(--cnv-muted); font-size: 1.06rem; line-height: 1.8; }
.cnv-experiences { padding-block: 56px 120px; }
.cnv-heading { display: flex; align-items: end; justify-content: space-between; gap: 64px; margin-bottom: 46px; }
.cnv-heading > p { max-width: 430px; margin: 0; }
.cnv-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 20px; }
.cnv-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--cnv-shadow);
  transition: transform .22s ease;
}
.cnv-card:hover { transform: translateY(-7px); }
.cnv-card img { width: 100%; height: 470px; object-fit: cover; }
.cnv-card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 25px 26px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(5,54,59,.96) 52%);
}
.cnv-card-body small { color: #9ee9e6; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cnv-card-body h3 { margin: 8px 0; font-size: 1.55rem; }
.cnv-card-body p { margin: 0; color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.55; }
.cnv-card-featured:before {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  content: "CRUISE SPECIALTY";
  background: var(--cnv-coral);
  color: white;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.cnv-cruise {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 34px 36px;
  border-radius: 18px;
  background: #e5f4f3;
}
.cnv-cruise h3 { margin: 0; font-size: 1.45rem; }
.cnv-cruise p { color: var(--cnv-muted); line-height: 1.65; }
.cnv-cruise a { font-weight: 800; white-space: nowrap; }
.cnv-why { padding-block: 120px; background: var(--cnv-teal-dark); color: white; }
.cnv-why-inner { display: grid; grid-template-columns: .86fr 1.14fr; gap: 90px; }
.cnv-why .cnv-eyebrow { color: #87dfdd; }
.cnv-why-copy > p:not(.cnv-eyebrow) { color: rgba(255,255,255,.76); line-height: 1.8; }
.cnv-text-link { display: inline-block; margin-top: 22px; border-bottom: 2px solid var(--cnv-coral); font-weight: 800; }
.cnv-benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.18); }
.cnv-benefits article { min-height: 210px; padding: 30px; background: #0c5a60; }
.cnv-benefits article > span { color: #82d7d5; font-size: .78rem; font-weight: 800; }
.cnv-benefits h3 { margin: 34px 0 10px; }
.cnv-benefits p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.65; }
.cnv-process { padding-block: 120px; }
.cnv-process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cnv-process-grid li { min-height: 270px; padding: 34px; border: 1px solid var(--cnv-line); border-radius: 18px; background: white; }
.cnv-step { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--cnv-teal); color: white; font-weight: 800; }
.cnv-process-grid h3 { margin: 38px 0 14px; }
.cnv-process-grid p { color: var(--cnv-muted); line-height: 1.75; }
.cnv-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 82px max(32px,calc((100vw - 1180px)/2)); background: var(--cnv-coral); color: white; }
.cnv-cta > div { max-width: 800px; }
.cnv-cta p:not(.cnv-eyebrow) { color: rgba(255,255,255,.84); line-height: 1.7; }
.cnv-button-light { flex: 0 0 auto; background: white; color: var(--cnv-ink); }
.cnv-footer { background: #082f34; color: white; }
.cnv-footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; padding-block: 68px 52px; }
.cnv-footer h3 { color: #82d7d5; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.cnv-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.72); }
.cnv-legal { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .75rem; }
a:focus-visible, button:focus-visible { outline: 3px solid #ff887d; outline-offset: 4px; }

@media (max-width: 900px) {
  .cnv-nav a:not(.cnv-nav-cta) { display: none; }
  .cnv-intro, .cnv-why-inner { grid-template-columns: 1fr; gap: 44px; }
  .cnv-grid { grid-template-columns: 1fr 1fr; }
  .cnv-card-featured { grid-column: 1/-1; }
  .cnv-cruise { grid-template-columns: 1fr 1fr; }
  .cnv-cruise a { grid-column: 1/-1; }
  .cnv-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .cnv-shell { width: min(100% - 32px,1180px); }
  .cnv-header { min-height: 88px; padding: 8px 18px; }
  .cnv-header-logo { width: 104px; height: 70px; }
  .cnv-brand { font-size: 1.35rem; }
  .cnv-nav { gap: 0; }
  .cnv-hero { min-height: 980px; background-position: 64% center; }
  .cnv-hero-inner { padding: 130px 0 48px; }
  .cnv-hero h1 { font-size: clamp(3rem,14.5vw,4.5rem); }
  .cnv-actions { align-items: stretch; flex-direction: column; }
  .cnv-button { width: 100%; }
  .cnv-trust { width: 100%; align-items: flex-start; flex-direction: column; border-radius: 14px; }
  .cnv-trust li:after { display: none; }
  .cnv-intro { padding-block: 78px 44px; }
  .cnv-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .cnv-grid, .cnv-benefits, .cnv-process-grid, .cnv-footer-main { grid-template-columns: 1fr; }
  .cnv-card-featured { grid-column: auto; }
  .cnv-cruise { grid-template-columns: 1fr; padding: 28px 24px; }
  .cnv-cruise a { grid-column: auto; }
  .cnv-why, .cnv-process { padding-block: 82px; }
  .cnv-cta { padding: 70px 22px; }
  .cnv-legal { flex-direction: column; }
}
