/*
Theme Name: Aibolit Vet
Theme URI: https://aibolit.vet
Author: Aibolit Veterinary Clinic
Author URI: https://aibolit.vet
Description: Сучасна тема для ветеринарної клініки Айболіт у Переяславі. Дизайн натхненний шаблоном Veterinary Clinic від AxiomThemes.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aibolit-vet
Tags: veterinary, clinic, one-page, modern, green
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --color-primary: #28a5d3;
  --color-primary-dark: #1a87b0;
  --color-primary-light: #e3f4fb;
  --color-secondary: #e8894a;
  --color-accent: #f5a623;
  --color-dark: #1a1a1a;
  --color-dark-2: #2c2c2c;
  --color-gray: #6b7280;
  --color-gray-light: #f4f4f4;
  --color-beige: #faf7f2;
  --color-white: #ffffff;
  --color-border: #e5e7eb;

  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);

  --transition: all 0.3s ease;
  --container-width: 1280px;
  --section-padding: 100px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section--dark {
  background: var(--color-dark-2);
  color: var(--color-white);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('https://aibolit.lisa.ck.ua/wp-content/uploads/2026/06/paw-blue.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

.section-label--white {
  color: rgba(255,255,255,0.7);
}
.section-label--white::before {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.section-title--white {
  color: var(--color-white);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-gray);
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

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

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 6px 0;
}

.site-header--scrolled {
  background: rgba(15, 25, 40, 0.97);
  backdrop-filter: blur(10px);
  padding: 4px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img,
.site-logo .custom-logo,
img.custom-logo {
  height: 92px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain;
  display: block;
}

.header-phone {
  white-space: nowrap;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.site-logo .logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 4px;
}

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

.site-nav a:hover { color: var(--color-white); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.current-menu-item { color: var(--color-white); }
.site-nav a.current-menu-item::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  fill: var(--color-secondary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--color-dark-2);
  z-index: 2000;
  padding: 80px 32px 40px;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  right: 0;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu nav a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
}

.mobile-overlay.is-open {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark-2);
}

.hero > .container {
  width: 100%;
}

.page-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Photo placeholder (shows immediately while video loads, then fades out) */
.page-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
  transition: opacity 1s ease;
}
.page-hero-bg-img.video-loaded {
  opacity: 0;
  pointer-events: none;
}

/* Video sits on top of photo */
.page-hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40,165,211,0.22) 0%, transparent 60%);
  z-index: 0;
}

.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 40, 0.88) 0%,
    rgba(20, 50, 80, 0.7) 50%,
    rgba(10, 20, 40, 0.82) 100%
  );
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 40, 0.88) 0%,
    rgba(20, 50, 80, 0.6) 60%,
    rgba(10, 20, 40, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 700px;
}

.hero-label {
  display: none !important;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   SERVICES MINI (top 3)
   ============================================ */
.services-mini {
  padding: 80px 0;
  background: var(--color-white);
}

.services-mini-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-mini-card {
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-mini-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.service-mini-icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.service-mini-card:hover .service-mini-icon {
  background: var(--color-primary-light);
}

.service-mini-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-primary);
  transition: var(--transition);
}

.service-mini-card:hover .service-mini-icon svg {
  stroke: var(--color-primary);
}

.service-mini-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-dark);
}

.service-mini-card p {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--color-beige);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

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

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

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

.about-badge {
  position: absolute;
  top: 40px;
  right: -20px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge .years {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}

.about-badge .years-text {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 4px;
}

.about-content {
  padding-right: 20px;
}

.about-text {
  font-size: 16px;
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
}

.about-feature h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 13px;
  color: var(--color-gray);
}

/* ============================================
   SERVICES FULL
   ============================================ */
.services-full {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-primary);
  transition: height 0.4s ease;
}

.service-card:hover {
  border-color: var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before {
  height: 100%;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-primary-light);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  stroke: var(--color-primary);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
}

.service-card p {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.7;
  flex: 1;
}

.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.service-price-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.service-price-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-price-link:hover {
  color: var(--color-primary-dark);
}

.service-price-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.service-price-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--color-dark-2);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  stroke: none;
}

.testimonial-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: var(--color-white);
}

.stat-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 12px;
  color: var(--color-white);
}

.stat-label {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: var(--section-padding) 0;
  background: var(--color-beige);
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.team-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 28px;
}

.team-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.team-card-role {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 165, 211, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(40, 165, 211, 0.2);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-beige);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.contact-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 6px;
}

.contact-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
}

.contact-item-value a:hover {
  color: var(--color-primary);
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-form .form-subtitle {
  color: var(--color-gray);
  font-size: 15px;
  margin-bottom: 32px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(40,165,211,0.1);
}

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

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

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  height: 450px;
  overflow: hidden;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-dark-2);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  align-self: start;
}

.footer-brand .site-logo {
  display: flex !important;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-brand .custom-logo-link {
  display: flex;
  justify-content: center;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social-link:hover svg {
  fill: white;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

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

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

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

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > * { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(n+9) { transition-delay: 0.45s; }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--color-dark-2);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40,165,211,0.3) 0%, transparent 60%);
}

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

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.breadcrumbs a,
.breadcrumbs span {
  color: rgba(255,255,255,0.5);
}

.breadcrumbs a:hover {
  color: white;
}

.breadcrumbs .sep {
  color: rgba(255,255,255,0.3);
}

/* ============================================
   WORDPRESS DEFAULT CLASSES
   ============================================ */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.sticky { position: relative; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   SERVICES MINI CAROUSEL
   ============================================ */
.smc-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.smc-viewport {
  overflow: hidden;
  flex: 1;
}
.smc-track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.smc-slide {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}
.smc-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
}
.smc-btn:hover { background: var(--color-primary); color: var(--color-white); }
.smc-btn:disabled { opacity: 0.35; cursor: default; }
.smc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.smc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.smc-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 1100px) {
  :root { --section-padding: 80px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-images { order: -1; }
  .about-img-secondary { right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .services-mini-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .smc-slide { flex: 0 0 calc(50% - 14px); }
  .smc-btn { width: 38px; height: 38px; font-size: 16px; margin: 0 4px; }
  .site-nav { display: none; }
  .header-actions .btn { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: block; }

  .hero-title { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .site-logo { display: flex !important; justify-content: center; }
  .footer-brand .custom-logo-link { display: flex; justify-content: center; }
  .footer-brand .footer-socials { justify-content: center; }
  .footer-brand p { margin-bottom: 32px; }
  .team-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  :root { --section-padding: 60px; }
  .smc-slide { flex: 0 0 calc(100% - 8px); }
  .smc-btn { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MEDIA VIDEO BOXES — play button + modal
   ============================================================ */

/* Wrapper for video items in the about block */
.media-video-wrap {
    position: relative;
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}
.media-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.media-video-wrap:hover img {
    transform: scale(1.04);
}
.media-video-no-poster {
    width: 100%;
    height: 100%;
    background: #1a2332;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-size: 48px;
}
.media-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Play button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(40, 165, 211, 0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(40, 165, 211, 0.45);
}
.media-video-wrap:hover .play-btn {
    background: rgba(40, 165, 211, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Pulsing rings */
.play-btn__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(40, 165, 211, 0.35);
    animation: play-ring 2.2s ease-out infinite;
}
.play-btn__ring--2 {
    animation-delay: 0.8s;
    background: rgba(40, 165, 211, 0.2);
}
@keyframes play-ring {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Triangle */
.play-btn__triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ── Video modal ──────────────────────────────────────────── */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modal-in 0.25s ease;
}
@keyframes modal-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 28, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.video-modal__inner {
    position: relative;
    z-index: 1;
    width: min(900px, 92vw);
}
.video-modal__inner video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s;
    padding: 4px;
}
.video-modal__close:hover { opacity: 1; }

/* About feature icon — image variant */
.about-feature-icon--img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--color-accent-light, #e3f4fb);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-feature-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radiu