/* Remote Vet Assistant landing page (EN + UZ). System fonts only, no external assets. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #0F4C5C;
  --teal-deep: #0a3a47;
  --blue: #245f94;
  --amber: #E9C46A;
  --amber-strong: #D4A12A;
  --cream: #FAF3DD;
  --dark: #082F39;
  --muted: #4A6B67;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--cream); color: var(--dark); line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--amber); color: var(--dark); padding: 0.5rem 0.75rem; border-radius: 6px; z-index: 200; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ─── NAV ─── */
.site-nav {
  background: var(--teal);
  padding: 1rem 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.nav-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav-brand svg { flex: none; }
.nav-name { font-family: var(--serif); font-size: 1.2rem; color: #fff; letter-spacing: 0.02em; font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-pill {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--amber); padding: 0.3rem 0.9rem; border-radius: 2rem; font-weight: 500;
  animation: pulse-border 2.5s ease-in-out infinite;
}
@keyframes pulse-border { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 196, 106, 0); } 50% { box-shadow: 0 0 0 4px rgba(233, 196, 106, 0.15); } }

.lang-switch ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; }
.lang-switch li + li::before { content: "|"; color: rgba(255, 255, 255, 0.6); margin-right: 0.25rem; }
.lang-switch a, .lang-switch [aria-current] { display: inline-block; padding: 0.3rem 0.35rem; }
.lang-switch a { color: #fff; text-underline-offset: 0.2em; }
.lang-switch a:hover { color: var(--amber); }
.lang-switch [aria-current] { color: var(--amber); }

/* ─── HERO ─── */
.hero { background: var(--teal); position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 520px; position: relative; overflow: hidden; background: var(--dark); }
.hero-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 47, 57, 0.15) 0%, rgba(15, 76, 92, 0.92) 100%); }
.img-note {
  position: absolute; right: 0.75rem; top: 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.04em; color: #fff;
  background: rgba(8, 47, 57, 0.78); padding: 0.2rem 0.6rem; border-radius: 2rem;
}
.hero-content { padding: 3.5rem 2rem 5rem; text-align: center; max-width: 860px; margin: 0 auto; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.amber-line { width: 60px; height: 3px; background: var(--amber); border-radius: 2px; margin: 0 auto 1.8rem; }
.hero-title { font-family: var(--serif); font-size: clamp(2rem, 6vw, 4.4rem); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: 0.005em; margin-bottom: 0.4rem; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 2.2vw, 1.4rem); color: var(--amber); letter-spacing: 0.04em; margin-bottom: 1.4rem; }
.hero-tagline { font-size: clamp(0.95rem, 1.8vw, 1.15rem); color: rgba(255, 255, 255, 0.88); font-weight: 300; line-height: 1.8; margin: 0 auto 2rem; max-width: 680px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 2.5rem; }
.lang-pill {
  text-decoration: none; display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0.95rem; border-radius: 2rem; transition: all 0.2s;
}
.lang-pill:hover { color: var(--dark); background: var(--amber); border-color: var(--amber); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--dark);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2.4rem; border-radius: 3rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(233, 196, 106, 0.4);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(233, 196, 106, 0.5); background: var(--amber-strong); }

/* ─── GALLERY ─── */
.gallery-wrap { background: var(--cream); padding: 5rem 0; }
.gallery-section { padding: 0 2rem; max-width: 1160px; margin: 0 auto; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 0.7rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--blue); }
.eyebrow.center { justify-content: center; }
.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--teal); line-height: 1.15; margin-bottom: 0.8rem; }
.section-sub { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; max-width: 620px; }

.photo-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.photo-card { border-radius: 12px; overflow: hidden; position: relative; background: var(--teal); min-width: 0; }
.photo-card.large { grid-column: 1 / 2; grid-row: 1 / 3; }
.photo-card.tall { grid-column: 2 / 3; grid-row: 1 / 2; }
.photo-card.pair { grid-column: 2 / 3; grid-row: 2 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: transparent; border-radius: 0; overflow: visible; }
.pair .sub-card { border-radius: 12px; overflow: hidden; background: var(--teal); min-width: 0; }
.photo-media { width: 100%; display: block; object-fit: cover; transition: transform 0.5s ease; }
.photo-card:hover .photo-media, .sub-card:hover .photo-media { transform: scale(1.03); }
.photo-card.large .photo-media { height: 480px; }
.photo-card.tall .photo-media { height: 232px; }
.sub-card .photo-media { height: 220px; }

.caption { padding: 0.9rem 1.2rem 1.1rem; background: linear-gradient(to right, var(--teal), var(--teal-deep)); position: relative; }
.caption-tag { display: inline-block; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(233, 196, 106, 0.45); padding: 0.18rem 0.55rem; border-radius: 2rem; margin-bottom: 0.4rem; }
.caption-title, .caption-desc { display: block; }
.caption-title { font-family: var(--serif); font-size: 1rem; color: #fff; font-weight: 400; line-height: 1.3; }
.caption-desc { font-size: 0.78rem; color: rgba(255, 255, 255, 0.82); margin-top: 4px; }
.sub-card .caption { padding: 0.7rem 1rem 0.9rem; }
.sub-card .caption-title { font-size: 0.9rem; }
.gallery-note { margin-top: 1rem; font-size: 0.8rem; color: var(--muted); font-style: italic; }

/* ─── MISSION ─── */
.mission { background: var(--teal); padding: 6rem 2rem; }
.mission-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.mission-eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.mission-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--amber); }
.mission-title { font-family: var(--serif); font-size: clamp(1.6rem, 3.3vw, 2.3rem); color: #fff; line-height: 1.25; margin-bottom: 1rem; }
.amber-rule { width: 60px; height: 3px; background: var(--amber); border-radius: 2px; margin: 1.2rem 0; }
.mission-text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); line-height: 1.85; }
.features { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.feature { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; padding: 1.15rem 1.3rem; display: flex; align-items: flex-start; gap: 14px; transition: background 0.2s, border-color 0.2s; }
.feature:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(233, 196, 106, 0.3); }
.feature-dot { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: rgba(233, 196, 106, 0.14); border: 1px solid rgba(233, 196, 106, 0.3); display: flex; align-items: center; justify-content: center; }
.feature-title { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.feature-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); line-height: 1.65; }

/* ─── CONTACT ─── */
.contact-section { background: var(--cream); padding: 5rem 2rem; text-align: center; }
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--teal); margin-bottom: 0.8rem; line-height: 1.2; }
.contact-text { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  background: var(--teal); color: #fff; font-size: 0.95rem; font-weight: 500;
  padding: 1rem 2rem; border-radius: 3rem; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s; box-shadow: 0 4px 20px rgba(15, 76, 92, 0.25);
}
.contact-email span { overflow-wrap: anywhere; }
.contact-email:hover { transform: translateY(-2px); background: var(--teal-deep); box-shadow: 0 8px 28px rgba(15, 76, 92, 0.35); }
.contact-note { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; margin-top: 1.4rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand-name { font-family: var(--serif); font-size: 1rem; color: #fff; font-weight: 700; }
.footer-copy { font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.04em; }
.footer-copy a { color: var(--amber); text-underline-offset: 0.2em; }
.footer-copy a:hover { color: #fff; }
.amber { color: var(--amber); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-card.large, .photo-card.tall { grid-column: auto; grid-row: auto; }
  .photo-card.pair { grid-column: auto; grid-row: auto; display: block; }
  .pair .sub-card { margin-bottom: 14px; }
  .photo-card.large .photo-media { height: 320px; }
  .mission-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-img { height: 360px; }
  .site-nav { padding: 0.8rem 1.2rem; }
}
@media (max-width: 30rem) {
  .site-nav { padding: 0.7rem 1rem; }
  .nav-brand { gap: 10px; }
  .nav-brand svg { width: 34px; height: 34px; }
  .nav-name { font-size: 1.05rem; }
  .hero-img { height: 260px; }
  .hero-content { padding: 2.5rem 1rem 3.5rem; }
  .hero-cta { padding: 0.9rem 1.6rem; }
  .gallery-wrap { padding: 3.5rem 0; }
  .gallery-section { padding: 0 1rem; }
  .mission { padding: 4rem 1rem; }
  .contact-section { padding: 3.5rem 1rem; }
  .contact-email { padding: 0.9rem 1.2rem; }
  .site-footer { padding: 1.75rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .photo-card:hover .photo-media, .sub-card:hover .photo-media, .hero-cta:hover, .contact-email:hover { transform: none; }
}
