/* ===================================================
   Ophthalmological Center Mourtzilas - v2 Styles
   =================================================== */

/* --- Design Tokens --- */
:root {
  --navy: #042f49;
  --navy-light: #0a3d5c;
  --teal: #147585;
  --teal-light: #16707e;
  --light-blue: #7ec8e3;
  --gold: #d4a843;
  --gold-hover: #c49a38;
  --gold-nav: #e8b84b;
  --white: #ffffff;
  --bg: #e8edf2;
  --bg-card: #ffffff;
  --gray-100: #f0f4f6;
  --gray-200: #dce4e8;
  --gray-300: #c5cfd6;
  --gray-400: #5c6f7d;
  --gray-600: #4a5f6d;
  --gray-800: #2c3e4a;
  --text-dark: #1a2a35;
  --text-body: #3a4f5c;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --espa-header-h: 0px;
  --espa-footer-h: 0px;
  --nav-h: 70px;

  --shadow-sm: 0 1px 3px rgba(4, 47, 73, 0.06);
  --shadow-md: 0 4px 16px rgba(4, 47, 73, 0.08);
  --shadow-lg: 0 8px 30px rgba(4, 47, 73, 0.1);
  --shadow-card: 0 2px 12px rgba(4, 47, 73, 0.06);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
  --max-w: 1140px;
}

@media (min-width: 768px) {
  :root {
    --espa-header-h: 0px;
    --espa-footer-h: 0px;
    --nav-h: 80px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--espa-header-h) + var(--nav-h) + 20px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--espa-header-h) + var(--nav-h));
  padding-bottom: var(--espa-footer-h);
}

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

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

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

/* Underline links in body content so they don't rely only on color (WCAG 1.4.1) */
p a, li a, .doctor-text a, .contact-item-text a, .hours-note a, .a11y-content a, .espa-text a,
.footer-contact-item a, .footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

ul, ol { list-style: none; }

/* --- Focus --- */
*:focus {
  outline: 3px solid #f0c040;
  outline-offset: 2px;
}

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

*:focus-visible {
  outline: 3px solid #f0c040;
  outline-offset: 2px;
}

/* --- Language Switcher --- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  font-size: 0.812rem;
  font-weight: 600;
}

.lang-switch a,
.lang-switch span {
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.75);
}

.lang-switch a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-switch .lang-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.lang-switch-divider {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.mobile-menu .lang-switch-mobile {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 0 16px;
}

.mobile-menu .lang-switch-mobile a,
.mobile-menu .lang-switch-mobile span {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  flex: 1;
}

.mobile-menu .lang-switch-mobile .lang-active {
  background: var(--navy);
  color: var(--white);
}

.mobile-menu .lang-switch-mobile a:not(.lang-active) {
  background: var(--gray-100);
  color: var(--gray-800);
}

/* --- Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--white);
  color: var(--navy);
  padding: 10px 20px;
  z-index: 10001;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--espa-header-h);
}

/* --- ESPA Banner --- */
.espa-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 20px 20px;
  gap: 12px;
}

.espa-header picture {
  display: flex;
  align-items: center;
}

.espa-header img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 55px;
  object-fit: contain;
}

.espa-text {
  font-size: 0.75rem;
  color: var(--text-body);
  text-align: center;
  max-width: 800px;
  line-height: 1.5;
}

.espa-banners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.espa-banners picture,
.espa-banners .espa-banner-img {
  max-width: 48%;
}

.espa-banner-img {
  height: auto;
  object-fit: contain;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: var(--espa-header-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--navy);
  z-index: 9998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.0rem;
  flex-shrink: 0;
}

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

.nav-logo span {
  display: none;
}

@media (min-width: 768px) {
  .nav-logo span { display: inline; }
}

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  color: var(--gold-nav);
  font-size: 0.938rem;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold-hover);
  color: var(--navy) !important;
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; align-items: center; gap: 6px; }
}

/* Phone icon in CTA */
.nav-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--espa-header-h) + var(--nav-h));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 9997;
  padding: 20px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--gray-800);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}

.mobile-menu a:hover {
  background: var(--gray-100);
}

.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.mobile-menu .mobile-cta:hover {
  background: var(--gold-hover);
}

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Spacing --- */
.section {
  padding: 70px 0;
}

@media (max-width: 767px) {
  .section { padding: 45px 0; }
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .section-title { font-size: 1.5rem; margin-bottom: 28px; }
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, #d6dfe6 100%);
  overflow: hidden;
  padding: 60px 0 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  .hero { padding: 80px 0 0; }
}

.hero-content {
  padding-bottom: 40px;
  text-align: center;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 2.75rem; }
}

.hero-subtitle {
  font-size: 1.062rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.5;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 0.938rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.0rem;
}

.hero-phone svg {
  color: var(--gold);
}

.hero-phone a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.hero-phone a:hover {
  color: var(--teal);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  align-self: end;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

@media (min-width: 768px) {
  .hero-image img { max-height: 550px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
}

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

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

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

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

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

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

@media (max-width: 767px) {
  .hero { padding: 40px 0 0; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 0.875rem; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-image img { max-height: 350px; }
}

/* ===== DOCTOR ===== */
.doctor-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

@media (min-width: 768px) {
  .doctor-card {
    grid-template-columns: 280px 1fr;
    gap: 0;
  }
}

.doctor-image {
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 350px;
}

@media (min-width: 768px) {
  .doctor-image img {
    max-height: none;
    min-height: 100%;
  }
}

.doctor-text {
  padding: 30px;
}

.doctor-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.doctor-subtitle {
  font-size: 1.0rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 16px;
}

.doctor-text p {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.938rem;
}

.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.doctor-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.812rem;
  font-weight: 500;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  color: var(--navy);
  border: 1px solid var(--gray-200);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.812rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.section-subtitle {
  font-size: 1.0rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .gallery-item--wide {
    grid-column: span 1;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .gallery-item img { height: 300px; }
  .gallery-item--portrait img { height: 400px; }
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(4, 47, 73, 0.8));
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== HOURS ===== */
.hours-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
}

.hours-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 600px) {
  .hours-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.938rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--text-dark);
}

.hours-time {
  color: var(--text-body);
  font-weight: 600;
}

.hours-time.closed {
  color: var(--gray-400);
  font-style: italic;
  font-weight: 400;
}

.hours-time.emergency {
  color: #8a6d1b;
  font-weight: 600;
}

.hours-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg);
  color: var(--text-body);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1.5fr; gap: 40px; }
}

.footer-col h3 {
  color: var(--navy);
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-body);
  font-size: 0.875rem;
  padding: 3px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.footer-contact-item a {
  display: inline;
  padding: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-col a.footer-social-link {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 0;
  transition: background var(--transition);
}

.footer-col a.footer-social-link:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-col a.footer-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 200px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Footer bottom bar */
.footer-bottom {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 30px;
  padding: 16px 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-bottom-logo img {
  height: 30px;
  width: auto;
}

.footer-bottom p {
  font-size: 0.75rem;
  text-align: right;
}

/* ===== ESPA REFERENCE ===== */
.espa-section {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}

.espa-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.812rem;
  line-height: 1.7;
  text-align: center;
  opacity: 0.8;
}

/* ===== CONTACT PAGE ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

.page-header p {
  font-size: 1.062rem;
  opacity: 0.85;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .page-header { padding: 35px 0; }
  .page-header h1 { font-size: 1.75rem; }
}

/* Contact Form */
.contact-form-section {
  padding: 60px 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-form-grid { grid-template-columns: 1fr 1fr; }
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.938rem;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 117, 133, 0.5);
  outline-offset: 0;
}

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

.form-error {
  color: #c0392b;
  font-size: 0.812rem;
  display: none;
  margin-top: 4px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.0rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-submit:hover {
  background: var(--gold-hover);
}

/* Contact sidebar info */
.contact-sidebar h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-sidebar .contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.contact-sidebar .contact-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.contact-sidebar .contact-item-icon svg {
  width: 18px;
  height: 18px;
}

.contact-sidebar .contact-item-text {
  font-size: 0.938rem;
  line-height: 1.6;
}

.contact-sidebar .contact-item-text strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-sidebar .contact-item-text a {
  color: var(--teal);
}

.contact-page-map {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-page-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

/* ===== SUCCESS MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
}

.modal-content {
  background: #d4edda;
  color: #155724;
  padding: 30px 40px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 1.062rem;
  box-shadow: var(--shadow-lg);
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: calc(100vh - var(--espa-header-h) - var(--nav-h) - var(--espa-footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 6.25rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.error-page h1 {
  font-size: 1.75rem;
  color: var(--navy);
  margin: 16px 0 10px;
}

.error-page p {
  font-size: 1.0rem;
  color: var(--gray-600);
  margin-bottom: 30px;
}

/* ===== ACCESSIBILITY PAGE ===== */
.a11y-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
}

.a11y-content h1 {
  font-size: 2.0rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.wcag-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.wcag-badge svg {
  flex-shrink: 0;
}

.wcag-badge span {
  font-size: 1.062rem;
  font-weight: 700;
  color: var(--navy);
}

.a11y-content h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
}

.a11y-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.a11y-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 12px;
}

.a11y-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.a11y-content a {
  color: var(--teal);
  text-decoration: underline;
}

.a11y-content a:hover {
  color: var(--teal-light);
}

.a11y-content .btn-teal {
  color: var(--white);
  text-decoration: none;
}

.a11y-content .btn-teal:hover {
  color: var(--white);
}

/* --- Booking Section --- */
.booking-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
}

.booking-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.booking-content h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.booking-content > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.booking-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.booking-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-blue);
  font-size: 0.95rem;
  font-weight: 500;
}

.booking-feature svg {
  flex-shrink: 0;
  stroke: var(--gold);
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  padding: 16px 36px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.btn-booking svg {
  flex-shrink: 0;
}

.booking-alt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 16px;
}

.booking-alt a {
  color: var(--light-blue);
  text-decoration: underline;
}

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

/* Booking list */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.booking-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background var(--transition);
  font-family: var(--font-main);
  text-align: left;
  width: 100%;
}

.booking-list-item:last-child {
  border-bottom: none;
}

.booking-list-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.booking-list-item--popular {
  background: rgba(212, 168, 67, 0.08);
}

.booking-list-item--popular:hover {
  background: rgba(212, 168, 67, 0.15);
}

.booking-list-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-list-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-list-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-list-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.booking-list-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.booking-list-duration {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--light-blue);
}

.booking-list-right svg {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 600px) {
  .booking-card {
    padding: 32px 24px;
  }
  .booking-content h2 {
    font-size: 1.4rem;
  }
  .booking-list-item {
    padding: 14px 16px;
  }
}
