/* ==========================================================================
   AUGENARZTPRAXIS OPPAU - DESIGN SYSTEM
   Inspired by modern, warm medical aesthetics (Wunsiedel design reference)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Design Tokens - Modern Ophthalmology Royal Blue Palette matching Official Logo */
  --leaf: #0066f5;            /* Primary eye-blue from logo */
  --leaf-deep: #0047c7;       /* Deep sapphire brand blue */
  --leaf-dark: #003399;       /* Dark royal blue */
  --leaf-soft: #eaf2ff;       /* Crisp ice-blue tint for pills & badges */
  --leaf-light: #f3f7fd;      /* Ultra-light blue tint */
  
  --ink: #0f172a;             /* Deep slate-navy text from logo Praxis & OP */
  --ink-secondary: #334155;   /* Slate body text */
  --ink-muted: #64748b;       /* Muted slate descriptions */
  --ink-light: #94a3b8;       /* Subtle slate borders and hints */
  
  --sand: #f8fafd;            /* Fresh, high-end medical clinic canvas */
  --sand-card: #ffffff;       /* Pure white card backgrounds */
  --sand-warm: #f0f4fa;       /* Light slate-blue accent surface */
  --sand-border: #e2e8f0;     /* Crisp slate border */
  
  --surface: #ffffff;
  --surface-alt: #f8fafd;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px -6px rgba(0, 102, 245, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

p {
  color: var(--ink-secondary);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 960px;
}

/* Section Spacing */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leaf-deep);
  background-color: var(--leaf-soft);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background-color: var(--leaf-soft);
  color: var(--leaf-deep);
  border: 1px solid rgba(0, 102, 245, 0.22);
  box-shadow: 0 1px 3px rgba(0, 71, 199, 0.08);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--leaf);
  animation: pulse-soft 2.2s infinite;
}

@keyframes pulse-soft {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Top Announcement Banner */
.top-notice-bar {
  background: linear-gradient(90deg, #003399 0%, #005ce6 100%);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  text-align: center;
  position: relative;
  z-index: 100;
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-notice-tag {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(248, 250, 253, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-logo-img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--leaf-soft) 0%, #d4e5ff 100%);
  border: 1px solid rgba(0, 102, 245, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf-deep);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon-box {
  transform: rotate(-5deg) scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

.brand-doc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
}

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

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--leaf-deep);
  background-color: var(--leaf-soft);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20%;
  width: 60%;
  height: 2px;
  background-color: var(--leaf-deep);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--sand-warm);
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-full);
  padding: 2px;
  position: relative;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: #ffffff;
  color: var(--leaf-deep);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--leaf-deep);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 71, 199, 0.25);
}

.btn-primary:hover {
  background-color: var(--leaf-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 71, 199, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--ink);
  border-color: var(--sand-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--sand-warm);
  border-color: #cbd5e1;
  color: var(--leaf-deep);
  transform: translateY(-1px);
}

.btn-soft {
  background-color: var(--leaf-soft);
  color: var(--leaf-deep);
}

.btn-soft:hover {
  background-color: #dbeafe;
  color: var(--leaf-dark);
}

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

.btn-lg {
  padding: 0.95rem 1.95rem;
  font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-heading {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 1.25rem;
  margin-bottom: 1.4rem;
  line-height: 1.15;
}

.hero-heading em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-doc-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.hero-doc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.hero-doc-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
}

.hero-doc-info span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Hero Visual / Card stack */
.hero-visual {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #ffffff;
}

.hero-main-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-float-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.hero-float-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.hero-float-badge span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Quick Info Cards Section */
.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 245, 0.35);
  box-shadow: var(--shadow-hover);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--leaf-soft);
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.info-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card-val {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.info-card-sub {
  font-size: 0.82rem;
  color: var(--ink-light);
  margin-top: auto;
}

/* About / Team Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-border);
  max-height: 480px;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  font-size: 2rem;
  color: var(--leaf-deep);
}

.about-points {
  list-style: none;
  margin: 1.75rem 0 2.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--ink-secondary);
}

.about-point-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Services Section */
.services-section {
  background-color: var(--surface-alt);
}

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--leaf-deep) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 245, 0.35);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--leaf);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--sand-border);
}

.service-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background-color: var(--sand-warm);
  color: var(--ink-secondary);
  font-weight: 500;
}

/* Equipment Showcase Section (Modern Devices) */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.equipment-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 245, 0.35);
}

.equipment-img-box {
  width: 100%;
  height: 220px;
  background-color: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.equipment-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-img-box img {
  transform: scale(1.05);
}

.equipment-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipment-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--leaf-deep);
  background-color: var(--leaf-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.equipment-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.equipment-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.equipment-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--leaf-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast);
}

.equipment-btn:hover {
  gap: 0.6rem;
  color: var(--leaf-dark);
}

/* Appointment CTA Banner */
.appointment-banner {
  background: linear-gradient(135deg, #003399 0%, #005ce6 60%, #0077ff 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.appointment-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.appointment-banner-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.appointment-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.appointment-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.appointment-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.appointment-phone-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.appointment-phone-card strong {
  font-size: 1.3rem;
  color: #ffffff;
  font-family: var(--font-serif);
}

/* Location & MediCenter Section */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.location-info-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.location-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-item-content strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.location-item-content span {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-border);
  min-height: 420px;
  position: relative;
  background-color: #f0eee8;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--sand-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background-color: var(--sand);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--leaf-deep);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 245, 0.18);
}

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

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--leaf-deep);
}

/* Footer */
.site-footer {
  background-color: #0b1324;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.35rem;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}
  color: #7b8577;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 23, 19, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-border);
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand-warm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--leaf-soft);
  color: var(--leaf-deep);
}

/* Toast Notification (Sonner style) */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  border: 1px solid var(--sand-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transform: translateY(100%);
  opacity: 0;
  transition: all var(--transition-normal);
  max-width: 360px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon-success {
  color: var(--leaf-deep);
  font-size: 1.2rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 250;
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 240;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Responsive Breakpoints */
/* Responsive Breakpoints & Mobile Optimization */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }
  
  .services-grid, .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid, .location-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-badge-card {
    position: static;
    margin-top: 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Touch target optimizations */
  button, .btn, .nav-link, .lang-btn, a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu, .header-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
  }

  .header-container {
    height: 4.2rem;
  }

  .brand-icon-box {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-doc {
    font-size: 0.72rem;
  }
  
  .quick-cards-grid, .services-grid, .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .hero-section {
    padding: 2.5rem 0 3.5rem 0;
  }

  .hero-heading {
    font-size: 2.1rem;
    line-height: 1.18;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .hero-main-card img {
    height: 280px;
  }

  .hero-float-badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    padding: 0.75rem 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-control, input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }

  .modal-card {
    padding: 1.75rem 1.25rem;
    width: 95vw;
    max-height: 92vh;
  }

  .contact-card, .location-info-card {
    padding: 1.75rem 1.25rem;
  }

  .appointment-banner-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .appointment-banner {
    padding: 2.25rem 1.35rem;
  }

  .appointment-phone-card strong {
    font-size: 1.15rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.85rem;
  }

  .pill-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }

  .top-notice-bar {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .btn-lg {
    padding: 0.85rem 1.5rem;
  }
}
