/* ─── Cruise Planners Blog — Editorial Design System ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&family=Great+Vibes&display=swap');

:root {
  --navy: #1B3A6B;
  --navy-light: #2d5494;
  --gold: #C9A84C;
  --gold-light: #e8c97c;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #9ca3af;
  --border: #e8e2d6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 6px;
  --max-w: 1200px;
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Inter', system-ui, sans-serif;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

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

/* ── Header ── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(27,58,107,0.18);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo-anchor { font-size: 1.4rem; }
.site-logo-img {
  height: 2rem;
  max-height: 2rem;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold-light); }

/* ── Buttons ── */
.btn-primary, .btn-gold {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-light); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }

/* ── Hero Banner ── */
.hero-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2547 60%, #1a3a6a 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* Photo hero mode — fixed viewport-proportional height, image covers and crops to fit */
.hero-banner--photo {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: clamp(280px, 45vw, 580px);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner--photo::before { display: none; }
.hero-photo { display: none; }
.hero-overlay {
  display: none;
}
.hero-banner--photo .hero-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,45,0.45) 0%, rgba(10,22,45,0.72) 100%);
  padding: 2.5rem 1.5rem;
}
.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  z-index: 1;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1rem;
}
.hero-title--script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 4.75rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Category Hero */
.category-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3560 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.category-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

/* ── Opt-in Bar ── */
.optin-bar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.875rem 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.optin-bar-text {
  color: rgba(255,255,255,0.92);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}
.optin-bar-btn {
  background: var(--gold);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.optin-bar-btn:hover { opacity: 0.88; }

/* ── Featured Post ── */
.featured-post {
  max-width: var(--max-w);
  margin: 3.5rem auto;
  padding: 0 1.5rem;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.featured-content {
  padding: 2.5rem;
}
.featured-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0.6rem 0 1rem;
}
.featured-title a { text-decoration: none; color: var(--navy); }
.featured-title a:hover { color: var(--navy-light); }
.featured-excerpt {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.featured-meta { margin-bottom: 1.5rem; }
.featured-meta time { font-size: 0.875rem; color: var(--text-muted); }

/* ── Section Layout ── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.posts-grid-section { padding: 2rem 0 3rem; }
.section-title {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── Post Grid ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.posts-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.post-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-image-link { display: block; overflow: hidden; }
.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s;
}
.post-card:hover .card-image { transform: scale(1.04); }
.card-content { padding: 1.375rem; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0.4rem 0 0.6rem;
}
.card-title a { text-decoration: none; color: var(--navy); }
.card-title a:hover { color: var(--navy-light); }
.card-excerpt { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 0.75rem; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.card-meta time { font-size: 0.8rem; color: var(--text-light); }
.card-read-more { font-size: 0.85rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.card-read-more:hover { color: var(--navy); }

/* ── Post Category Badge ── */
.post-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  text-decoration: none;
}

/* ── Categories Section ── */
.categories-section { padding: 2rem 0 4rem; }
.categories-grid { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.category-pill {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.category-pill:hover { background: var(--navy); color: var(--white); }

/* ── Post Article ── */
.post-article { }
.post-hero { max-height: 520px; overflow: hidden; }
.post-hero-img { width: 100%; height: 520px; object-fit: cover; }
.image-credit { text-align: center; font-size: 0.78rem; color: var(--text-light); padding: 0.35rem 0; }

.post-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.post-header { margin-bottom: 2.5rem; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.post-meta time { font-size: 0.875rem; color: var(--text-muted); }
.post-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 1rem;
}
.post-excerpt {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Prose (Article Body) ── */
.prose { font-size: 1.0625rem; line-height: 1.78; color: var(--text); }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.prose p { margin-bottom: 1.4rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,168,76,0.06);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.prose img {
  border-radius: var(--radius);
  margin: 1.5rem auto;
  box-shadow: var(--shadow-sm);
}
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose strong { color: var(--navy); }
.prose code {
  background: rgba(27,58,107,0.07);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose pre {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}
.prose hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5rem 0;
}

/* ── Post CTA Box ── */
.post-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2547 100%);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.cta-headline {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-sub { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; font-size: 1rem; }

/* ── Related Posts ── */
.related-posts {
  background: var(--white);
  padding: 3rem 0;
  margin-top: 2rem;
}

/* ── Newsletter ── */
.newsletter-section {
  background: linear-gradient(135deg, #0f2547 0%, var(--navy) 100%);
  padding: 4rem 1.5rem;
}
.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-title {
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.newsletter-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nl-input {
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9375rem;
  width: 220px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
}
.nl-input:focus { outline: 2px solid var(--gold); }
.nl-btn {
  padding: 0.7rem 1.75rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-btn:hover { background: var(--gold-light); }
.newsletter-success { color: var(--gold-light); font-size: 1rem; margin-top: 1rem; }

/* ── Footer ── */
.site-footer {
  background: #0d1f3c;
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-logo-img {
  height: 1.5rem;
  max-height: 1.5rem;
  width: auto;
  display: block;
  opacity: 0.9;
}
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-link { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-link:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-contact-name { color: var(--white); font-size: 0.95rem; font-weight: 600; margin: 0; }
.footer-contact-info { color: #ffffff; font-size: 0.875rem; margin: 0; }
.footer-contact-info a { color: inherit; text-decoration: none; }
.footer-contact-info a:hover { color: var(--gold-light); }
.footer-copy { color: #ffffff; font-size: 0.8rem; }

/* ── Pagination ── */
.pagination {
  display: flex;
  gap: 0.375rem;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.page-btn:hover:not(.page-btn-disabled):not(.page-btn-active) {
  background: var(--navy);
  color: var(--white);
}
.page-btn-active {
  background: var(--navy);
  color: var(--white);
  cursor: default;
}
.page-btn-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.page-prev, .page-next { min-width: auto; padding: 0 0.875rem; }
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
/* legacy alias kept for any remaining use */
.page-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.page-link:hover { background: var(--navy); color: var(--white); }
.page-info { color: var(--text-muted); font-size: 0.9rem; }

/* ── Misc ── */
.empty-state { text-align: center; color: var(--text-muted); padding: 4rem 0; font-size: 1.1rem; }

/* ── Post Byline ── */
.post-byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}
.byline-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.byline-name { font-weight: 600; color: var(--navy); }
.byline-sep { color: var(--text-light); }
.byline-role { color: var(--text-muted); }

/* ── Category CTA spacing ── */
.category-cta-section { padding: 0 0 3rem; }
.category-cta-section .section-inner { max-width: 700px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Inline mid-article CTA ── */
.inline-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  margin: 2.5rem 0;
  text-align: center;
}
.inline-cta-box .cta-headline { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 0.5rem; }
.inline-cta-box .cta-sub { color: rgba(255,255,255,0.80); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ── Mobile sticky CTA ── */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.875rem 1rem;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  z-index: 200;
  text-align: center;
}
.sticky-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.65rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.sticky-cta-btn:hover { background: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .featured-inner { grid-template-columns: 1fr; }
  .featured-image img { height: 280px; }
  .featured-content { padding: 1.5rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 0.75rem; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .nl-input { width: 100%; max-width: 320px; }
  .post-hero-img { height: 300px; }
  .sticky-cta-mobile { display: block; }
  /* Add bottom padding so content isn't hidden behind sticky bar on article pages */
  body:has(.sticky-cta-mobile) .site-footer { padding-bottom: 5rem; }
}
/* ── Mobile nav toggle button ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 480px) {
  .hero-banner:not(.hero-banner--photo) { padding: 3rem 1rem; }
  .hero-banner--photo { height: clamp(220px, 60vw, 580px); }
  .hero-title { font-size: 1.75rem; }
  .header-inner { padding: 0 1rem; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    order: 3;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav .nav-link { padding: 0.55rem 0; font-size: 1rem; width: 100%; }
}

/* ─── Contact Modal ──────────────────────────────────────────────────────────── */
.cmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 107, 0.65);
  backdrop-filter: blur(3px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cmodal-box {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 3.5rem 2.5rem 3.5rem;
  position: relative;
}
.cmodal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.cmodal-close:hover { color: var(--navy); }
.cmodal-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.cmodal-sub {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.cmodal-form { display: flex; flex-direction: column; gap: 1rem; }
.cmodal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cmodal-field { display: flex; flex-direction: column; gap: 0.35rem; }
.cmodal-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cmodal-required label::after { content: " *"; color: var(--gold); }
.cmodal-field input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cmodal-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}
.cmodal-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  color: #b91c1c;
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
}
.cmodal-submit {
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
}
.cmodal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.cmodal-success {
  text-align: center;
  padding: 2rem 1rem;
}
.cmodal-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.cmodal-success h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.cmodal-success p { color: var(--text-muted); line-height: 1.6; }

/* Sticky CTA button style */
.sticky-cta-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.sticky-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cmodal-box { padding: 2rem 1.5rem 1.5rem; }
  .cmodal-row { grid-template-columns: 1fr; }
  .cmodal-title { font-size: 1.4rem; }
}
