/* ==========================================================================
   Nikolaos Eleftheriou — Clinical Dietitian Website
   Apple 2026 Design System
   ========================================================================== */

/* ---------- Font Face ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary — Brand Navy (from logo/business card) */
  --color-primary: #1B2D3E;
  --color-primary-light: #243C50;
  --color-primary-rgb: 27, 45, 62;

  /* Secondary — Brand Light Blue (from logo) */
  --color-secondary: #E8F1F5;
  --color-secondary-mid: #7BA7BC;

  /* Accent — Brand Teal-Blue (from logo heartbeat) */
  --color-accent: #5A9AB5;
  --color-accent-light: #E8F1F5;
  --color-accent-dark: #3D7A94;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #FAFBFC;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #F1F3F5;
  --color-gray-200: #E9ECEF;
  --color-gray-400: #ADB5BD;
  --color-gray-600: #6C757D;
  --color-gray-800: #343A40;
  --color-gray-900: #212529;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(27, 45, 62, 0.06);
  --glass-blur: 20px;

  /* Typography Scale */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --fs-display: clamp(2.75rem, 5.5vw, 5rem);
  --fs-h1: clamp(2.25rem, 4vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.1vw, 1.125rem);
  --fs-body-lg: clamp(1.125rem, 1.4vw, 1.375rem);
  --fs-small: clamp(0.8125rem, 0.9vw, 0.9375rem);
  --fs-label: clamp(0.75rem, 0.85vw, 0.875rem);

  /* Spacing */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(1.5rem, 3vw, 2.5rem);
  --space-lg: clamp(3rem, 6vw, 5rem);
  --space-xl: clamp(5rem, 10vw, 8rem);
  --space-section: clamp(5rem, 10vw, 8rem);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s var(--ease-out-expo);
  --transition-fast: 0.3s var(--ease-out-expo);

  /* Layout */
  --nav-height: 72px;
  --max-width: 1200px;
  --content-padding: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

/* Safe area for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .hero {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer {
    padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
  }

  .nav__links {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-small);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

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

.section--alt {
  background-color: var(--color-gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(90, 154, 181, 0.35);
}

.btn--primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 24px rgba(90, 154, 181, 0.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--nav {
  padding: 10px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--fs-label);
}

.btn--nav:hover {
  background: var(--color-accent-dark);
}

.btn--full {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.01);
  transition: all var(--transition-fast);
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 24px rgba(27, 45, 62, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-secondary-mid);
  transition: color var(--transition-fast);
}

.nav.scrolled .nav__logo-icon {
  color: var(--color-primary);
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__logo-name {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.nav__logo-title {
  font-size: var(--fs-label);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.2;
  transition: color var(--transition-fast);
}

.nav.scrolled .nav__logo-name {
  color: var(--color-primary);
}

.nav.scrolled .nav__logo-title {
  color: var(--color-gray-600);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
}

.nav__links a {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a:not(.btn):hover {
  color: var(--color-white);
}

.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width var(--transition-fast);
}

.nav__links a:not(.btn):hover::after {
  width: 100%;
}

.nav.scrolled .nav__links a:not(.btn) {
  color: var(--color-gray-600);
}

.nav.scrolled .nav__links a:not(.btn):hover {
  color: var(--color-primary);
}

/* Mobile Menu Header (hidden on desktop) */
.nav__mobile-header {
  display: none;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav.scrolled .nav__toggle span {
  background: var(--color-primary);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #141F2B 0%,
    var(--color-primary) 35%,
    var(--color-primary-light) 65%,
    #2A4A5E 100%
  );
  z-index: -1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 154, 181, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(123, 167, 188, 0.08) 0%, transparent 50%);
}

.hero__content {
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--content-padding) var(--space-lg);
  max-width: 900px;
}

.hero__logo {
  width: clamp(80px, 12vw, 120px);
  height: auto;
  margin: 0 auto var(--space-md);
  color: var(--color-secondary-mid);
  opacity: 0.85;
}

.hero__label {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero__title-accent {
  display: block;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ==========================================
   ABOUT
   ========================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(27, 45, 62, 0.12);
}

.about__content .section__label {
  text-align: left;
}

.about__content .section__title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.about__text p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-body);
  line-height: 1.8;
}

.about__text p:last-child {
  margin-bottom: var(--space-md);
}

.about__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.credential {
  display: inline-flex;
  padding: 8px 18px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: var(--fs-label);
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.01em;
  border: 1px solid rgba(123, 167, 188, 0.2);
}

/* ==========================================
   SERVICES
   ========================================== */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(27, 45, 62, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
}

.service-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: var(--fs-small);
  color: var(--color-gray-600);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  font-size: var(--fs-small);
  color: var(--color-gray-800);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ==========================================
   PHILOSOPHY
   ========================================== */
.philosophy__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__quote {
  font-size: var(--fs-body-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.philosophy__quote strong {
  color: var(--color-primary);
  font-weight: 700;
}

.philosophy__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: var(--space-lg);
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy__point {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-body);
  color: var(--color-gray-800);
}

.philosophy__check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.philosophy__closing {
  font-size: var(--fs-body-lg);
  color: var(--color-gray-600);
  line-height: 1.7;
}

.philosophy__closing strong {
  color: var(--color-accent);
}

/* ==========================================
   FAQ
   ========================================== */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq__item:hover {
  box-shadow: 0 8px 32px rgba(27, 45, 62, 0.08);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-primary);
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--color-gray-400);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-quart), padding 0.4s var(--ease-out-quart);
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: var(--fs-small);
  color: var(--color-gray-600);
  line-height: 1.7;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.contact__card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item-label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
  margin-bottom: 2px;
}

.contact__item-value {
  font-size: var(--fs-body);
  color: var(--color-primary);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact__item-link {
  transition: color var(--transition-fast);
}

.contact__item-link:hover {
  color: var(--color-accent);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 8px 32px rgba(27, 45, 62, 0.06);
}

.contact__map iframe {
  display: block;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--color-primary);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  width: 64px;
  height: auto;
  margin: 0 auto var(--space-sm);
  color: var(--color-secondary-mid);
  opacity: 0.7;
}

.footer__name {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.footer__title {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 32px);
  margin-bottom: var(--space-md);
}

.footer__links a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

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

.footer__copy {
  font-size: var(--fs-label);
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   ANIMATIONS (Scroll Reveal)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* Hero elements animate on load (no intersection observer needed) */
.hero .reveal {
  transition-delay: 0.3s;
}

.hero .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero .reveal:nth-child(2) { transition-delay: 0.3s; }
.hero .reveal:nth-child(3) { transition-delay: 0.5s; }
.hero .reveal:nth-child(4) { transition-delay: 0.7s; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll-indicator span {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   RESPONSIVE — Tablet (768px+)
   ========================================== */
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
  }

  .about__image {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }

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

  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ==========================================
   RESPONSIVE — Desktop (1024px+)
   ========================================== */
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav__toggle {
    display: none !important;
  }
}

/* ==========================================
   RESPONSIVE — Mobile (< 1024px)
   ========================================== */
@media (max-width: 1023px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 32px) 32px 32px;
    background: var(--color-primary);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    gap: 8px;
    z-index: 999;
  }

  .nav__links.active {
    transform: translateX(0);
  }

  .nav__mobile-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .nav__mobile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .nav__mobile-title {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.3;
  }

  .nav__links a {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .nav__links .btn--nav {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  /* Overlay */
  .nav__links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(27, 45, 62, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: -1;
  }

  .nav__links.active::before {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hamburger stays white when menu is open */
  .nav__toggle.active span {
    background: var(--color-white);
  }
}

/* ==========================================
   RESPONSIVE — Small Mobile (< 480px)
   ========================================== */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .contact__map {
    min-height: 280px;
  }

  .footer__links {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================
   RESPONSIVE — Medium Mobile (< 640px)
   ========================================== */
@media (max-width: 639px) {
  .hero__title {
    line-height: 1.15;
  }

  .hero__scroll {
    bottom: 24px;
  }

  .about__image {
    aspect-ratio: 4 / 3;
  }

  .philosophy__points {
    max-width: 100%;
  }

  .faq__question {
    padding: 16px 18px;
    font-size: var(--fs-small);
  }

  .faq__answer p {
    padding: 0 18px 16px;
  }

  .contact__card {
    padding: var(--space-sm);
  }

  .section__title br {
    display: none;
  }
}

/* ==========================================
   RESPONSIVE — Large Desktop (1280px+)
   ========================================== */
@media (min-width: 1280px) {
  .hero__content {
    max-width: 1000px;
  }

  .about__grid {
    gap: var(--space-xl);
  }

  .contact__grid {
    gap: var(--space-lg);
  }
}
