:root {
  --text: #102133;
  --muted: rgba(16, 33, 51, 0.72);
  --panel: rgba(255, 255, 255, 0.82);
  --line: rgba(20, 42, 65, 0.14);
  --shadow: 0 24px 70px rgba(18, 51, 84, 0.16);
  --header: rgba(255, 255, 255, 0.84);
  --brand: #ea620f;
  --brand-bright: #ff9b45;
  --brand-soft: #fff3eb;
  --brand-deep: #8f3506;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #fffaf6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: var(--header);
  border-bottom: 1px solid rgba(20, 42, 65, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(20, 42, 65, 0.12);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(16, 33, 51, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 33, 51, 0.06);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #102133;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 7vw, 110px) 80px;
  background:
    radial-gradient(circle at 16% 18%, rgba(234, 98, 15, 0.24), transparent 32%),
    radial-gradient(circle at 84% 32%, rgba(255, 155, 69, 0.22), transparent 30%),
    linear-gradient(135deg, #fffaf6 0%, var(--brand-soft) 48%, #fff7ef 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, #f6fbff);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(20, 42, 65, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 42, 65, 0.1) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 4.7rem);
}

h2 {
  font-size: clamp(2.6rem, 7vw, 3.6rem);
}

.hero p:not(.eyebrow),
.service-content p,
.site-footer p,
.modal-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.primary-link,
.info-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  color: #02101e;
  background: linear-gradient(135deg, #ffbd78, var(--brand));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(234, 98, 15, 0.2);
}

.info-button,
.whatsapp-button {
  gap: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 48px rgba(37, 211, 102, 0.28);
}

.info-button:hover,
.whatsapp-button:hover {
  background: linear-gradient(135deg, #2ee873, #0f7f72);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.service-section {
  --accent: var(--brand);
  --deep: var(--brand-soft);
  --dark: var(--brand-deep);
  --glow: rgba(234, 98, 15, 0.2);
  --card-shadow: rgba(234, 98, 15, 0.22);
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 58px clamp(20px, 7vw, 110px);
  background:
    linear-gradient(90deg, var(--dark) 0 18px, transparent 18px),
    radial-gradient(ellipse at 88% 50%, var(--glow), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--deep) 100%);
  border-top: 1px solid rgba(143, 53, 6, 0.14);
}

.service-section::before {
  content: "";
  position: absolute;
  inset: 0 0 0 18px;
  z-index: 1;
  background:
    radial-gradient(ellipse at 76% 28%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(105deg, rgba(255, 255, 255, 0.88) 0 34%, transparent 34% 100%);
  opacity: 0.9;
}

.service-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 53, 6, 0.24), transparent);
}

.section-logo {
  position: absolute;
  right: clamp(18px, 8vw, 120px);
  top: 50%;
  z-index: 1;
  width: clamp(150px, 24vw, 310px);
  height: auto;
  opacity: 0.18;
  filter: drop-shadow(0 24px 48px rgba(143, 53, 6, 0.18));
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
}

.service-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(20, 42, 65, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--card-shadow);
  backdrop-filter: blur(6px);
}

.service-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}

.service-title img {
  flex: 0 0 auto;
  width: clamp(46px, 7vw, 76px);
  height: clamp(46px, 7vw, 76px);
  object-fit: contain;
  filter: drop-shadow(0 12px 22px var(--card-shadow));
}

.service-tornadovet {
  --accent: var(--brand);
  --deep: #fff3eb;
  --dark: #8f3506;
  --glow: rgba(234, 98, 15, 0.22);
  --card-shadow: rgba(234, 98, 15, 0.24);
}

.service-lite {
  --accent: #28b9c7;
  --deep: #e9fbfd;
  --dark: #0c6672;
  --glow: rgba(40, 185, 199, 0.24);
  --card-shadow: rgba(40, 185, 199, 0.24);
}

.service-credential {
  --accent: #fe3312;
  --deep: #fff0ed;
  --dark: #8f1808;
  --glow: rgba(254, 51, 18, 0.2);
  --card-shadow: rgba(254, 51, 18, 0.24);
}

.service-pet {
  --accent: #3c0000;
  --deep: #fff1f1;
  --dark: #220000;
  --glow: rgba(60, 0, 0, 0.18);
  --card-shadow: rgba(60, 0, 0, 0.22);
}

.service-grooming {
  --accent: var(--brand-deep);
  --deep: #fff2e8;
  --dark: #5f2303;
  --glow: rgba(143, 53, 6, 0.18);
  --card-shadow: rgba(143, 53, 6, 0.2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(20px, 7vw, 110px);
  background: #ffffff;
  border-top: 1px solid rgba(20, 42, 65, 0.12);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  color: var(--brand);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 51, 0.34);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 235, 0.98));
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #102133;
  background: rgba(16, 33, 51, 0.06);
  font-size: 1.6rem;
  cursor: pointer;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(16, 33, 51, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(20, 42, 65, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: #102133;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

input.is-invalid {
  border-color: #d92d20;
  background: #fff3f1;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-error {
  min-height: 24px;
  margin: 0;
  color: #b42318;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(20, 42, 65, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .hero,
  .service-section {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 42px;
  }

  .service-content {
    padding: 22px;
  }

  .section-logo {
    right: -28px;
    width: 180px;
    opacity: 0.5;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
