/* Phocaena Works Coaching — main stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;700&display=swap');

:root {
  --primary: rgb(55, 160, 95);
  --primary-light: rgb(175, 225, 195);
  --accent: rgb(30, 65, 130);
  --bg: #f0faf5;
  --bg-alt: #d5efe2;
  --text: #0b121a;
  --muted: #353b42;
  --shadow-dark: rgba(200, 215, 230, 0.5);
  --shadow-light: rgba(255, 255, 255, 0.85);
  --card-bg: rgba(231, 241, 252, 0.4);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul, ol { padding-left: 1.25rem; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3rem 0; }
.section-sm { padding: 1.5rem 0; }
.section-lg { padding: 5rem 0; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.col { flex: 1 1 0; min-width: 0; }
.col-half { flex: 0 0 calc(50% - 0.75rem); }
.col-third { flex: 0 0 calc(33.333% - 1rem); }
.col-two-thirds { flex: 0 0 calc(66.666% - 0.75rem); }
.col-quarter { flex: 0 0 calc(25% - 1.125rem); }

/* ── Neumorphic ── */
.neu {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  border: none;
}

.neu-inset {
  border-radius: var(--radius);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* ── Glass card ── */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease;
}

.glass:hover { transform: translateY(-6px); }

/* ── Hero gradient ── */
.hero-grad {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* ── Hex icon ── */
.hex-icon {
  width: 56px;
  height: 64px;
  background-color: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hex-icon i { font-size: 1.4rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background-color: var(--primary);
  color: #000;
  padding: 14px 28px;
}

.btn-primary:hover { background-color: rgb(35, 140, 75); color: #000; }

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 12px 24px;
  border: 2px solid var(--text);
}

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

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ── Nav ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--shadow-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand:hover { color: var(--accent); text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: block;
  font-size: 0.9rem;
}

.nav-links a:hover { background: var(--bg-alt); text-decoration: none; }
.nav-links a.active { font-weight: 700; }

/* Dropdown */
.nav-drop { position: relative; }

.nav-drop > a { cursor: pointer; }

.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 220px;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 200;
}

.drop-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: 0;
}

.drop-menu li a:hover { background: var(--bg-alt); }

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: block; }

.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Footer ── */
.site-footer {
  background: #0f1923;
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}

.site-footer h6 {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; text-decoration: none; }

.footer-divider {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-address p { margin-bottom: 0.5rem; font-size: 0.9rem; }

/* ── Hero sections ── */
.hero-split {
  padding: 4rem 0;
}

.hero-split .hero-content { max-width: 560px; }

.hero-split .hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-figure {
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  overflow: hidden;
}

.hero-figure img { width: 100%; height: auto; }

/* ── Bento grid ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-wide { grid-column: span 2; }

.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Cards / common blocks ── */
.offer-block {
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-block h3, .offer-block h4 { margin: 0; }

.program-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stat-block {
  padding: 1.5rem;
  text-align: center;
}

.stat-block .stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
}

/* ── Steppers ── */
.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.step-list li {
  position: relative;
}

.step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Testimonial ── */
.quote-block {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  margin: 0;
}

.quote-block p { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* ── FAQ accordion ── */
.faq-item {
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: none;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-q[aria-expanded="true"]::after {
  content: '−';
}

.faq-a {
  display: none;
  padding: 0.75rem 1.25rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-a.open { display: block; }

/* ── Forms ── */
.form-wrap {
  padding: 2rem;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  color: var(--text);
  resize: vertical;
}

input:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-success {
  display: none;
  background: #d4edda;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #155724;
  margin-top: 1rem;
  font-weight: 600;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--accent); }

/* ── Sidebar layout ── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.sidebar { position: sticky; top: 100px; }

/* ── Trust bar ── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--shadow-dark);
  border-bottom: 1px solid var(--shadow-dark);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
  max-width: 220px;
}

/* ── Process steps ── */
.process-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.process-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

/* ── Inline list ── */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.4rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Cookie consent banner ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  padding: 1.5rem;
  z-index: 9000;
  display: none;
}

#cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

#cookie-banner a { color: var(--accent); }

.cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.cookie-btns button {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}

#btn-accept-all { background: var(--primary); color: #000; }
#btn-reject-all { background: transparent; border-color: var(--muted); color: var(--muted); }
#btn-prefs { background: transparent; border-color: var(--accent); color: var(--accent); }

.cookie-prefs {
  display: none;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  margin-top: 0.75rem;
}

.pref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.pref-toggle {
  position: relative;
  width: 40px;
  height: 22px;
}

.pref-toggle input { opacity: 0; width: 0; height: 0; }

.pref-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.pref-slider::before {
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.pref-toggle input:checked + .pref-slider { background: var(--accent); }
.pref-toggle input:checked + .pref-slider::before { transform: translateX(18px); }
.pref-toggle input:disabled + .pref-slider { cursor: not-allowed; background: var(--accent); }

#btn-save-prefs {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ── Misc ── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.fw-bold { font-weight: 700; }
.small { font-size: 0.875rem; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.h-100 { height: 100%; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.bg-white { background: #fff; }
.overflow-hidden { overflow: hidden; }

/* ── Timeline ── */
.timeline { border-left: 2px solid var(--primary); padding-left: 1.5rem; }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
}
.timeline-item:last-child { padding-bottom: 0; }

/* ── Print ── */
@media print {
  .site-header, .site-footer, #cookie-banner, .nav-toggle { display: none; }
  body { font-size: 12pt; }
  a { color: inherit; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .process-cols { grid-template-columns: 1fr 1fr; }
  .hero-split .hero-cols { grid-template-columns: 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .drop-menu { position: static; box-shadow: none; padding-left: 1rem; }
  .nav-drop:hover .drop-menu { display: none; }
  .drop-menu.open { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .process-cols { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .col-half, .col-third, .col-two-thirds, .col-quarter { flex: 0 0 100%; }
  h1 { font-size: 1.7rem; }
}

/* min touch targets */
button, a, [role="button"] { min-height: 44px; }
nav a { min-height: unset; }
