/* ========================================
   BIONIKA VETERINARY CLINIC - MAIN STYLES
   Modern, SEO-optimized, mobile-first design
   ======================================== */

/* ========================================
   1. CSS RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ========================================
   2. CSS VARIABLES
   ======================================== */
:root {
  /* Brand Colors */
  --primary-color: #0F766E;
  --primary-dark: #0A4F41;
  --primary-light: #13A38C;
  --secondary-color: #F5F7FA;
  --accent-color: #F4B266;
  --accent-soft: #FFE3C1;
  --accent-contrast: #F26B5E;
  --logo-size: 48px;
  --logo-size-mobile: 40px;

  /* Text Colors */
  --text-dark: #2C3E50;
  --text-light: #6B7280;
  --text-white: #FFFFFF;

  /* Background Colors */
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --bg-muted: #EEF2F6;
  --bg-gradient: #208281;

  /* CTA & Status Colors */
  --success-color: #059669;
  --call-green: #059669;
  --messenger-blue: #0084FF;
  --warning-color: #FFC107;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;

  /* Typography */
  --font-family: 'Cormorant Garamond', serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Borders & Shadows */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(63, 169, 162, 0.15);
  --shadow-hover: 0 6px 16px rgba(63, 169, 162, 0.4);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

html {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #208281;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  /* 40px */
}

h2 {
  font-size: 1.875rem;
  /* 30px */
}

h3 {
  font-size: 1.375rem;
  /* 22px */
}

h4 {
  font-size: 1.25rem;
  /* 20px */
}

h5 {
  font-size: 1.125rem;
  /* 18px */
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
blockquote,
figcaption {
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0;
}

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

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

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

/* ========================================
   4. LAYOUT & CONTAINERS
   ======================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-fluid {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: var(--spacing-xl) 0;
}

.price-section {
  padding-bottom: 0;
}

.price-section+.page-content {
  padding-top: 0;
  margin-top: -8px;
}

/* ========================================
   4B. TRUST BADGE ENHANCEMENT (CONVERSION)
   ======================================== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 28px;
  border-radius: 999px;
  margin-bottom: 24px;
  color: white;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(9, 78, 82, 0.22);
}

.rating-stars {
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.rating-text strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* ========================================
   4D. MOBILE TOUCH OPTIMIZATION (CRITICAL)
   ======================================== */
/* All clickable elements minimum 48x48px per Google guidelines */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn {
  min-height: 54px;
  min-width: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.service-card {
  -webkit-tap-highlight-color: rgba(63, 169, 162, 0.1);
}

/* Skip to main content - Accessibility */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
}

.skip-to-main:focus {
  top: 0;
}

/* ========================================
   5. HEADER & NAVIGATION
   ======================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #208281;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(32, 130, 129, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px rgba(5, 51, 49, 0.28);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--spacing-md);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-size);
  height: var(--logo-size);
  text-decoration: none;
}

.logo-image {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform var(--transition-base), filter var(--transition-base);
  filter: drop-shadow(0 6px 14px rgba(15, 118, 110, 0.18));
  border-radius: 14px;
}

.logo:hover .logo-image {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 12px 22px rgba(15, 118, 110, 0.22));
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav {
  width: 100%;
}

.language-switcher button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.language-switcher button.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.language-switcher button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
}

.lang {
  display: none;
}

.lang.lang-active {
  display: block;
}

.lang-inline.lang-active {
  display: inline;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(32, 130, 129, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 1.5rem;
  padding: 120px 32px 48px;
  margin: 0;
  transition: right var(--transition-base);
  z-index: 1500;
  overflow-y: auto;
  pointer-events: none;
}

.nav-menu.active {
  right: 0;
  pointer-events: auto;
}

.nav-menu li {
  width: 100%;
  margin: 0;
}

.nav-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  color: #fff;
  font-weight: 400;
  font-size: 1.35rem;
  padding: 12px 16px;
  border-radius: 18px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  gap: 12px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.nav-link .lang {
  display: none;
}

.nav-link .lang.lang-active {
  display: inline;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.12);
  border-radius: 16px;
  min-width: 220px;
  padding: var(--spacing-xs);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.dropdown-menu .nav-link {
  display: block;
  padding: 12px 16px;
  color: var(--text-dark);
}

.dropdown-menu .nav-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Header Phone */
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.header-phone:hover {
  background: var(--primary-color);
  color: white;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-link {
  display: block;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.desktop-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   6. HERO SECTION
   ======================================== */
.hero {
  background: var(--bg-gradient);
  color: white;
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.hero::before {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at center, rgba(244, 178, 102, 0.55) 0%, rgba(15, 118, 110, 0) 70%);
  top: -140px;
  right: -160px;
}

.hero::after {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at center, rgba(19, 163, 140, 0.45) 0%, rgba(15, 118, 110, 0) 70%);
  bottom: -180px;
  left: -160px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: left;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.hero.hero-simple {
  padding: 3.5rem 0 120px;
  text-align: center;
  background: #208281;
}

.hero.hero-simple::before,
.hero.hero-simple::after {
  display: none;
}

.hero.hero-simple .container {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.hero-simple-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(100%, 580px);
  margin: 0 auto;
  font-family: inherit;
}

.hero-simple-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}

.hero-simple-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-simple-title {
  margin: 0;
  font-size: 2.85rem;
  color: #fff;
  line-height: 1.25;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
}

.hero-simple-title span {
  font-weight: 400;
}

.hero-simple-title .lang {
  display: none;
}

.hero-simple-title .lang.lang-active {
  display: block;
}

.hero-simple-subtitle {
  margin: 0;
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

.hero-simple-subtitle .lang {
  display: none;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
}

.hero-simple-subtitle .lang.lang-active {
  display: block;
}

.hero-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
  margin-top: 24px;
}

.quick-action {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 580px;
  min-height: 64px;
  padding: 0 2.75rem 0 0.5rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  background: transparent;
  box-shadow: 0 18px 38px rgba(6, 56, 54, 0.24);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.quick-action:hover,
.quick-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(6, 56, 54, 0.3);
  border-color: rgba(255, 255, 255, 0.95);
}

.quick-action-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 28px rgba(8, 54, 52, 0.35);
  overflow: hidden;
  margin-right: 0.6rem;
}

.quick-action-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-action-text {
  flex: 1;
  text-align: center;
  font-weight: 400;
  line-height: 1.5;
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

.quick-action-text .lang {
  display: none;
}

.quick-action-text .lang.lang-active {
  display: block;
}

.quick-action-dots {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.5rem;
  line-height: 1;
  width: 32px;
  margin-left: 1.2rem;
}

.quick-action-dots::before {
  content: '•••';
  letter-spacing: 4px;
}

/* Primary booking button - standout style */
.quick-action-primary {
  border: 2px solid #FFD700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(19, 163, 140, 0.1) 100%);
  box-shadow: 0 18px 38px rgba(255, 215, 0, 0.25), 0 0 40px rgba(255, 215, 0, 0.15);
  animation: pulse-glow 3s ease-in-out infinite;
}

.quick-action-primary:hover,
.quick-action-primary:focus-visible {
  border-color: #FFC700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(19, 163, 140, 0.15) 100%);
  box-shadow: 0 24px 48px rgba(255, 215, 0, 0.35), 0 0 60px rgba(255, 215, 0, 0.25);
  transform: translateY(-3px) scale(1.02);
}

.quick-action-primary .quick-action-icon {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  box-shadow: 0 14px 28px rgba(255, 215, 0, 0.45);
}

.quick-action-primary .quick-action-text {
  font-weight: 500;
  font-size: 15px;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 18px 38px rgba(255, 215, 0, 0.25), 0 0 40px rgba(255, 215, 0, 0.15);
  }

  50% {
    box-shadow: 0 18px 38px rgba(255, 215, 0, 0.35), 0 0 50px rgba(255, 215, 0, 0.25);
  }
}

.quick-action-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.quick-action-icon-only:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.quick-action-icon-only img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.quick-action-icon-small {
  width: 56px;
  height: 56px;
}

.quick-action-icon-small img {
  width: 56px;
  height: 56px;
}

/* Booking icon highlight - golden glow */
.booking-icon-highlight {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
  animation: pulse-glow-icon 3s ease-in-out infinite;
  border: 2px solid #FFD700;
}

.booking-icon-highlight:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
}

@keyframes pulse-glow-icon {

  0%,
  100% {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
  }

  50% {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
  }
}

/* Service page booking button - large primary CTA */
.btn-book-primary {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 1.5rem auto;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #0F766E;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  border-radius: 16px;
  border: none;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulse-glow-button 3s ease-in-out infinite;
}

.btn-book-primary:hover,
.btn-book-primary:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5), 0 0 50px rgba(255, 215, 0, 0.3);
  background: linear-gradient(135deg, #FFC700 0%, #FF9500 100%);
}

.btn-book-text {
  display: block;
  text-align: center;
}

@keyframes pulse-glow-button {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
  }

  50% {
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.5), 0 0 50px rgba(255, 215, 0, 0.3);
  }
}

/* Contact icons row - mini icons */
.contact-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0 0;
  flex-wrap: wrap;
}

.contact-icon-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.contact-icon-mini:hover,
.contact-icon-mini:focus-visible {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

.contact-icon-mini img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ========================================
   7. BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 1.5rem;
  min-height: 54px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-call {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
}

.btn-primary:hover,
.btn-call:hover {
  background: #047857;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
  color: #ffffff;
}

.btn-secondary,
.btn-messenger {
  background: #0084FF;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.24);
}

.btn-secondary:hover,
.btn-messenger:hover {
  background: #0073E6;
  box-shadow: 0 6px 18px rgba(0, 132, 255, 0.28);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.btn+.btn {
  margin-top: 16px;
}

/* ========================================
   8. SERVICES SECTION
   ======================================== */
.services {
  background: #208281;
  position: relative;
}

.services .section-title h2 {
  color: #ffffff;
}

.services .section-title h2::after {
  background: #208281;
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

.hero+.services {
  padding-top: 0;
}

.hero+.services .section-title h2 {
  margin-block-start: 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 0;
  position: relative;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 68px;
  height: 4px;
  background: #208281;
  border-radius: 999px;
  margin: 16px auto 0;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-dark);
  max-width: 600px;
  margin: -6px auto 0;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--spacing-md);
}

.service-line {
  --service-line-bg: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--service-line-bg);
  border: 1px solid rgba(15, 118, 110, 0.14);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

.service-line:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.12);
}

.service-line-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.service-line-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 118, 110, 0.12);
  font-size: 1.35rem;
}

.service-line-name {
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-line-price {
  white-space: nowrap;
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.08);
  transition: all var(--transition-base);
  border: 1px solid rgba(15, 118, 110, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.18);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.service-description {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
  flex-grow: 1;
}

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-card .btn {
  width: 100%;
  margin-top: 12px;
}

.service-link {
  color: var(--accent-contrast);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 0.95rem;
}

.service-link:hover {
  gap: 8px;
}

/* ========================================
   9. EMERGENCY & EXPAT SECTIONS
   ======================================== */
.emergency-callout {
  background: linear-gradient(135deg, var(--primary-dark), #0c5f58);
  color: white;
  padding: var(--spacing-xl) 0;
  position: relative;
}

.emergency-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.emergency-content {
  max-width: 720px;
  text-align: left;
}

.emergency-content h2 {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-sm);
}

.emergency-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.emergency-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.emergency-list li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.emergency-cta .btn {
  flex: 1 1 220px;
}

.emergency-note {
  font-size: 0.95rem;
  opacity: 0.85;
}

.expat-support {
  background: var(--bg-light);
  padding: var(--spacing-xl) 0;
}

.section-photo {
  margin: -12px auto var(--spacing-md);
  max-width: 960px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.expat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.expat-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.expat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.12);
}

.expat-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.expat-card p {
  color: var(--text-dark);
  line-height: 1.7;
}

.expat-cta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
}

.expat-cta .btn {
  flex: 1 1 220px;
}

.travel-hub {
  background: var(--bg-white);
  padding: var(--spacing-xl) 0;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.travel-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 250, 249, 1) 100%);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.travel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(15, 118, 110, 0.12);
}

.travel-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.travel-card p {
  color: var(--text-dark);
  line-height: 1.7;
}

.travel-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.travel-cta .btn {
  flex: 1 1 220px;
}

/* ========================================
   9. WHY CHOOSE US SECTION
   ======================================== */
.why-choose {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  text-align: center;
  padding: var(--spacing-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-dark);
}

/* ========================================
   11. TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-stars {
  color: #FFC107;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-pet {
  font-size: 0.875rem;
  color: var(--text-dark);
}

/* ========================================
   12. LOCATION SECTION
   ======================================== */
.location {
  background: var(--bg-white);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  align-items: start;
}

.location-info {
  background: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
}

.location-info h3 {
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: white;
  border-radius: var(--border-radius);
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
}

.info-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.info-text {
  color: var(--text-dark);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   13. FOOTER
   ======================================== */
.footer {
  background: #208281;
  color: rgba(255, 255, 255, 0.82);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  text-decoration: none;
}

.footer-logo-image {
  height: 62px;
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(4, 47, 58, 0.25));
  transition: transform var(--transition-base), filter var(--transition-base);
}

.footer-logo:hover .footer-logo-image {
  transform: translateY(-2px);
  filter: drop-shadow(0 20px 32px rgba(4, 47, 58, 0.28));
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom .international-note {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   14. FLOATING MESSENGER BUTTON
   ======================================== */
.whatsapp-float,
.whatsapp-header-btn,
.btn-whatsapp {
  display: none !important;
}

.floating-messenger {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(32, 130, 129, 0.35);
  text-decoration: none;
  z-index: 999;
  animation: messenger-pulse 1.5s ease-in-out infinite;
  transition: transform 0.2s ease;
  padding: 10px;
  backdrop-filter: blur(6px);
}

.floating-messenger:hover {
  transform: scale(1.05);
}

@keyframes messenger-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.header-messenger-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0084FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
  transition: all 0.2s ease;
}

.header-messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 132, 255, 0.35);
}

.floating-messenger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-to-top {
  position: fixed;
  bottom: 110px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, #0F766E 0%, #13A38C 100%);
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  backdrop-filter: blur(6px);
  padding: 0;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
}

.scroll-to-top span {
  pointer-events: none;
  line-height: 1;
}

/* ========================================
   15. SERVICE PAGE STYLES
   ======================================== */
.page-hero {
  background: #208281;
  color: white;
  padding: 40px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero::after {
  content: none;
}

.page-hero h1 {
  color: white;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 12px;
  max-width: 640px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 640px;
  margin: 0;
  opacity: 1;
}

.emergency-hero {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 55%, rgba(7, 50, 67, 0.9) 100%);
}

.emergency-hero::after {
  content: '';
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 75%);
}

.page-content {
  padding: var(--spacing-xl) 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spacing-lg);
}

.content-wrapper.has-sidebar {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.main-content {
  width: 100%;
  background: #ffffff;
  padding: var(--spacing-lg);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.main-content h2 {
  color: var(--text-dark);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.main-content h3 {
  color: var(--text-dark);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.main-content ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.main-content li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text-dark);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.sidebar-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 18px;
  padding: var(--spacing-md);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.sidebar-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

.sidebar-card p {
  color: var(--text-dark);
  margin-bottom: 6px;
}

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

.sidebar-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  color: var(--text-dark);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-card.highlight {
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.1) 0%, rgba(15, 118, 110, 0.03) 100%);
}

.sidebar-card.highlight li {
  border-bottom-color: rgba(15, 118, 110, 0.16);
}

.sidebar-card.emergency-card {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 22px 44px rgba(185, 28, 28, 0.22);
  color: white;
}

.sidebar-card.emergency-card a {
  color: white;
  font-weight: 600;
}

.sidebar-card.emergency-card p {
  color: rgba(255, 255, 255, 0.9);
}

.price-box {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.95) 0%, rgba(10, 79, 65, 0.92) 100%);
  color: white;
  padding: var(--spacing-lg);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 22px 42px rgba(15, 118, 110, 0.18);
}

.price-box h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.price-note {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-sm);
}

.cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: var(--spacing-lg);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 38px rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.cta-box h3 {
  margin-bottom: var(--spacing-sm);
}

.cta-box p {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.related-services {
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(238, 242, 246, 0.7) 0%, rgba(245, 247, 250, 1) 100%);
  border-radius: 24px;
  margin-top: var(--spacing-lg);
}

.related-services h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.related-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-card h3 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.related-card p {
  color: var(--text-dark);
}

.related-card .price {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Expanded content sections for service pages */
.content-expanded {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.content-section {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 1.75;
  color: var(--text-dark);
}

.content-section h2 {
  margin-bottom: var(--spacing-sm);
}

.service-list,
.warning-signs {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

.service-list li,
.warning-signs li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dark);
}

.service-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--primary-color);
  font-weight: 700;
}

.warning-signs li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  top: 3px;
  color: #FF6B6B;
  font-weight: 700;
}

.procedure-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--spacing-sm);
}

.procedure-steps li {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  counter-increment: step-counter;
  position: relative;
}

.procedure-steps li::before {
  content: counter(step-counter);
  position: absolute;
  top: 50%;
  right: var(--spacing-md);
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.benefit-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  background: #208281;
  color: rgba(255, 255, 255, 0.92);
}

.faq-section h2 {
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
}

.faq-section .faq-item {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  box-shadow: 0 12px 24px rgba(5, 51, 49, 0.25);
  padding: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.faq-section .faq-item h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
  color: #ffffff;
}

.faq-section .faq-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-section {
  text-align: center;
  background: var(--bg-gradient);
  color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.cta-section p {
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  width: auto;
  min-width: 200px;
}

.cta-section .btn-secondary,
.price-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.75);
  color: white;
}

.cta-section .btn-secondary:hover,
.price-box .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

/* ========================================
   16. PRICING TABLE
   ======================================== */
.pricing-table {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  margin: var(--spacing-md) 0;
  overflow-x: auto;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table th {
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-sm);
  text-align: left;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.pricing-table td {
  padding: var(--spacing-sm);
  border-bottom: 1px solid var(--bg-light);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.pricing-table th,
.pricing-table td {
  overflow-wrap: anywhere;
}

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

.pricing-table .price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.125rem;
}

/* ========================================
   17. FAQ SECTION
   ======================================== */
.faq {
  margin-top: var(--spacing-lg);
}

.faq h2 {
  margin-bottom: var(--spacing-md);
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-content {
  padding: 0 var(--spacing-md) var(--spacing-sm);
  color: var(--text-dark);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ========================================
   18. SERVICE CARDS (Alternative Style)
   ======================================== */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.service-detail-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--bg-light);
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.service-detail-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-detail-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

/* ========================================
   19. CHECKLIST
   ======================================== */
.checklist {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding: 10px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.checklist li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: 700;
  font-size: 1.25rem;
  min-width: 20px;
}

/* ========================================
   20. STEP-BY-STEP GUIDE
   ======================================== */
.steps {
  counter-reset: step-counter;
  list-style: none;
  margin: var(--spacing-lg) 0;
}

.step-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 60px;
  margin-bottom: var(--spacing-md);
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-item h3 {
  margin-bottom: 8px;
}

.step-item p {
  color: var(--text-dark);
}

/* ========================================
   21. UTILITIES
   ======================================== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

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

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.py-1 {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-2 {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-3 {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

/* ========================================
   22. RESPONSIVE DESIGN
   ======================================== */

/* Desktop */
@media (min-width: 992px) {
  .header-phone {
    display: flex;
  }
}

/* Tablet */
@media (max-width: 991px) {

  .content-wrapper,
  .content-wrapper.has-sidebar {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .sidebar {
    order: -1;
  }

  .location-content {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 0.85rem;
  }

  .header-container {
    padding: 12px 18px;
  }

  .nav {
    gap: var(--spacing-sm);
  }

  .logo {
    width: var(--logo-size-mobile);
    height: var(--logo-size-mobile);
  }

  h1 {
    font-size: 1.875rem;
    /* 30px */
  }

  h2 {
    font-size: 1.5rem;
    /* 24px */
  }

  h3 {
    font-size: 1.25rem;
    /* 20px */
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero.hero-simple {
    padding: 3rem 0 100px;
  }

  .hero-simple-card {
    gap: 0;
    width: min(100%, 540px);
  }

  .hero-simple-title {
    font-size: 2.4rem;
  }

  .hero-simple-subtitle .lang {
    font-size: 1.05rem;
  }

  .hero-quick-actions {
    gap: 16px;
  }

  .quick-action {
    width: 100%;
    max-width: 540px;
    min-height: 60px;
    padding: 0 2.3rem 0 0.45rem;
  }

  .quick-action-icon {
    width: 46px;
    height: 46px;
    margin-right: 0.55rem;
  }

  .quick-action-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .quick-action-dots {
    width: 26px;
    font-size: 1.35rem;
  }

  /* Hero CTA mobile optimization */
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    justify-content: center;
  }

  .hero-cta .btn,
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Trust badge mobile */
  .trust-badge {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: left var(--transition-base);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .language-switcher {
    margin-left: 0;
    gap: 6px;
  }

  .language-switcher button {
    padding: 6px 12px;
  }

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

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-light);
    margin-top: 8px;
    display: none;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .status-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-actions {
    width: 100%;
  }

  .status-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .emergency-grid {
    flex-direction: column;
    text-align: center;
  }

  .emergency-content {
    text-align: center;
  }

  .emergency-list {
    grid-template-columns: 1fr;
  }

  .emergency-cta .btn,
  .expat-cta .btn,
  .travel-cta .btn {
    flex: 1 1 100%;
  }

  .expat-grid,
  .travel-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero-cta {
    flex-direction: column;
  }

  .floating-messenger {
    width: 60px;
    height: 60px;
    bottom: 16px;
    right: 16px;
  }

  section {
    padding: var(--spacing-lg) 0;
  }

  .service-cards-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 24px;
    margin: 12px 0 28px;
  }

  .price-title {
    font-size: 1.875rem;
    /* 30px для мобильных */
  }

  .price-amount {
    font-size: 2.5rem;
  }

  .price-details {
    font-size: 0.95rem;
  }

  .price-buttons {
    gap: 12px;
  }

  .price-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .main-content {
    padding: 24px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .content-section {
    padding: 20px;
    box-shadow: none;
    border: 1px solid rgba(15, 118, 110, 0.12);
  }

  .pricing-table,
  .benefit-card,
  .faq-section .faq-item,
  .service-detail-card,
  .price-card,
  .mobile-price-card,
  .cta-section {
    box-shadow: none;
  }

  .cta-section {
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .sidebar-card {
    padding: 20px;
  }

  .price-section,
  .page-content,
  .expat-support,
  .travel-hub,
  .care-overview,
  .why-choose,
  .testimonials,
  .faq-section,
  .location,
  .related-services,
  .contact-footer {
    padding: 28px 12px;
  }

}

/* Desktop Navigation - Show on larger screens */
@media (min-width: 769px) {
  .desktop-nav {
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .header-container {
    justify-content: space-between;
    gap: var(--spacing-lg);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .main-content {
    padding: 20px;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .content-section {
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    box-shadow: none;
  }

  .pricing-table,
  .benefit-card,
  .faq-section .faq-item,
  .service-detail-card,
  .price-card,
  .mobile-price-card,
  .cta-section {
    box-shadow: none;
  }

  .cta-section {
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .header-container {
    padding: 10px 16px;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

  .footer-logo-image {
    height: 52px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 17px;
  }

  .hero.hero-simple {
    padding: 2.8rem 0 88px;
  }

  .hero-simple-title {
    font-size: 2rem;
  }

  .hero-simple-subtitle .lang {
    font-size: 0.98rem;
  }

  .quick-action {
    padding: 0 2rem 0 0.35rem;
    min-height: 56px;
  }

  .quick-action-icon {
    width: 42px;
    height: 42px;
    margin-right: 0.5rem;
  }

  .quick-action-dots {
    width: 24px;
    font-size: 1.25rem;
  }
}

/* Print Styles */
@media print {

  .header,
  .footer,
  .floating-messenger {
    display: none;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Loading Animation (Optional) */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(63, 169, 162, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==================================================
   MOBILE-FIRST TYPOGRAPHY & LAYOUT OVERRIDES (2025)
   ================================================== */

html {
  scroll-behavior: smooth;
}



h1,
.hero h1,
.page-hero h1 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

h2,
.section-title h2,
.faq-section h2 {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
}

p,
li,
.service-description,
.feature-description,
.price-details {
  font-size: 17px;
  line-height: 1.75;
}

section {
  padding: 40px 20px;
}

.hero {
  position: relative;
  padding: 72px 20px 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.price-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin: 12px 0 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.price-photo {
  margin-top: var(--spacing-sm);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.price-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.price-title {
  font-size: 2.25rem;
  /* 36px */
  font-weight: 700;
  background: linear-gradient(135deg, #0A4F41 0%, #13A38C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(15, 118, 110, 0.1));
}

/* Fallback для старых браузеров */
@supports not (background-clip: text) {
  .price-title {
    color: #0A4F41;
  }
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 8px;
}

.price-details {
  color: #64748b;
  margin-bottom: 24px;
}

.price-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-buttons .btn {
  width: 100%;
}

.sticky-contact-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 8px 20px;
  display: flex;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(15, 118, 110, 0.08);
}

.sticky-contact-bar .btn {
  flex: 1;
  min-height: 54px;
  font-size: 1.125rem;
}

.opening-hours-banner {
  background: #f8fafc;
  color: #2d3748;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
}

.contact-section {
  background: #f8fafc;
  text-align: center;
  padding: 48px 20px;
  border-radius: 20px;
}

.contact-section h2 {
  margin-bottom: 24px;
}

.contact-section .contact-details {
  margin-top: 24px;
  line-height: 1.8;
  font-size: 18px;
}

.contact-section .btn {
  max-width: 420px;
  margin: 0 auto;
}

.contact-section .btn+.btn {
  margin-top: 16px;
}

.header-messenger-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0084FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
}

header.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #208281;
  box-shadow: none;
}

.nav-menu {
  background: transparent;
}

.opening-hours-banner span {
  font-weight: 500;
}

.content-section,
.faq-item,
.benefits-grid,
.features-grid {
  margin-bottom: 48px;
}

.content-section:last-child,
.faq-item:last-child {
  margin-bottom: 0;
}

.content-section ul,
.content-section ol {
  margin-left: 20px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.btn-group,
.hero-cta {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

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

.top-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 600px) {
  section {
    padding: 48px 40px;
  }

  .page-content {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-cta .btn {
    width: auto;
  }

  .btn {
    max-width: 320px;
  }

  .btn+.btn {
    margin-top: 0;
    margin-left: 16px;
  }

  .price-card {
    margin: 40px auto;
    max-width: 560px;
  }

  .price-buttons {
    flex-direction: row;
  }

  .price-buttons .btn {
    max-width: none;
  }

  .sticky-contact-bar {
    padding: 12px 40px;
  }
}

@media (min-width: 992px) {
  section {
    padding: 56px 60px;
  }

  .page-content {
    padding-left: 0;
    padding-right: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .btn {
    max-width: 260px;
  }

  .btn+.btn {
    margin-left: 16px;
  }

  .hero-cta {
    max-width: none;
    gap: 16px;
  }

  .page-hero {
    padding: 60px 40px;
  }
}

/* ==================================================
   MOBILE-OPTIMIZED PRICE CARD & CONTACT SECTIONS
   ================================================== */
.mobile-price-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.mobile-price-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.mobile-price-card .price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 8px;
  line-height: 1;
}

.mobile-price-card .price-details {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}

.mobile-price-card .btn {
  width: 100%;
  margin-bottom: 16px;
}

.mobile-price-card .btn:last-child {
  margin-bottom: 0;
}

.contact-footer {
  background: #f8fafc;
  padding: 48px 20px;
  text-align: center;
  margin-top: 48px;
}

.contact-footer h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #2d3748;
}

.contact-footer .btn {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 16px;
  display: flex;
}

.contact-footer .contact-details {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details a {
  color: #059669;
  text-decoration: none;
  font-weight: 600;
}

.contact-details .phone-large {
  font-size: 19px;
  font-weight: 700;
  color: #2d3748;
}

.sticky-call-bar {
  position: sticky;
  top: 70px;
  z-index: 999;
  background: #ffffff;
  padding: 12px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 12px;
}

.sticky-call-bar .btn {
  flex: 1;
  height: 48px;
  font-size: 16px;
}

.opening-hours-banner {
  background: #f8fafc;
  color: #2d3748;
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.opening-hours-banner strong {
  font-weight: 600;
  color: #059669;
}

@media (min-width: 600px) {
  .mobile-price-card {
    margin: 40px auto;
    max-width: 560px;
  }

  .mobile-price-card .btn {
    width: auto;
    min-width: 240px;
    display: inline-flex;
    margin: 0 8px;
  }

  .contact-footer .btn {
    width: auto;
    min-width: 260px;
    margin: 0 8px;
  }

  .sticky-call-bar {
    padding: 12px 40px;
  }
}

/* Language Switcher - Prominent */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.language-switcher button {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-width: 48px;
  min-height: 48px;
}

.language-switcher button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.language-switcher button.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 700;
  text-decoration: underline;
}

.language-switcher .separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Emergency Callout Box */
.emergency-callout {
  background: #FEE2E2;
  border: 3px solid #DC2626;
  border-radius: 12px;
  padding: 32px 24px;
  margin: 40px 0;
  text-align: center;
}

.emergency-callout h2 {
  color: #DC2626;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.emergency-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 18px 24px;
  background: #DC2626;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  transition: all 0.2s ease;
}

.emergency-button:hover {
  background: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.emergency-callout p {
  color: #7F1D1D;
  font-size: 16px;
  margin-top: 16px;
}

/* Rating Badge */
.rating-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rating-badge .stars {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.rating-badge .rating-text {
  font-size: 18px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 4px;
}

.rating-badge .review-count {
  font-size: 14px;
  color: #64748b;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: #64748b;
}

.breadcrumbs a {
  color: #059669;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #047857;
  text-decoration: underline;
}

.breadcrumbs li:last-child {
  color: #64748b;
}

/* Hero Improvements */
.hero-cta-large {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
  max-width: 500px;
}

.hero-cta-large .btn {
  height: 60px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.hero-cta-large .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.quick-prices {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* Price Emphasis */
.price-highlight {
  font-size: 40px !important;
  color: #059669 !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* Google Maps Container */
.map-container {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.map-link-button {
  display: block;
  width: 100%;
  padding: 16px;
  background: #0EA5E9;
  color: white;
  text-align: center;
  border-radius: 0 0 12px 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.map-link-button:hover {
  background: #0284C7;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
  .rating-badge {
    font-size: 14px;
  }

  .rating-badge .stars {
    font-size: 20px;
  }

  .rating-badge .rating-text {
    font-size: 16px;
  }

  .hero-cta-large .btn {
    height: 56px;
    font-size: 18px;
  }

  .emergency-callout h2 {
    font-size: 22px;
  }

  .emergency-button {
    font-size: 20px;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.status-wrapper {
  padding: 16px 0;
}

.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 24px;
  margin-bottom: 24px;
  border-left: 4px solid rgba(15, 23, 42, 0.12);
}

.status-text {
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
}

.status-banner.status-open {
  border-left-color: #059669;
}

.status-banner.status-closed {
  border-left-color: #b91c1c;
}

.status-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.status-actions .btn {
  flex: 1 1 200px;
}

.status-actions .btn+.btn {
  margin-top: 0;
}

.hero {
  position: relative;
  padding: 120px 0 96px;
  color: #f8fafc;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.55), rgba(2, 6, 23, 0.65));
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.hero-card h1,
.hero-card p,
.hero-card .rating-text,
.hero-card .trust-badge {
  color: #ffffff;
}

.hero-card p {
  color: rgba(248, 250, 252, 0.92);
}

.care-overview {
  background: #208281;
  color: rgba(255, 255, 255, 0.92);
}

.care-overview .section-title h2 {
  color: #ffffff;
}

.care-overview .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.care-overview .procedure-steps li {
  background: rgba(255, 255, 255, 0.94);
  border-left-color: rgba(255, 255, 255, 0.6);
  color: var(--text-dark);
}

.care-overview .procedure-steps li::before {
  background: rgba(255, 255, 255, 0.92);
  color: #208281;
}

.care-overview .procedure-steps strong {
  color: var(--primary-dark);
}

.care-overview .procedure-steps span {
  color: var(--text-dark);
}

body {
  background-color: #208281 !important;
  background-image: none !important;
}

/* iOS-style overlay for mobile menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* когда меню открыто – показываем overlay */
body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* меню и кнопка закрытия ДОЛЖНЫ быть выше overlay */
.mobile-menu,
.mobile-nav,
.mobile-menu-panel {
  position: fixed;
  z-index: 50;
}

.btn .btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* Mobile Home Button */
.mobile-home-btn {
  display: none;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mobile-home-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Show mobile home button only on mobile */
@media (max-width: 768px) {
  .mobile-home-btn {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
  }

  .mobile-home-btn:hover {
    transform: translate(-50%, -50%) translateY(-1px);
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 50px;
  }

  .language-switcher {
    position: relative;
    z-index: 10;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 10;
  }
}

/* ========================================
   HIDE FOOTER SECTIONS
   ======================================== */
/* Hide Quick Links and Our Services sections in footer */
.footer-content .footer-section:nth-child(2),
.footer-content .footer-section:nth-child(3),
.footer-grid .footer-section:nth-child(2),
.footer-grid .footer-section:nth-child(3) {
  display: none;
}

/* Hide social icons on all pages except homepage */
body:not(.homepage) .footer-section .social-links {
  display: none;
}