/* Otter Topia — Custom Marine Redesign
   Palette: Deep Ocean Blue, Aqua Cyan, Sandy Gold, Soft Ice, Dark Navy Text */
:root {
  --primary: #06b6d4;
  --primary-hover: #0891b2;
  --primary-dark: #0e7490;
  --accent: #ca8a04;
  --accent-light: #eab308;
  --bg-ice: #f0fdfa;
  --bg-soft: #ccfbf1;
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --radius: 20px;
  --radius-sm: 10px;
  --maxw: 1100px;
  --font-sans: 'Outfit', sans-serif;
  --font-title: 'Fredoka', sans-serif;
  --shadow: 0 10px 25px rgba(14, 116, 144, 0.05);
  --shadow-lg: 0 20px 45px rgba(14, 116, 144, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-ice);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-ice);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-inner .badge {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-inner .badge strong {
  color: var(--accent-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--cyan {
  background: var(--primary);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.25);
}

.btn--cyan:hover {
  background: var(--primary-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: #fff;
  color: var(--text-dark);
  border-color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 253, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--border);
  height: 80px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand img {
  height: 48px;
  width: auto;
  border-radius: 0;
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-hover);
  background: var(--bg-soft);
}

.nav-mobile-phone,
.nav-mobile-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 24px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(100px, 14vw, 180px) 0 clamp(130px, 18vw, 200px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(14, 116, 144, 0.72)), url('../img/collie_coburn.webp') no-repeat center center/cover;
  overflow: hidden;
}

.hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.2);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Split Columns */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--text-dark);
}

.checklist svg {
  color: var(--primary-hover);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Step Progression list */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.step .n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p a {
  color: var(--primary-dark);
  text-decoration: underline;
  font-weight: 600;
}

.step p a:hover {
  color: var(--primary-hover);
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-grid figure:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Reschedule / Warning Card */
.warning-card {
  background: #fef3c7;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  margin: 30px 0;
  font-size: 0.95rem;
}

.warning-card strong {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), #083344);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
}

.cta-band a:not(.btn) {
  color: var(--primary);
  font-weight: 700;
}

/* Interior Page Hero */
.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-ice) 100%);
  border-bottom: 1.5px solid var(--border);
  padding: 70px 0;
}

.crumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.crumb a {
  color: var(--primary-dark);
}

.crumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  margin-bottom: 6px;
}

/* Footer Section */
.site-footer {
  background: var(--text-dark);
  color: #cbd5e1;
  padding: 70px 0 25px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.12);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.4);
}

.footer-credit a {
  color: var(--primary);
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .steps,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 76px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-ice);
    border-bottom: 1.5px solid var(--border);
    padding: 20px;
    gap: 10px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  .nav-links.open .nav-mobile-phone,
  .nav-links.open .nav-mobile-cta {
    display: block;
    width: 100%;
    list-style: none;
  }
  .nav-links.open .nav-mobile-phone {
    border-top: 1.5px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
  }
  .nav-links.open .nav-mobile-phone a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    color: var(--primary);
  }
  .nav-links.open .nav-mobile-cta {
    padding: 8px 0 4px;
    border-top: 1.5px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.open .nav-mobile-cta .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Redesign Enhancements */

/* Gold Accent Button */
.btn--accent {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(202, 138, 4, 0.25);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(202, 138, 4, 0.35);
}

/* SVG Wave Divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: clamp(20px, 5vw, 60px);
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.hero-stats > div {
  flex: 1;
}

.hero-stats .num {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.hero-stats .lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust Band */
.trust {
  background: var(--bg-soft);
  border-bottom: 1.5px solid var(--border);
  padding: 20px 0;
  position: relative;
  z-index: 3;
}

.trust ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.trust svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Grid & Cards Styling */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 0;
}

.card .checklist {
  margin: 12px 0 0 0;
}

/* Featured Policy Panel */
.panel {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 6px solid var(--primary);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 50px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Lightbox Modal */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.95);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  max-width: min(92vw, 1200px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  width: 100%;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.lightbox-caption[hidden] {
  display: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  transform: scale(1.05);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* Additional Responsive Queries for Redesign */
@media (max-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
    padding-top: 24px;
  }
  
  .trust ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}
