:root {
  --green: #1457ad;
  --green-2: #0d4085;
  --mint: #edf4ff;
  --cream: #f6f8fc;
  --ink: #112b50;
  --muted: #5e6f85;
  --line: #dce5f0;
  --white: #fff;
  --orange: #ffca21;
  --gold: #f59e0b;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --header: rgba(255, 255, 255, 0.92);
  --shadow: rgba(17, 43, 80, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

/* Public-site image-drag deterrence. Files delivered to a browser can never
   be completely hidden from a determined visitor. */
img, svg {
  -webkit-user-drag: none;
  user-drag: none;
}

.site-context-menu {
  position: fixed;
  z-index: 99999;
  width: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 45px rgba(7, 19, 36, 0.22);
}

.site-context-menu[hidden] { display: none; }
.site-context-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: 600 13px "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
.site-context-menu button:hover,
.site-context-menu button:focus-visible { background: var(--surface-soft); outline: none; }
.site-context-menu button span { width: 18px; color: var(--green); font-size: 16px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 43, 80, 0.08);
}
.nav-wrap { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  justify-self: start;
}
.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 87, 173, 0.12);
}
.nav { display: flex; gap: 24px; margin: 0; align-items: center; justify-self: center; }
.nav a { font-size: 14px; font-weight: 600; color: #405471; transition: color 0.2s ease; }
.nav a:hover { color: var(--green); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger,
.language-trigger,
.theme-toggle {
  border: 0;
  background: transparent;
  color: #405471;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nav-dropdown-trigger,
.language-trigger { display: flex; align-items: center; gap: 5px; padding: 10px 0; }
.nav-dropdown-trigger svg,
.language-trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-trigger svg,
.language-menu.open .language-trigger svg { transform: rotate(180deg); }
.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: -150px;
  width: min(680px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 20px 20px 58px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 70px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-dropdown.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-column { padding: 8px 20px; }
.mega-column + .mega-column { border-left: 1px solid var(--line); }
.mega-label { display: block; margin-bottom: 10px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.mega-link { display: flex !important; align-items: center; gap: 12px; margin: 4px 0; padding: 10px; border-radius: 13px; }
.mega-link:hover { background: var(--mint); }
.mega-link > span:last-child { display: flex; flex-direction: column; }
.mega-link strong { color: var(--ink); font-size: 14px; }
.mega-link small { color: var(--muted); font-size: 12px; font-weight: 400; }
.mega-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: var(--mint); color: var(--green); font-size: 16px; }
.mega-footer { position: absolute; inset: auto 0 0; height: 50px; display: flex; align-items: center; gap: 18px; padding: 0 28px; background: var(--surface-soft); border-radius: 0 0 22px 22px; }
.mega-footer span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.mega-footer a { font-size: 13px; font-weight: 500; }
.header-tools { display: flex; align-items: center; justify-self: end; gap: 8px; }
.language-menu { position: relative; }
.language-trigger { min-width: 52px; justify-content: center; color: var(--ink); padding: 9px 7px; border-radius: 10px; }
.language-trigger:hover,
.theme-toggle:hover { background: var(--mint); color: var(--green); }
.language-options { position: absolute; top: calc(100% + 10px); right: 0; min-width: 132px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 16px 40px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease; }
.language-menu.open .language-options { opacity: 1; visibility: visible; transform: translateY(0); }
.language-options button { width: 100%; display: flex; justify-content: space-between; gap: 14px; padding: 8px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.language-options button:hover,
.language-options button.active { background: var(--mint); color: var(--green); }
.language-code { color: var(--muted); font-family: "DM Sans", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.language-options button:hover .language-code,
.language-options button.active .language-code { color: currentColor; opacity: .78; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 87, 173, 0.22);
}
.btn-primary:hover {
  background: var(--green-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 87, 173, 0.3);
}
.btn-soft { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--cream); transform: translateY(-1px); }
.header-cta { min-height: 44px; padding: 0 18px; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* Hero Section */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(135deg, #f8faff 0%, #eef5ff 100%);
  overflow: hidden;
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 50px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow.light { color: #d4e5ff; }
h1, h2, h3, h4 { font-family: Manrope, sans-serif; letter-spacing: -0.03em; margin: 0; }
h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.12;
  max-width: 760px;
  color: var(--ink);
}
h1 span { color: var(--green); }
h1 > span[data-i18n="8"] { color: inherit; }
.hero-copy > p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 610px; margin: 24px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 32px; margin-top: 42px; }
.trust-row div { display: flex; flex-direction: column; }
.trust-row strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.trust-row span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; min-height: 490px; }
.hero-image {
  height: 490px;
  border-radius: 34px;
  background: url("assets/delivery-map.svg") center/cover no-repeat;
  box-shadow: 0 24px 65px rgba(20, 87, 173, 0.16);
  border: 1px solid rgba(20, 87, 173, 0.1);
}
.floating-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 45px rgba(17, 43, 80, 0.14);
  border: 1px solid rgba(220, 229, 240, 0.8);
  animation: float 4s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(0px); }
  to { transform: translateY(-8px); }
}
.floating-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  color: var(--green);
}
.floating-card .icon svg { width: 22px; height: 22px; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 14px; font-weight: 700; }
.floating-card small { color: var(--muted); margin-top: 2px; font-size: 12px; }
.card-a { left: -24px; bottom: 48px; }
.card-b { right: -24px; top: 58px; animation-delay: -2s; }

/* General Sections */
.section { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 42px; }
.section-head h2, .feature-copy h2, .vet-copy h2, .about h2, .contact h2, .cta h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
}
.section-head p { max-width: 480px; color: var(--muted); margin: 0; font-size: 17px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card {
  padding: 30px;
  background: #fcfdff;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(17, 43, 80, 0.09);
  border-color: #adc9ee;
}
.cat-icon { font-size: 32px; margin-bottom: 24px; }
.category-card h3 { font-size: 22px; margin-bottom: 8px; }
.category-card p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.category-card a { color: var(--green); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.category-card a:hover { text-decoration: underline; }

/* Pet Match Interactive Quick Finder */
.pet-finder-card {
  margin-top: 48px;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  border: 1px solid #dbe6f5;
  border-radius: 26px;
  padding: 38px 42px;
  box-shadow: 0 16px 42px rgba(20, 87, 173, 0.07);
}
.pet-finder-head { margin-bottom: 24px; }
.pet-finder-head h3 { font-size: 28px; margin-bottom: 6px; }
.pet-finder-head p { color: var(--muted); font-size: 16px; margin: 0; }
.finder-controls { display: grid; grid-template-columns: auto 1fr; gap: 28px; margin: 26px 0; align-items: center; }
.control-group { display: flex; flex-direction: column; gap: 10px; }
.control-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pet-opt, .need-opt {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pet-opt:hover, .need-opt:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}
.pet-opt.active, .need-opt.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 6px 18px rgba(20, 87, 173, 0.24);
  transform: translateY(-1px);
}
.rec-box {
  background: #fff;
  border-radius: 20px;
  padding: 22px 28px;
  border: 1px solid #d5e3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  box-shadow: 0 8px 24px rgba(17, 43, 80, 0.05);
}
.rec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--mint);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.rec-info h4 { font-size: 20px; color: var(--ink); margin: 0; }
.rec-cta { white-space: nowrap; flex-shrink: 0; min-height: 44px; padding: 0 20px; font-size: 14px; }

/* Why Jolly Pet (Features) */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: center; }
.feature-visual { position: relative; }
.stack-img {
  height: 560px;
  border-radius: 32px;
  background: url("https://petguru.ro/cdn/shop/articles/petstore-1692779749474_1200x1200.png?v=1692784023") center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(17, 43, 80, 0.12);
}
.mini-badge {
  position: absolute;
  right: -24px;
  bottom: 34px;
  background: var(--orange);
  color: #352113;
  padding: 18px 24px;
  border-radius: 18px;
  transform: rotate(-3deg);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  line-height: 1.3;
}
.feature-copy .lead { font-size: 18px; color: var(--muted); margin: 20px 0 30px; line-height: 1.6; }
.feature-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.feature-list > div > span { font-weight: 800; color: var(--green); font-size: 17px; }
.feature-list h3 { font-size: 18px; margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--muted); font-size: 15px; }

/* App Section */
.app-section { background: var(--green); color: #fff; overflow: hidden; padding: 100px 0; }
.app-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.app-copy h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; }
.app-copy p { color: #e1edff; max-width: 600px; font-size: 18px; margin: 22px 0 30px; line-height: 1.6; }
.store-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 480px; direction: ltr; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #091629;
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #7288a6;
  transition: transform 0.2s, background-color 0.2s;
  justify-content: center;
  direction: ltr;
  text-align: left;
  min-height: 52px;
}
.store-badge:hover { transform: translateY(-2px); background: #0e203a; }
.store-badge svg { width: 24px; height: 28px; flex-shrink: 0; }
.store-badge small { display: block; font-size: 9px; opacity: 0.85; }
.store-badge strong { display: block; font-size: 14px; line-height: 1.1; font-family: "DM Sans", Arial, sans-serif; }

/* Interactive App Switcher */
.app-switcher-wrap { margin-top: 34px; }
.switcher-hint { display: block; font-size: 12px; font-weight: 700; color: #b7d5ff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.app-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.app-tab {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.app-tab:hover { background: rgba(255, 255, 255, 0.2); }
.app-tab.active {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* Phone Mockups */
.phones { height: 610px; position: relative; }
.phone {
  width: 285px;
  height: 570px;
  border-radius: 42px;
  background: #10203b;
  padding: 11px;
  position: absolute;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}
.phone-front { right: 12%; top: 0; transform: rotate(3deg); z-index: 2; }
.phone-back { left: 12%; top: 46px; transform: rotate(-7deg); opacity: 0.92; z-index: 1; }
.phone-screen {
  height: 100%;
  border-radius: 33px;
  background: #f6f9ff;
  color: var(--ink);
  padding: 48px 18px 18px;
  overflow: hidden;
  position: relative;
}
.phone-top {
  position: absolute;
  z-index: 10;
  width: 92px;
  height: 24px;
  border-radius: 20px;
  background: #10203b;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
}
.mock-brand { font-weight: 900; font-size: 20px; font-family: Manrope, sans-serif; color: var(--green); }
.mock-search { background: #fff; border: 1px solid #dce5f0; border-radius: 12px; padding: 11px; margin: 16px 0; color: #788ca5; font-size: 12px; }
.mock-hero { height: 110px; border-radius: 18px; background: linear-gradient(135deg, #d7e8ff, #ffe58e); padding: 16px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; line-height: 1.25; }
.mock-cats { display: flex; gap: 8px; margin: 14px 0; }
.mock-cats b { background: #fff; padding: 8px 10px; border-radius: 9px; font-size: 11px; font-weight: 700; }
.mock-product { background: #fff; border-radius: 14px; padding: 10px; display: flex; gap: 11px; align-items: center; margin: 9px 0; border: 1px solid #e5edf7; }
.mock-product i { width: 46px; height: 46px; border-radius: 12px; background: #e0ecff; flex-shrink: 0; }
.mock-product small { color: var(--muted); font-size: 11px; }

/* Interactive Screens inside front phone */
.screen-view { display: none; }
.screen-view.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.mock-vets-header, .mock-reminder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 12px;
}
.mock-vets-header span, .mock-reminder-header span { font-weight: 800; font-size: 16px; }
.mock-vets-header small, .mock-reminder-header small { color: var(--green); font-weight: 700; font-size: 11px; }
.mock-vet-item {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #e1ebf7;
}
.mock-vet-item .vet-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mock-vet-item strong { display: block; font-size: 13px; }
.mock-vet-item small { color: var(--muted); font-size: 11px; }
.mock-reminder-card {
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  color: #fff;
}
.mock-reminder-card.red { background: linear-gradient(135deg, #ff5757, #e82643); }
.mock-reminder-card.blue { background: linear-gradient(135deg, #1457ad, #388bfd); }
.mock-reminder-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.mock-reminder-card small { opacity: 0.9; font-size: 12px; }

/* Back Phone Screen */
.app-screen-2 { background: #eef5ff; }
.mock-card.green {
  height: 160px;
  margin-top: 28px;
  background: var(--green);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.mock-card small { font-size: 12px; font-weight: 500; opacity: 0.9; }
.mock-lines i { display: block; height: 56px; background: #fff; border-radius: 14px; margin: 12px 0; }

/* Veterinarian Discovery & District Chips */
.vet-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.vet-copy p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 20px 0 24px; line-height: 1.6; }
.district-section { margin-bottom: 28px; }
.district-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.district-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.district-chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.district-chip:hover { border-color: var(--green); transform: translateY(-1px); }
.district-chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(20, 87, 173, 0.22);
}
.delivery-status-badge {
  display: inline-flex;
  align-items: center;
  background: #eef7ee;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s ease;
}
.delivery-status-badge.pop { transform: scale(1.04); }

.map-card {
  height: 460px;
  border-radius: 30px;
  background: #edf4fc;
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe6f3;
  box-shadow: 0 20px 50px rgba(17, 43, 80, 0.08);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#d9e5f3 1px, transparent 1px), linear-gradient(90deg, #d9e5f3 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.6;
}
.road { position: absolute; background: #fff; border: 8px solid #e0e8f3; border-radius: 99px; }
.r1 { width: 130%; height: 38px; left: -15%; top: 45%; transform: rotate(11deg); }
.r2 { width: 38px; height: 130%; left: 52%; top: -15%; transform: rotate(8deg); }
.r3 { width: 85%; height: 34px; left: 7%; top: 18%; transform: rotate(-18deg); }
.pin {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 8px;
  background: var(--green);
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 25px rgba(20, 87, 173, 0.22);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.pin span { color: #fff; font-size: 25px; font-weight: 700; transform: rotate(45deg); }
.pin.highlight {
  background: #ff5757;
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 0 0 10px rgba(255, 87, 87, 0.2);
}
.pin1 { left: 26%; top: 26%; }
.pin2 { right: 22%; top: 48%; }
.pin3 { left: 48%; bottom: 13%; }
.location-pill {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(17, 43, 80, 0.12);
  border: 1px solid var(--line);
  font-size: 14px;
}

/* Erbil Community Reviews Section */
.reviews-section { background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(17, 43, 80, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(17, 43, 80, 0.1);
  border-color: #adc9ee;
}
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.review-quote {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.avatar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; }
.review-author small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* FAQ Accordion Section */
.faq-section { background: #f8faff; }
.faq-accordion { max-width: 860px; margin: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.open {
  border-color: #adc9ee;
  box-shadow: 0 10px 30px rgba(17, 43, 80, 0.06);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 26px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  transition: transform 0.25s ease;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon { background: var(--green); }
.faq-item.open .faq-icon::before { background: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 26px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 26px 22px;
}
.faq-answer p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* About Section */
.about { background: #f8faff; }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; }
.about-text { font-size: 19px; color: #5c6d85; }
.about-text p { margin-top: 0; margin-bottom: 22px; line-height: 1.75; }

/* Contact Section */
.contact { padding-top: 0; background: #f8faff; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #e1e8f3;
}
.contact-panel { background: var(--ink); color: #fff; padding: 54px; }
.contact-panel > p { color: #d0def2; font-size: 17px; max-width: 480px; line-height: 1.6; }
.contact-details { margin-top: 40px; display: grid; gap: 22px; }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: #afc4e2; margin-bottom: 4px; }
.contact-details a { overflow-wrap: anywhere; color: #7db8ff; }
.contact-form { padding: 54px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-weight: 700; font-size: 13px; }
.contact-form label > span { display: block; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(20, 87, 173, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

/* Call To Action Banner */
.cta { padding: 90px 0; }
.cta-inner {
  background: linear-gradient(135deg, #e6f0ff, #f9fbff);
  padding: 52px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(20, 87, 173, 0.1);
}
.cta-inner p { color: var(--muted); max-width: 620px; font-size: 17px; line-height: 1.6; }

/* Footer */
footer { background: #0b2142; color: #fff; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 45px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid p { color: #b4c4dc; max-width: 360px; font-size: 15px; line-height: 1.6; }
.footer-grid h4 { font-family: Manrope, sans-serif; margin: 0 0 16px; font-size: 16px; color: #fff; }
.footer-grid > div > a:not(.brand) {
  display: block;
  color: #c3d0e5;
  margin: 10px 0;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-grid > div > a:not(.brand):hover { color: #fff; }
.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  color: #a7b9d2;
  font-size: 13px;
}

/* Dark appearance */
[data-theme="dark"] {
  color-scheme: dark;
  --page: #05080d;
  --surface: #0b1018;
  --surface-soft: #101720;
  --header: rgba(5, 8, 13, 0.94);
  --ink: #f2f5f9;
  --muted: #9aa7b6;
  --line: #202b38;
  --mint: #111d2b;
  --cream: #090e15;
  --shadow: rgba(0, 0, 0, 0.36);
}
[data-theme="dark"] .site-header { border-bottom-color: rgba(255,255,255,.08); }
[data-theme="dark"] .nav > a,
[data-theme="dark"] .nav-dropdown-trigger { color: #c2d1e4; }
[data-theme="dark"] .hero { background: linear-gradient(135deg, #060a10 0%, #0a111b 100%); }
[data-theme="dark"] .category-card,
[data-theme="dark"] .pet-finder-card,
[data-theme="dark"] .pet-opt,
[data-theme="dark"] .need-opt,
[data-theme="dark"] .rec-box,
[data-theme="dark"] .floating-card,
[data-theme="dark"] .reviews-section,
[data-theme="dark"] .review-card,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .about,
[data-theme="dark"] .contact,
[data-theme="dark"] .contact-grid,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .map-card,
[data-theme="dark"] .district-chip,
[data-theme="dark"] .location-pill,
[data-theme="dark"] .btn-soft {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"] .features { background: var(--page); }
[data-theme="dark"] .app-section { background: linear-gradient(145deg, #070b11, #0c1520); }
[data-theme="dark"] .contact-panel { background: #070b11; }
[data-theme="dark"] footer { background: #030609; }
[data-theme="dark"] .faq-item.open { border-color: #29445f; }
[data-theme="dark"] .cta-inner { background: linear-gradient(135deg, #0d1824, #101a26); }
[data-theme="dark"] .hero-image,
[data-theme="dark"] .stack-img { border-color: #28415f; filter: brightness(.86) saturate(.92); }
[data-theme="dark"] input,
[data-theme="dark"] textarea { background: #070b11; border-color: var(--line); color: var(--ink); }
[data-theme="dark"] .menu-btn span { background: var(--ink); }
[data-theme="dark"] .phone-screen,
[data-theme="dark"] .app-screen-2 { color: #112b50; }

/* Animations & Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.show { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
:focus-visible { outline: 3px solid #e6b300; outline-offset: 4px; }

/* Local Rabar 021 Font for Arabic & Kurdish Sorani */
@font-face {
  font-family: "Rabar 021";
  src: local("Rabar_021"), local("Rabar 021"), url("assets/Rabar_021.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.language-options [data-lang="ckb"],
.language-options [data-lang="ar"] { font-family: "Rabar 021", Tahoma, Arial, sans-serif; font-size: 15px; }

/* RTL (Right to Left) Styles for Arabic & Kurdish */
[dir=rtl] body,
[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] .brand,
[dir=rtl] .mock-brand,
[dir=rtl] .mock-hero,
[dir=rtl] button,
[dir=rtl] input,
[dir=rtl] textarea,
[dir=rtl] select {
  font-family: "Rabar 021", Tahoma, Arial, sans-serif;
}
[dir=rtl] body { font-size: 15px; line-height: 1.8; }
[dir=rtl] h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.45; letter-spacing: 0; }
[dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4 { letter-spacing: 0; line-height: 1.45; }
[dir=rtl] .eyebrow { letter-spacing: 0; }
[dir=rtl] .nav { margin: 0; }
[dir=rtl] .menu-btn { margin-left: 0; margin-right: auto; }
[dir=rtl] .hero-copy > p,
[dir=rtl] .feature-copy .lead,
[dir=rtl] .vet-copy p,
[dir=rtl] .about-text,
[dir=rtl] .app-copy p,
[dir=rtl] .contact-panel > p,
[dir=rtl] .review-quote {
  font-size: 16px;
  line-height: 1.95;
}
[dir=rtl] .btn { font-size: 14px; }
[dir=rtl] .store-badge strong { font-family: "DM Sans", Arial, sans-serif; }
[dir=rtl] .store-badge small { font-size: 9px; line-height: 1.6; }
[dir=rtl] .faq-question { text-align: right; }

/* RTL Asymmetry Fixes */
[dir=rtl] .mini-badge { right: auto; left: -24px; transform: rotate(3deg); }
[dir=rtl] .location-pill { left: auto; right: 24px; }
[dir=rtl] .card-a { left: auto; right: -24px; }
[dir=rtl] .card-b { right: auto; left: -24px; }

/* Responsive Media Queries */
@media(max-width: 1150px) {
  .nav-wrap { gap: 12px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .header-cta { display: none; }
}

@media(max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-wrap { display: flex; gap: 8px; }
  .brand { order: 1; }
  .header-tools { order: 2; margin-left: auto; }
  .menu-btn { display: block; order: 3; margin-left: 0; }
  [dir=rtl] .menu-btn { margin: 0; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(17, 43, 80, 0.18);
    z-index: 100;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    align-items: stretch;
    border: 1px solid var(--line);
  }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 8px 0; color: var(--ink); }
  .mega-menu {
    position: static;
    width: 100%;
    max-height: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .25s ease, padding .25s ease, margin .25s ease;
  }
  .nav-dropdown.open .mega-menu { max-height: 590px; margin-top: 8px; padding: 10px 10px 54px; border: 1px solid var(--line); }
  .mega-column { padding: 8px; }
  .mega-column + .mega-column { border-left: 0; border-top: 1px solid var(--line); }
  .mega-footer { padding: 0 18px; gap: 14px; overflow-x: auto; }

  .hero-grid, .split, .app-grid, .vet-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 48px; }
  .hero-visual { min-height: 440px; }
  .hero-image { height: 440px; }
  .card-a { left: 10px; }
  .card-b { right: 10px; }
  [dir=rtl] .card-a { right: 10px; left: auto; }
  [dir=rtl] .card-b { left: 10px; right: auto; }
  
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .finder-controls { grid-template-columns: 1fr; gap: 16px; }
  .rec-box { flex-direction: column; align-items: flex-start; }
  .rec-cta { width: 100%; }

  .feature-visual { order: 2; }
  .stack-img { height: 440px; }
  .mini-badge { right: 10px; }
  [dir=rtl] .mini-badge { left: 10px; right: auto; }

  .phones { height: 560px; margin-top: 18px; }
  .phone-front { right: 6%; }
  .phone-back { left: 6%; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media(max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 70px; }
  .brand span { display: none; }
  .brand-logo { width: 45px; height: 45px; }
  .header-tools { gap: 3px; }
  .language-trigger { min-width: 46px; }
  .theme-toggle { width: 38px; height: 38px; }
  .nav.open { top: 70px; }
  .hero { padding: 40px 0 60px; }
  h1 { font-size: 36px; }
  .hero-copy > p { font-size: 16px; }
  .trust-row { gap: 16px; justify-content: space-between; }
  .trust-row span { font-size: 11px; }

  .hero-visual { min-height: 360px; }
  .hero-image { height: 360px; border-radius: 25px; }
  .floating-card { font-size: 12px; padding: 10px 14px; }
  .card-a { left: 6px; bottom: 20px; }
  .card-b { right: 6px; top: 20px; }
  [dir=rtl] .card-a { right: 6px; left: auto; bottom: 20px; }
  [dir=rtl] .card-b { left: 6px; right: auto; top: 20px; }

  .section { padding: 64px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .category-grid { grid-template-columns: 1fr; }
  .pet-finder-card { padding: 26px 20px; }

  .split { gap: 40px; }
  .stack-img { height: 360px; }

  .app-section { padding: 70px 0 0; }
  .store-badges { gap: 6px; width: 100%; }
  .store-badge { padding: 8px 6px; gap: 4px; min-height: 48px; }
  .store-badge strong { font-size: 12px; }
  .store-badge small { font-size: 8px; }
  .store-badge svg { width: 19px; height: 23px; }

  .phones { height: 480px; margin-top: 10px; }
  .phone { width: 220px; height: 440px; border-radius: 32px; }
  .phone-screen { padding: 42px 13px 13px; }
  .phone-front { right: 0; }
  .phone-back { left: 0; }

  .vet-grid { gap: 32px; }
  .map-card { height: 360px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 16px; padding: 18px 20px; }
  .faq-answer p { font-size: 15px; }

  .about-grid { gap: 20px; }
  .contact-panel, .contact-form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-inner { padding: 34px 24px; display: block; }
  .cta-inner .btn { margin-top: 18px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; text-align: center; }
  .footer-bottom span { display: block; margin: 6px 0; }
}

@media(max-width: 350px) {
  .store-badges { gap: 4px; }
  .store-badge { padding: 6px 3px; gap: 3px; }
  .store-badge strong { font-size: 10px; }
  .store-badge small { font-size: 7px; }
  .store-badge svg { width: 16px; height: 20px; }
}

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