/* ==========================================================================
   Adriatic Pearl Pro Theme Stylesheet
   Vaulttickertonictrailis.com - Croatia Island-Hopping Guide
   ========================================================================== */

:root {
  --pearl-white: #f8fafc;
  --pearl-subtle: #f1f5f9;
  --pearl-card-bg: #ffffff;
  --turquoise-light: #e6fffa;
  --turquoise-primary: #0d9488;
  --turquoise-dark: #0f766e;
  --turquoise-vivid: #14b8a6;
  --turquoise-deep: #115e59;
  --sunset-orange: #ea580c;
  --sunset-soft: #ffedd5;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  --shadow-pearl: 0 10px 25px -5px rgba(13, 148, 136, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-pro-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-pro-hover: 0 22px 35px -8px rgba(13, 148, 136, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--pearl-white);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--sunset-orange);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6, .brand-text, nav a {
  overflow-wrap: anywhere;
  color: var(--text-main);
  line-height: 1.25;
}

h1 { font-size: clamp(2.1rem, 3.8vw + 1rem, 3.25rem); margin-bottom: var(--space-4); letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.25rem); margin-bottom: var(--space-3); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.4vw + 0.5rem, 1.45rem); margin-bottom: var(--space-2); letter-spacing: -0.015em; font-weight: 700; }
p { margin-bottom: var(--space-3); color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--turquoise-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--sunset-orange);
}

.min-shrink {
  min-width: 0;
}

/* Header */
.site-header {
  height: 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  min-width: 0;
}
.logo-link:hover {
  color: var(--turquoise-dark);
}
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.brand-accent {
  color: var(--turquoise-primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: var(--turquoise-dark);
}

.header-cta {
  background-color: var(--sunset-orange);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
}
.header-cta:hover {
  background-color: #c2410c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.mobile-drawer {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  padding: var(--space-4);
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 99;
  border-top: 1px solid var(--border-light);
  overflow-y: auto;
}
.mobile-drawer.is-visible {
  display: flex;
}
.mobile-drawer a {
  font-size: 1.05rem;
  padding: var(--space-2) 0;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--pearl-subtle);
  font-weight: 600;
}
.mobile-drawer a:hover {
  color: var(--turquoise-primary);
}

/* Layout Container */
.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4) var(--space-6);
  width: 100%;
  flex: 1;
}

/* ==========================================================================
   HERO SECTION (High-Performance Maritime Visual Architecture)
   ========================================================================== */
.hero-pearl {
  background: radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.12), transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(234, 88, 12, 0.07), transparent 35%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid rgba(203, 213, 225, 0.7);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-pearl);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--turquoise-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--turquoise-primary);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

/* Quick Metrics Row below Hero Actions */
.hero-quick-metrics {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.metric-separator {
  width: 1px;
  height: 28px;
  background-color: var(--border-light);
}

/* Hero Image Card Showcase */
.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.05);
}

.hero-image-wrap {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background-color: var(--pearl-subtle);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 100%);
  pointer-events: none;
}

.hero-overlay-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-floating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 20px -4px rgba(15, 23, 42, 0.08);
  margin-top: 10px;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--turquoise-light);
  color: var(--turquoise-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.floating-badge-text strong {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 700;
}

.floating-badge-text span {
  font-size: 0.76rem;
  color: var(--text-light);
}

/* Button Components */
.btn-primary {
  background-color: var(--turquoise-primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}
.btn-primary:hover {
  background-color: var(--turquoise-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: #ffffff;
  border-color: var(--turquoise-primary);
  color: var(--turquoise-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   NEW PRO CARD DESIGN
   Clean, high-end editorial look with glassmorphic badges, micro-specs,
   interactive hover depth, and balanced typographic hierarchy.
   ========================================================================== */
.guides-section {
  margin-bottom: var(--space-6);
}

.section-intro-block {
  max-width: 760px;
  margin-bottom: var(--space-5);
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--turquoise-dark);
  background: var(--turquoise-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

.pro-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-5);
}

.pro-route-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-pro-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  height: 100%;
  position: relative;
}

.pro-route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pro-hover);
  border-color: rgba(13, 148, 136, 0.4);
}

/* Card Image & Badges */
.pro-card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--pearl-subtle);
}

.pro-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pro-route-card:hover .pro-card-image-container img {
  transform: scale(1.04);
}

.pro-badge-primary {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.pro-badge-meta {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--turquoise-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

/* Card Body */
.pro-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pro-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sunset-orange);
  margin-bottom: var(--space-2);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--sunset-orange);
  display: inline-block;
}

.pro-card-title {
  margin-bottom: var(--space-2);
}

.pro-card-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

.pro-card-title a:hover {
  color: var(--turquoise-dark);
}

.pro-card-excerpt {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: var(--space-4);
}

/* Route Specs Micro-Row */
.pro-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-4);
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pearl-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.spec-pill svg {
  color: var(--turquoise-primary);
  flex-shrink: 0;
}

/* Card Action Footer */
.pro-card-footer {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
}

.pro-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--turquoise-dark);
  text-decoration: none;
  padding: 8px 12px;
  background-color: var(--pearl-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.pro-card-cta svg {
  transition: transform 0.2s ease;
}

.pro-card-cta:hover {
  background-color: var(--turquoise-light);
  color: var(--turquoise-deep);
  border-color: rgba(13, 148, 136, 0.3);
}

.pro-card-cta:hover svg {
  transform: translateX(4px);
}

/* Supporting Information Section */
.supporting-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-pearl);
}

.supporting-intro {
  max-width: 800px;
  margin-bottom: var(--space-4);
}

.supporting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.info-box {
  background: var(--pearl-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.info-box:hover {
  border-color: var(--border-subtle);
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.info-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.info-box h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
}

/* Sub-page Article Layout */
.article-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-pearl);
}

.article-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-5);
}

.article-breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.article-breadcrumbs a {
  color: var(--turquoise-dark);
  text-decoration: none;
}
.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.article-content h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
  color: var(--text-main);
}

.article-content h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--text-main);
}

.article-content ul, .article-content ol {
  margin: var(--space-3) 0 var(--space-4) var(--space-4);
  padding-left: var(--space-2);
}

.article-content li {
  margin-bottom: var(--space-2);
}

/* Comparison Spec Tables */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-4) 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 520px;
  background: #ffffff;
}

.spec-table th, .spec-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.spec-table th {
  background: var(--pearl-subtle);
  color: var(--text-main);
  font-weight: 700;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* Pros and Cons Box */
.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.pro-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.con-card {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.pro-card h4 {
  color: #166534;
  margin-bottom: var(--space-2);
}

.con-card h4 {
  color: #9f1239;
  margin-bottom: var(--space-2);
}

/* Contact Form & Static Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--turquoise-primary);
  outline: 3px solid rgba(13, 148, 136, 0.25);
}

.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 600;
}

.field-error.is-visible {
  display: block;
}

.form-status {
  display: none;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.form-status.success {
  display: block;
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.static-map-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-svg-placeholder {
  width: 100%;
  height: 220px;
  background: #ffffff;
  border: 1px dashed var(--turquoise-primary);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--turquoise-dark);
  margin-top: var(--space-3);
  text-align: center;
  padding: var(--space-3);
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: var(--space-6) var(--space-4) var(--space-5);
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-5);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-legal-details {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--turquoise-dark);
}

.footer-bottom {
  max-width: 1240px;
  margin: var(--space-5) auto 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 2px solid var(--turquoise-primary);
  box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: var(--space-4);
  z-index: 1000;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1 1 500px;
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--turquoise-primary);
  color: #ffffff;
  border: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-cookie-accept:hover {
  background: var(--turquoise-dark);
}

.btn-cookie-reject {
  background: var(--pearl-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-cookie-reject:hover {
  background: #e2e8f0;
}

.btn-cookie-pref {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border-light);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-cookie-pref:hover {
  color: var(--text-main);
  border-color: var(--turquoise-dark);
}

/* Modal Preferences */
.pref-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.pref-modal-overlay.is-visible {
  display: flex;
}
.pref-modal {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  padding: var(--space-5);
  box-shadow: var(--shadow-pearl);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .pro-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }
  .nav-desktop, .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .page-container {
    padding: var(--space-4) var(--space-3);
  }
  .hero-pearl {
    padding: var(--space-4) var(--space-3);
  }
  .pro-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .hero-quick-metrics {
    gap: var(--space-2);
  }
  .metric-separator {
    display: none;
  }
  .metric-item {
    width: 100%;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-light);
  }
  .metric-item:last-child {
    border-bottom: none;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}