/*
Theme Name: Dr. Nazmul Haider Chowdhury Sonet
Theme URI: https://drsonet.com/
Author: Antigravity Healthcare Digital
Author URI: https://drsonet.com/
Description: Premium, accessible, trustworthy, bilingual portfolio theme for Dr. Nazmul Haider Chowdhury Sonet (Pediatric Surgeon).
Version: 1.4.0
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary
Text Domain: drsonet
*/

/* ==========================================================================
   1. Design Tokens & CSS Custom Properties
   ========================================================================== */
:root {
  /* Brand Color System */
  --color-navy: #16324F;
  --color-navy-dark: #0E2135;
  --color-brand-teal: #147D83;
  --color-brand-teal-dark: #0F5B60;
  --color-brand-teal-light: #EBF6F7;
  --color-brand-teal-soft: #D5EEF0;
  
  /* Neutral Surfaces & Texts */
  --color-white: #FFFFFF;
  --color-bg-light: #F7F9FB;
  --color-bg-alt: #F0F4F8;
  --color-text-main: #243447;
  --color-text-muted: #617184;
  --color-text-subtle: #8898AA;
  --color-border: #E1E8EF;
  --color-border-subtle: #EDF2F7;
  
  /* Functional & Status Semantics */
  --color-focus: #147D83;
  --color-success: #1A7F53;
  --color-success-bg: #EDF7F2;
  --color-error: #C53030;
  --color-error-bg: #FDF2F2;
  --color-warning: #8A6110;
  --color-warning-bg: #FEF9EE;
  
  /* Typography Stacks */
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --font-bengali: 'SolaimanLipi', 'Noto Sans Bengali', 'Kalpurush', 'Hind Siliguri', 'Segoe UI', sans-serif;
  
  /* Layout Sizing & Spacing Tokens */
  --container-max: 1180px;
  --container-narrow: 860px;
  --header-height: 76px;
  
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  
  /* Shape & Elevation Tokens */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(22, 50, 79, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(22, 50, 79, 0.08), 0 2px 6px -1px rgba(22, 50, 79, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(22, 50, 79, 0.1), 0 4px 12px -2px rgba(22, 50, 79, 0.05);
  
  /* Restrained Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.2s ease-in-out;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Bengali Script Natural Rhythm */
html[lang^="bn"] body,
.lang-bn,
.font-bengali {
  font-family: var(--font-bengali);
  line-height: 1.75;
}

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

a {
  color: var(--color-brand-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-brand-teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1, h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

html[lang^="bn"] h1,
html[lang^="bn"] h2 {
  font-family: var(--font-bengali);
  letter-spacing: 0;
}

p {
  margin-bottom: 1rem;
}

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

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

/* ==========================================================================
   3. Accessibility & Keyboard Navigation
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* Universal Visible Focus Indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* Reduced Motion Preference */
@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;
  }
}

/* ==========================================================================
   4. Layout Containers & Grid Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-16) 0;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.section-tag {
  display: inline-block;
  color: var(--color-brand-teal);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* ==========================================================================
   5. Buttons & Interactive Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-brand-teal);
  color: var(--color-white) !important;
}

.btn-primary:hover {
  background-color: var(--color-brand-teal-dark);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy) !important;
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal-dark) !important;
}

.btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   6. Header & Navigation System
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(22, 50, 79, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: var(--space-4);
}

.site-brand {
  flex: 0 1 auto;
  min-width: 0;
}

.site-brand a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.brand-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-brand-teal);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-title {
  font-size: 0.78125rem;
  color: var(--color-brand-teal-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.05rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-brand-teal);
}

.site-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-teal);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid var(--color-border);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 4px;
  color: var(--color-text-muted);
  text-decoration: none;
}

.lang-btn.active {
  background-color: var(--color-white);
  color: var(--color-brand-teal);
  box-shadow: var(--shadow-sm);
}

.header-cta-btn {
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  border-radius: var(--radius-sm);
}

.mobile-nav-toggle:hover {
  background-color: var(--color-bg-light);
}

.mobile-nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   7. Homepage Hero Section
   ========================================================================== */
.hero-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 82% 8%, rgba(20, 125, 131, 0.10), transparent 42%),
    linear-gradient(180deg, var(--color-bg-light) 0%, var(--color-white) 100%);
  border-bottom: 1px solid var(--color-border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.credentials-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-brand-teal-light);
  border: 1px solid var(--color-brand-teal-soft);
  color: var(--color-brand-teal-dark);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.badge-sep {
  opacity: 0.4;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-brand-teal-dark);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.hero-location .icon {
  color: var(--color-brand-teal);
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-main);
  line-height: 1.68;
  margin-bottom: var(--space-8);
  max-width: 620px;
}

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

.profile-panel {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-brand-teal);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}

.profile-panel-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-teal-dark);
  margin-bottom: var(--space-4);
}

.profile-facts {
  margin: 0 0 var(--space-5);
  padding: 0;
}

.profile-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.profile-facts > div:last-child {
  border-bottom: 0;
}

.profile-facts dt {
  flex-shrink: 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-facts dd {
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.profile-panel .btn-block {
  margin-bottom: 0.6rem;
}

.profile-panel-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.4rem;
  color: var(--color-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.profile-panel-phone:hover {
  color: var(--color-brand-teal-dark);
}

.profile-panel-phone .icon {
  color: var(--color-brand-teal);
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.icon {
  vertical-align: -2px;
  flex-shrink: 0;
}

/* ==========================================================================
   8. Interior Page Banner & Breadcrumbs
   ========================================================================== */
.page-banner {
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-10) 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.breadcrumb-nav a {
  color: var(--color-text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--color-brand-teal);
}

.breadcrumb-sep {
  opacity: 0.5;
}

.page-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-2);
}

.page-banner-desc {
  font-size: 1.125rem;
  color: var(--color-brand-teal-dark);
  max-width: 720px;
}

/* ==========================================================================
   9. Cards, Content Boxes & Feature Lists
   ========================================================================== */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-brand-teal-light);
  color: var(--color-brand-teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.card-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Feature Check List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-3);
  font-size: 0.985rem;
  color: var(--color-text-main);
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brand-teal);
  font-weight: bold;
}

/* Informational Callout Boxes */
.callout-box {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand-teal);
  border-radius: var(--radius-sm);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
}

.callout-warning {
  background-color: var(--color-warning-bg);
  border-color: #F8E7C0;
  border-left-color: var(--color-warning);
}

.callout-warning p {
  color: var(--color-warning);
  font-size: 0.9375rem;
}

/* ==========================================================================
   10. Verified Chamber & Appointment Display
   ========================================================================== */
.chamber-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.chamber-badge {
  display: inline-block;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.chamber-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-1);
}

.chamber-facility {
  font-size: 1.05rem;
  color: var(--color-brand-teal);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.chamber-address {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.chamber-address-note {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-bottom: var(--space-5);
}

.chamber-schedule-box {
  background-color: var(--color-bg-light);
  border-left: 4px solid var(--color-brand-teal);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
}

.chamber-schedule-time {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: var(--space-1);
}

.chamber-doc-notice {
  background-color: var(--color-warning-bg);
  border: 1px solid #F8E7C0;
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
  font-size: 0.875rem;
  color: var(--color-warning);
}

.chamber-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   11. Accessible FAQ Accordion
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-brand-teal);
}

.faq-question {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 1.05rem;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--color-brand-teal);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-main);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
}

/* ==========================================================================
   12. Secure Contact Form Architecture
   ========================================================================== */
.contact-form-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-error);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-main);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(20, 125, 131, 0.15);
  outline: none;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.55;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--color-brand-teal);
  flex-shrink: 0;
}

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

.form-alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  font-size: 0.9375rem;
  display: none;
}

.form-alert-success {
  background-color: var(--color-success-bg);
  border: 1px solid #C4EBD5;
  color: var(--color-success);
}

.form-alert-error {
  background-color: var(--color-error-bg);
  border: 1px solid #F8D2D2;
  color: var(--color-error);
}

/* Invisible Honeypot anti-spam */
.website-hp-field {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* ==========================================================================
   13. Footer & Legal Information
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy);
  color: #B5C3D1;
  padding: var(--space-16) 0 var(--space-8);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-col-title {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #B5C3D1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.875rem;
  color: #8C9EAF;
}

.footer-bottom a {
  color: #8C9EAF;
}

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

/* ==========================================================================
   14. Floating Contact Action Widget
   ========================================================================== */
.floating-contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--color-white) !important;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.floating-call {
  background-color: var(--color-brand-teal);
}

.floating-call:hover {
  background-color: var(--color-brand-teal-dark);
}

.floating-wa {
  background-color: #25D366;
  color: var(--color-navy) !important;
}

.floating-wa:hover {
  background-color: #1EBE5D;
}

/* ==========================================================================
   15. Privacy, 404 & Utility Pages
   ========================================================================== */
.privacy-page h2 {
  font-size: 1.35rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-2);
}

.privacy-updated {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.privacy-note {
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-teal-soft);
  margin-bottom: var(--space-2);
}

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

.error-links h2 {
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}

.error-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
}

.error-links a {
  font-weight: 600;
}

/* ==========================================================================
   16. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1399px) {
  .header-cta-btn {
    display: none;
  }

  .floating-label {
    display: none;
  }

  .floating-btn {
    padding: 12px;
    border-radius: var(--radius-full);
  }
}

@media (max-width: 1099px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    margin-left: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) 1.5rem var(--space-6);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-1);
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-location {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .profile-panel {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

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

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .floating-contact-widget {
    bottom: 16px;
    right: 16px;
  }

  .floating-label {
    display: none;
  }

  .floating-btn {
    padding: 12px;
    border-radius: var(--radius-full);
  }
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .brand-row {
    gap: 0;
  }

  .brand-title {
    font-size: 0.72rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .lang-btn {
    min-height: 26px;
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .profile-facts > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .profile-facts dd {
    text-align: left;
  }
}

@media print {
  .site-header,
  .site-footer,
  .floating-contact-widget,
  .skip-link {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
}
