/* ===================================
   DOCTR — Global Styles
   Brand: Deep Teal #0B6B5E, Warm Coral #E8593C
   Font: Inter (brand standard)
   =================================== */

:root {
  --teal: #0B6B5E;
  --teal-dark: #084D44;
  --teal-light: #0E8A79;
  --coral: #E8593C;
  --coral-light: #FF7A5C;
  --white: #FFFFFF;
  --off-white: #F7F9F8;
  --gray-100: #EEF1F0;
  --gray-200: #D4DAD8;
  --gray-400: #8A9694;
  --gray-600: #4A5553;
  --gray-800: #1E2D2A;
  --dark-bg: #0C1F1B;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --max-width: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Typography === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--gray-800); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { max-width: 64ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 31, 27, 0.88) 0%,
    rgba(11, 107, 94, 0.7) 50%,
    rgba(12, 31, 27, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 0;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero h1 .accent {
  color: var(--coral);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero .email-note {
  color: rgba(255, 255, 255, 0.55);
}

.hero .eyebrow {
  color: var(--coral-light);
}

.hero .email-capture input[type="email"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero .email-capture input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero .email-capture input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
}

/* === Image Feature Section === */
.img-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}

.img-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.img-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 31, 27, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.img-feature-overlay p {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 100%;
}

/* === Email Capture === */
.email-capture {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-bottom: 1rem;
}

.email-capture input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.15rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.email-capture input[type="email"]::placeholder {
  color: var(--gray-400);
}

.email-capture input[type="email"]:focus {
  border-color: var(--teal);
}

.email-capture .btn {
  white-space: nowrap;
}

.email-note {
  font-size: 0.825rem;
  color: var(--gray-400);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #d14a2f;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 89, 60, 0.3);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(11, 107, 94, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* === Section Styles === */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-teal h2,
.section-teal h3 {
  color: var(--white);
}

.section-teal p {
  color: rgba(255, 255, 255, 0.85);
}

.section-light {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin: 1rem auto 0;
  color: var(--gray-600);
}

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(11, 107, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === Hawaiʻi Highlight === */
.highlight-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight-block .text-side h2 {
  margin-bottom: 1rem;
}

.highlight-block .text-side p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.highlight-visual {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.highlight-visual.has-img {
  background-size: cover;
  background-position: center;
}

.highlight-visual.has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 107, 94, 0.85) 0%, rgba(8, 77, 68, 0.75) 100%);
}

.highlight-visual > * {
  position: relative;
  z-index: 1;
}

.highlight-visual .stat {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.highlight-visual .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .highlight-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === Contact Form === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* === Footer === */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
}

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.35s; }
.fade-up-d4 { animation-delay: 0.5s; }

/* === Page Header (inner pages) === */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--off-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header.has-bg {
  background-size: cover;
  background-position: center;
}

.page-header.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 31, 27, 0.8) 0%,
    rgba(11, 107, 94, 0.65) 100%
  );
}

.page-header.has-bg .container {
  position: relative;
  z-index: 1;
}

.page-header.has-bg h1,
.page-header.has-bg p,
.page-header.has-bg .eyebrow {
  color: var(--white);
}

.page-header.has-bg .eyebrow {
  color: var(--coral-light);
}

.page-header.has-bg p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.85);
}

.page-header .eyebrow {
  margin-bottom: 1rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* === Utility === */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* === Split Image Section === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.split-section .split-img {
  overflow: hidden;
}

.split-section .split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-section .split-text {
  display: flex;
  align-items: center;
  padding: 3rem 4rem;
}

@media (max-width: 768px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section .split-img {
    max-height: 280px;
  }
  .split-section .split-text {
    padding: 2.5rem 1.5rem;
  }
}

/* === Legal Pages === */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--gray-800);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--gray-800);
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 100%;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Trademark Notice === */
.trademark-notice {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
  max-width: 100%;
}

.trademark-notice a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trademark-notice a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* === Form Privacy Note === */
.form-privacy-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 0.75rem;
}

.form-privacy-note a {
  color: var(--gray-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy-note a:hover {
  color: var(--teal);
}
