:root {
  --bg: #090806;
  --panel: #12100c;
  --cream: #fff8e8;
  --muted: #d7c7a8;
  --gold: #d9ad5f;
  --gold-2: #f5d78d;
  --line: rgba(245, 215, 141, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 6, 0.82);
  color: var(--muted);
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 6, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-2);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cream);
  font-size: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1207;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(217, 173, 95, 0.22);
}

.btn.secondary {
  background: transparent;
  color: var(--gold-2);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.94) 0%, rgba(9, 8, 6, 0.78) 42%, rgba(9, 8, 6, 0.28) 100%),
    url("../img/dogs/garden-duo.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(245, 215, 141, 0.18), transparent 30%),
    radial-gradient(circle at 88% 60%, rgba(217, 173, 95, 0.14), transparent 32%);
  animation: glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 86px 0;
}

.eyebrow {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

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

h2 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  margin-top: 22px;
  max-width: 680px;
  font-size: 1.16rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 760px;
}

.trust-row div,
.card,
.dog-card,
.faq details,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 232, 0.045);
  box-shadow: var(--shadow);
}

.trust-row div {
  padding: 16px;
}

.trust-row strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.35rem;
}

.section {
  padding: 92px 0;
}

.section.light {
  background: #fff8e8;
  color: #22170d;
}

.section.light h2,
.section.light h3 {
  color: #20150b;
}

.section.light p,
.section.light li {
  color: #5d4b32;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 560px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

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

.card {
  padding: 26px;
}

.card strong {
  color: var(--gold-2);
}

.section.light .card {
  background: #ffffff;
  border-color: rgba(110, 80, 34, 0.15);
  box-shadow: 0 18px 45px rgba(45, 31, 14, 0.08);
}

.section.light .card strong {
  color: #8b5d16;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.dog-card {
  overflow: hidden;
  background: #12100c;
}

.dog-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.dog-card div {
  padding: 20px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.banner {
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(0deg, rgba(9, 8, 6, 0.92), rgba(9, 8, 6, 0.18)),
    url("../img/banners/puppies-available.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery img:first-child {
  height: 634px;
  grid-row: span 2;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--cream);
  font-weight: 800;
}

.faq p {
  margin-top: 10px;
}

.contact-panel {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 232, 0.07);
  color: var(--cream);
  padding: 14px 15px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  background: #050403;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 24px;
}

.subpage-hero {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.92), rgba(9, 8, 6, 0.56)),
    url("../img/dogs/portrait-dark.png") center / cover no-repeat;
}

.article {
  max-width: 860px;
}

.article h2,
.article h3 {
  margin-top: 34px;
}

.article p,
.article li {
  margin-top: 12px;
}

.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  max-width: 760px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 8, 6, 0.96);
  box-shadow: var(--shadow);
}

.cookie.show {
  display: block;
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #041807;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: rgba(9, 8, 6, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .footer-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

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

  .gallery img,
  .gallery img:first-child {
    height: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .topbar .container {
    flex-direction: column;
    gap: 2px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero {
    min-height: auto;
    background-position: 60% center;
  }

  .hero-content {
    padding: 72px 0;
  }

  .section {
    padding: 64px 0;
  }

  .banner {
    min-height: 360px;
    padding: 22px;
  }
}

/* Royal animated side menu and premium motion layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 215, 141, 0.16), transparent 24%),
    radial-gradient(circle at 78% 10%, rgba(217, 173, 95, 0.12), transparent 22%),
    linear-gradient(120deg, #050403, #120d07 45%, #050403);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(245, 215, 141, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255, 248, 232, 0.45) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 180px 180px;
  animation: sparkleDrift 18s linear infinite;
}

@keyframes sparkleDrift {
  from { background-position: 0 0, 80px 40px; }
  to { background-position: 160px 260px, -120px 180px; }
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
}

.royal-menu {
  position: relative;
  z-index: 2;
  margin: 42px 0;
  padding: 24px 22px 22px;
  border: 1px solid rgba(245, 215, 141, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(9, 8, 6, 0.82), rgba(9, 8, 6, 0.82)),
    url("../img/brand/royal-side-menu-reference.jpeg") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(245, 215, 141, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 42px rgba(217, 173, 95, 0.18);
  overflow: hidden;
}

.royal-menu::before,
.royal-menu::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 215, 141, 0.34);
  border-radius: 6px;
  pointer-events: none;
}

.royal-menu::after {
  inset: auto -40% 0;
  height: 90px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 141, 0.22), transparent);
  animation: royalSweep 5s ease-in-out infinite;
}

@keyframes royalSweep {
  0%, 100% { transform: translateX(-25%); opacity: 0.25; }
  50% { transform: translateX(25%); opacity: 0.65; }
}

.royal-menu-logo {
  width: 150px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 18px rgba(245, 215, 141, 0.35));
}

.royal-menu h2 {
  margin-bottom: 16px;
  text-align: center;
  color: var(--gold-2);
  font-size: 1.34rem;
}

.royal-menu nav {
  display: grid;
  gap: 9px;
}

.royal-menu a {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid rgba(245, 215, 141, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 7, 3, 0.68);
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 700;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.royal-menu a::before {
  content: attr(data-icon);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 215, 141, 0.3);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 215, 141, 0.28), rgba(217, 173, 95, 0.08));
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(245, 215, 141, 0.12);
}

.royal-menu a:hover {
  transform: translateX(-6px);
  border-color: rgba(245, 215, 141, 0.72);
  background: rgba(37, 24, 8, 0.86);
}

.royal-menu a span {
  position: relative;
  z-index: 1;
}

.royal-menu .royal-cta {
  margin-top: 14px;
  grid-template-columns: 1fr;
  justify-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1207;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
}

.royal-menu .royal-cta::before {
  display: none;
}

.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(18deg);
  animation: shineMove 6s ease-in-out infinite;
}

@keyframes shineMove {
  0%, 45% { left: -70%; }
  70%, 100% { left: 125%; }
}

.btn,
.card,
.dog-card {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(217, 173, 95, 0.32);
}

.card:hover,
.dog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 215, 141, 0.5);
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .royal-menu {
    margin-top: 0;
  }
}

.royal-dock {
  position: fixed;
  top: 150px;
  right: 18px;
  z-index: 40;
  width: 250px;
  max-height: calc(100vh - 190px);
  overflow: auto;
  padding: 16px 14px;
  border: 1px solid rgba(245, 215, 141, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(rgba(9, 8, 6, 0.78), rgba(9, 8, 6, 0.88)),
    url("../img/brand/royal-side-menu-reference.jpeg") center / cover no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(245, 215, 141, 0.2),
    0 18px 60px rgba(0, 0, 0, 0.58),
    0 0 38px rgba(217, 173, 95, 0.2);
  animation: dockEnter 0.8s cubic-bezier(.2,.7,.2,1) both;
}

.royal-dock::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 215, 141, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.royal-dock::after {
  content: "";
  position: absolute;
  inset: auto -55% 0;
  height: 70px;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 141, 0.24), transparent);
  animation: royalSweep 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dockEnter {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.royal-dock-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1.15;
}

.royal-dock-head img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(245, 215, 141, 0.4));
}

.royal-dock-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.royal-dock-links a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 6px 9px;
  border: 1px solid rgba(245, 215, 141, 0.18);
  border-radius: 8px;
  background: rgba(10, 7, 3, 0.72);
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.royal-dock-links a::before {
  content: attr(data-icon);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 215, 141, 0.3);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 215, 141, 0.28), rgba(217, 173, 95, 0.08));
  font-family: "Segoe UI Symbol", Arial, sans-serif;
  font-size: 1rem;
}

.royal-dock-links a:hover {
  transform: translateX(-5px);
  border-color: rgba(245, 215, 141, 0.72);
  background: rgba(37, 24, 8, 0.88);
}

.royal-dock-toggle {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 42;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(245, 215, 141, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1207;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1380px) {
  .royal-dock {
    width: 218px;
  }
}

@media (max-width: 1180px) {
  .royal-dock {
    display: none;
    top: auto;
    right: 18px;
    left: 18px;
    bottom: 154px;
    width: auto;
    max-height: 66vh;
  }

  .royal-dock.open {
    display: block;
  }

  .royal-dock-toggle {
    display: block;
  }
}
