/* WIMPER Hawaii - Brand Styles (based on WIMPER Institute) */
:root {
  /* Brand Colors */
  --color-wimper-navy: #1a365d;
  --color-blaze: #FF6700;
  --color-blaze-hover: #FF7619;
  --color-blaze-light: #FFB380;
  --color-green: #1abd5e;
  --color-teal: #0891b2;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-light-gray: #f8f9fa;
  --color-border: hsl(0, 0%, 88%);
  --color-text: #000000;
  --color-text-light: hsl(0, 0%, 45%);
  --color-link-hover: hsl(47, 80%, 60%);
  --color-blue-200: hsl(210, 65%, 97%);
  --color-blue-300: hsl(210, 65%, 91%);
  --color-blue-700: hsl(210, 65%, 48%);

  /* Typography */
  --font-title: Rubik, Chivo, Helvetica, Arial, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-mono: Inconsolata, "SFMono-Regular", Consolas, Liberation Mono, Menlo, Courier, monospace;

  /* Font Weights */
  --font-thin: 300;
  --font-normal: 400;
  --font-semibold: 500;
  --font-bold: 600;
  --font-heavy: 900;

  /* Layout */
  --container: 1200px;
  --container-prose: 680px;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Border Radius */
  --radius: 0.25rem;
  --radius-lg: 0.5rem;

  /* Header/Footer */
  --header-bg: var(--color-wimper-navy);
  --footer-bg: var(--color-wimper-navy);
  --logo-width: 200px;
  --logo-width-mobile: 160px;

  /* Leader */
  --leader-height: 500px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.5;
  font-size: 1rem;
  background: var(--color-white);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  line-height: 1.25;
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--color-light-gray); }
.section--navy {
  background: linear-gradient(135deg, var(--color-wimper-navy) 0%, #2a4a7f 100%);
  color: var(--color-white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--header-bg);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.header .container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}
.header__branding {
  text-decoration: none;
}
.header__branding:hover { text-decoration: none; }
.header__logo {
  max-width: var(--logo-width-mobile);
  height: auto;
}
.nav {
  display: none;
  list-style: none;
  padding: 16px 0;
}
.nav.open {
  display: block;
  clear: both;
  animation: slide-down 0.2s ease-out;
}
@keyframes slide-down {
  0% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.nav li {
  display: block;
  padding: 4px;
}
.nav li a {
  font-family: var(--font-sans);
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: var(--font-semibold);
  text-decoration: none;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav li a:hover {
  color: var(--color-link-hover);
}
.nav li a.active {
  color: var(--color-link-hover);
}
.nav__cta {
  background: var(--color-blaze) !important;
  color: var(--color-white) !important;
  padding: 8px 24px !important;
  border-radius: var(--radius);
  font-family: var(--font-sans) !important;
  font-weight: var(--font-bold) !important;
  transition: background 0.2s;
}
.nav__cta:hover {
  background: var(--color-blaze-hover) !important;
  color: var(--color-white) !important;
}
.burger {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding-bottom: 1.125em;
}
.burger:focus { outline: none; }

/* ============================================
   HERO / LEADER SECTION
   ============================================ */
.leader {
  margin-top: 0;
  padding-top: 0;
  height: var(--leader-height);
  position: relative;
  text-align: left;
  overflow: hidden;
  color: white;
  background-color: var(--color-wimper-navy);
  background: linear-gradient(135deg, var(--color-wimper-navy) 0%, #1e3a5f 50%, #2a4a7f 100%);
  display: block;
}
.leader-text-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  position: relative;
}
.leader-text {
  max-width: var(--container-prose);
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}
.leader-text h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: var(--font-thin);
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
  margin: 8px 0;
  opacity: 0.9;
}
.leader-text h1 {
  font-family: var(--font-title);
  line-height: 1;
  font-size: 2.25rem;
  text-shadow: 4px 4px 4px var(--color-black);
  margin-bottom: 0;
  color: white;
}
.leader-text p {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.25;
  margin: 24px 0 32px 0;
  text-shadow: 2px 2px 2px var(--color-black);
  opacity: 0.9;
}
.leader-text .btn {
  text-shadow: none;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

/* Leader with cover image */
.leader--has-image {
  background-color: var(--color-black);
}
.leader__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.leader__image {
  width: 100%;
  height: var(--leader-height);
  overflow: hidden;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.4) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.4) 100%);
}

/* Page leader (shorter, for inner pages) */
.leader--page {
  --leader-height: 300px;
}
.leader--page .leader-text h1 {
  font-size: 2.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  padding: 0.5rem 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  white-space: nowrap;
  background: none;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--color-text);
}
.btn:hover { text-decoration: none; }

.btn--primary,
.btn--cta {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  font-family: var(--font-mono);
  background: var(--color-blaze);
  border-color: var(--color-blaze);
  color: var(--color-white) !important;
}
.btn--primary:hover,
.btn--cta:hover {
  background: var(--color-blaze-hover);
}
.btn--primary::after,
.btn--cta::after {
  content: "\2192";
  margin-left: 16px;
}

.btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
}
.btn--secondary:hover {
  border-color: white;
  color: white;
}

.btn--green {
  font-size: 1.25rem;
  font-weight: var(--font-semibold);
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white) !important;
}
.btn--green:hover {
  background: #15a352;
}
.btn--green::after {
  content: "\2192";
  margin-left: 16px;
}

.btn--outlined {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--outlined:hover {
  border-color: var(--color-wimper-navy);
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.leader-text .btn-group { justify-content: flex-start; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 {
  font-family: var(--font-title);
  color: var(--color-wimper-navy);
  margin-bottom: 12px;
  font-size: 1.125rem;
}
.card p { color: var(--color-text-light); font-size: 0.9375rem; line-height: 1.6; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* ============================================
   VALUE PROPS
   ============================================ */
.value-list { list-style: none; max-width: 700px; margin: 0 auto; }
.value-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.value-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

/* ============================================
   USPS / PROTOCOL
   ============================================ */
.usp-container {
  background: #f8fafc;
  padding: 80px 0;
  text-align: center;
}
.usps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
}
.usp-box {
  background: white;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.usp-box h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-wimper-navy);
  margin-bottom: 12px;
}
.usp-box p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator {
  background: var(--color-white);
  border: 2px solid var(--color-wimper-navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
}
.calculator h2 {
  font-family: var(--font-title);
  color: var(--color-wimper-navy);
  text-align: center;
  margin-bottom: 24px;
}
.calculator label {
  display: block;
  font-weight: var(--font-bold);
  margin-bottom: 6px;
  font-size: 0.875rem;
}
.calculator input[type="number"],
.calculator input[type="range"] { width: 100%; margin-bottom: 20px; }
.calculator input[type="number"] {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
}
.calculator .result {
  background: var(--color-light-gray);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 16px;
}
.calculator .result .amount {
  font-size: 2rem;
  font-weight: var(--font-heavy);
  color: var(--color-green);
  font-family: var(--font-title);
}
.calculator .result .label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   FAQ
   ============================================ */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  font-weight: var(--font-bold);
  font-family: var(--font-title);
  cursor: pointer;
  background: var(--color-light-gray);
}
.faq details[open] summary { border-bottom: 1px solid var(--color-border); }
.faq details div { padding: 16px 20px; }

/* ============================================
   BLOG
   ============================================ */
.blog-list { list-style: none; }
.blog-list li { padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.blog-list h3 { margin-bottom: 8px; }
.blog-list h3 a { color: var(--color-wimper-navy); }
.blog-list h3 a:hover { color: var(--color-blaze); }
.blog-list .meta { font-size: 0.8125rem; color: var(--color-text-light); margin-bottom: 8px; }

/* Blog content prose styling */
.blog-content h2 {
  font-family: var(--font-title);
  color: var(--color-wimper-navy);
  margin-top: 48px;
  margin-bottom: 16px;
}
.blog-content h3 {
  font-family: var(--font-title);
  color: var(--color-wimper-navy);
  margin-top: 32px;
  margin-bottom: 12px;
}
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol { margin-bottom: 16px; padding-left: 24px; }
.blog-content li { margin-bottom: 8px; }
.blog-content strong { font-weight: var(--font-bold); }

/* ============================================
   CTA BOOKING SECTION
   ============================================ */
.cta-booking {
  background: linear-gradient(135deg, var(--color-wimper-navy) 0%, #2a4a7f 100%);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}
.cta-booking h2 {
  font-family: var(--font-title);
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-booking p {
  opacity: 0.9;
  margin-bottom: 24px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-optin {
  background: var(--color-light-gray);
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 24px;
  font-size: 0.875rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-blaze);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 32px;
}
.footer h4 {
  font-family: var(--font-title);
  color: white;
  font-size: 1.125rem;
  font-weight: var(--font-semibold);
  margin-bottom: 12px;
  margin-top: 0;
}
.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}
.footer__disclaimer {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 12px;
  line-height: 1.4;
  text-align: center;
}
.footer__logo {
  max-width: 160px;
  margin-bottom: 16px;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  text-align: center;
  color: var(--color-wimper-navy);
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-size: 1.75rem;
}

/* ============================================
   PANELS (uniform card grid for list pages)
   ============================================ */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.panel {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.panel:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blaze);
  transform: translateY(-2px);
  color: inherit;
}
.panel__cover {
  height: 180px;
  overflow: hidden;
  background: var(--color-light-gray);
}
.panel__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.panel__meta {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.panel__title {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  color: var(--color-wimper-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.panel__desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.panel__link {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-blaze);
  font-weight: var(--font-semibold);
  margin-top: auto;
}
.panel:hover .panel__link {
  color: var(--color-blaze-hover);
}

/* Tag pills */
.tag-pill {
  display: inline-block;
  padding: 4px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  font-size: 0.8125rem;
  color: var(--color-wimper-navy);
  text-decoration: none;
  transition: all 0.2s;
}
.tag-pill:hover {
  border-color: var(--color-blaze);
  color: var(--color-blaze);
}

/* Blog content tables */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}
.blog-content th,
.blog-content td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
}
.blog-content th {
  background: var(--color-light-gray);
  font-weight: var(--font-bold);
  color: var(--color-wimper-navy);
}
.blog-content blockquote {
  border-left: 4px solid var(--color-blaze);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--color-light-gray);
  color: var(--color-text-light);
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media screen and (min-width: 40rem) {
  :root {
    --leader-height: 600px;
  }
  .leader-text h1 {
    font-size: 3.5rem;
  }
  .leader-text h3 {
    font-size: 1.5rem;
  }
  .leader__image {
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
  }
  .usps {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 72rem) {
  .header__logo {
    max-width: var(--logo-width);
  }
  .header .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }
  .nav {
    display: block;
    text-align: right;
    padding: 0;
  }
  .nav li {
    display: inline-block;
  }
  .burger {
    display: none;
  }
  .usps {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-wimper-navy);
    padding: 16px 24px;
    gap: 12px;
  }
  .nav.open { display: flex; }
  .burger { display: block; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .leader-text h1 { font-size: 1.75rem; }
  .leader-text h3 { font-size: 1rem; }
  .leader-text p { font-size: 1rem; }
}
