/*
Theme Name: Riva Massage Center
Theme URI: https://rivamassagecenter.com
Author: Riva Massage Center
Author URI: https://rivamassagecenter.com
Description: A premium, calming WordPress theme built for Riva Massage Center — a massage & spa business located in Civic Center, Bahria Town Phase 4, Rawalpindi. Inspired by the relaxed, water-toned elegance of relaxspa.pk, with a dedicated focus on WhatsApp-first bookings.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riva-massage
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks

Riva Massage Center WordPress Theme, Copyright 2026
Riva Massage Center is distributed under the terms of the GNU General Public License v2 or later.
*/

/* =============================================================
   DESIGN TOKENS
   Palette inspired by "Riva" — still water, riverside calm.
   Deep teal (grounding), warm sand (skin/linen warmth),
   muted gold (light on water), dusty clay (secondary accent).
   ============================================================= */
:root {
  /* Color */
  --riva-teal-900: #12332e;   /* deep teal — headers, nav, footer bg */
  --riva-teal-700: #1f4a42;   /* hover / secondary dark */
  --riva-sand-050: #f6f1e7;   /* page background */
  --riva-cream-000: #fbf8f2;  /* card / surface background */
  --riva-gold-500: #b8935b;   /* primary accent — CTAs, links, borders */
  --riva-gold-600: #9c7846;   /* accent hover */
  --riva-clay-500: #9c5b45;   /* secondary accent — badges, highlights */
  --riva-ink-900: #23302c;    /* body text */
  --riva-ink-600: #56645e;    /* muted text */
  --riva-mist-200: #dee6df;   /* borders, dividers */
  --riva-whatsapp: #25d366;   /* WhatsApp brand green, used only for WA elements */
  --riva-whatsapp-dark: #1ebd5a;

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);
  --step-3: clamp(2.25rem, 1.9rem + 1.6vw, 3.5rem);
  --step-4: clamp(2.75rem, 2.2rem + 2.4vw, 4.75rem);

  /* Layout */
  --container-max: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  --shadow-soft: 0 20px 40px -20px rgba(18, 51, 46, 0.25);
  --shadow-lift: 0 10px 24px -12px rgba(18, 51, 46, 0.35);

  --ease-riva: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =============================================================
   RESET
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 112px;
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background-color: var(--riva-sand-050);
  color: var(--riva-ink-900);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  padding-left: 1.25em;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--riva-gold-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
h1, h2, h3, h4,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--riva-teal-900);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p {
  margin: 0 0 var(--space-2);
  color: var(--riva-ink-600);
}

.font-body {
  font-family: var(--font-body);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--riva-clay-500);
}

/* =============================================================
   LAYOUT UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-6);
}

.section--tight {
  padding-block: var(--space-5);
}

.section--teal {
  background-color: var(--riva-teal-900);
  color: var(--riva-sand-050);
}

.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--riva-sand-050);
}

.section--teal p {
  color: rgba(246, 241, 231, 0.78);
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 10000;
  background: var(--riva-teal-900);
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

/* =============================================================
   BUTTONS
   Signature detail: a soft outward "ripple" ring on hover/focus,
   a quiet nod to Riva's water motif — used sparingly, on CTAs only.
   ============================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-riva), box-shadow 0.35s var(--ease-riva), background-color 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0;
  transform: scale(1);
  transition: transform 0.5s var(--ease-riva), opacity 0.5s var(--ease-riva);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 0.35;
  transform: scale(1.14);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--riva-gold-500);
  color: var(--riva-teal-900);
  box-shadow: var(--shadow-lift);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--riva-gold-600);
}

.btn-outline {
  background-color: transparent;
  color: var(--riva-sand-050);
  border-color: rgba(246, 241, 231, 0.4);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--riva-sand-050);
}

/* WhatsApp-specific button variant — used site-wide for all booking CTAs */
.btn-whatsapp {
  background-color: var(--riva-whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: var(--riva-whatsapp-dark);
}

.btn-whatsapp svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

/* =============================================================
   FLOATING WHATSAPP BUTTON (site-wide, injected via wp_footer)
   ============================================================= */
.riva-wa-float {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--riva-whatsapp);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-riva);
}

.riva-wa-float:hover,
.riva-wa-float:focus-visible {
  transform: scale(1.08);
  background-color: var(--riva-whatsapp-dark);
}

.riva-wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .riva-wa-float {
    width: 52px;
    height: 52px;
    right: var(--space-2);
    bottom: var(--space-2);
  }
  .riva-wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* =============================================================
   RESPONSIVE CONTAINERS
   ============================================================= */
@media (max-width: 782px) {
  .section { padding-block: var(--space-5); }
  .container { padding-inline: var(--space-2); }
}

/* =============================================================
   TOP CONTACT BAR
   ============================================================= */
.riva-topbar {
  background-color: var(--riva-teal-900);
  color: rgba(246, 241, 231, 0.85);
  font-size: 0.85rem;
}

.riva-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.6em;
}

.riva-topbar__info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.riva-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: inherit;
  transition: color 0.2s ease;
}

.riva-topbar__item:hover,
.riva-topbar__item:focus-visible {
  color: var(--riva-gold-500);
}

.riva-topbar__item svg {
  width: 1em;
  height: 1em;
  fill: var(--riva-gold-500);
  flex-shrink: 0;
}

.riva-topbar__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.riva-topbar__whatsapp svg {
  width: 1.1em;
  height: 1.1em;
  fill: var(--riva-whatsapp);
}

.riva-topbar__whatsapp:hover,
.riva-topbar__whatsapp:focus-visible {
  opacity: 0.8;
}

@media (max-width: 680px) {
  .riva-topbar__item span:not(.visually-hidden) {
    display: none;
  }
  .riva-topbar__whatsapp span {
    display: none;
  }
}

/* =============================================================
   SITE HEADER
   ============================================================= */
.site-header {
  background-color: var(--riva-cream-000);
  border-bottom: 1px solid var(--riva-mist-200);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-lift);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 1em;
}

.site-branding img {
  max-height: 60px;
  width: auto;
}

.site-branding__text-link {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--riva-teal-900);
}

.site-description {
  font-size: 0.75rem;
  color: var(--riva-ink-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Primary nav */
.main-navigation .primary-menu {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation .primary-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 0.4em 0;
  font-weight: 600;
  color: var(--riva-teal-900);
}

.main-navigation .primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--riva-gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-riva);
}

.main-navigation .primary-menu > li > a:hover::after,
.main-navigation .primary-menu > li > a:focus-visible::after,
.main-navigation .primary-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Sub-menus */
.main-navigation ul ul {
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
  position: absolute;
  min-width: 200px;
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 10;
}

.main-navigation li {
  position: relative;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation ul ul li a {
  display: block;
  padding: 0.6em 1.2em;
  font-weight: 500;
  color: var(--riva-ink-900);
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus-visible {
  background-color: var(--riva-sand-050);
  color: var(--riva-gold-600);
}

/* Header actions + WhatsApp CTA sizing in header */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.btn--header {
  padding: 0.7em 1.4em;
  font-size: 0.85rem;
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-sm);
  align-items: center;
}

.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--riva-teal-900);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
  opacity: 0;
}
.menu-toggle.is-active .menu-toggle__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--riva-cream-000);
    border-bottom: 1px solid var(--riva-mist-200);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-riva);
  }

  .main-navigation.is-open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-navigation .primary-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-2) var(--space-3);
  }

  .main-navigation .primary-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--riva-mist-200);
  }

  .main-navigation .primary-menu > li > a {
    display: block;
    padding: 0.9em 0;
  }

  .main-navigation ul ul {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: var(--space-2);
  }

  .main-navigation li:hover > ul,
  .main-navigation li:focus-within > ul {
    display: block;
  }

  .btn--header {
    display: none;
  }
}

body.riva-nav-open {
  overflow: hidden;
}

/* =============================================================
   SITE FOOTER
   ============================================================= */
.site-footer {
  background-color: var(--riva-teal-900);
  color: rgba(246, 241, 231, 0.8);
}

.site-footer h2,
.site-footer h4 {
  color: var(--riva-sand-050);
}

.site-footer a {
  color: rgba(246, 241, 231, 0.85);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--riva-gold-500);
}

/* Footer CTA strip */
.site-footer__cta {
  background-color: var(--riva-teal-700);
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
}

.riva-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.riva-footer-cta h2 {
  margin-bottom: 0;
  font-size: var(--step-2);
}

.btn--lg {
  padding: 1em 2.2em;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Footer main grid */
.site-footer__main {
  padding-block: var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
}

.footer-col__title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.footer-col--brand p {
  color: rgba(246, 241, 231, 0.72);
  margin-bottom: var(--space-2);
}

.footer-logo img {
  max-height: 56px;
  width: auto;
  margin-bottom: var(--space-2);
}

.footer-logo-text {
  display: block;
  font-size: 1.5rem;
  color: var(--riva-sand-050);
  margin-bottom: var(--space-2);
}

.footer-info-list,
.footer-hours-list,
.footer-menu {
  list-style: none;
  margin: 0 0 var(--space-2);
  padding: 0;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-bottom: 0.75em;
}

.footer-info-list svg {
  width: 1.1em;
  height: 1.1em;
  fill: var(--riva-gold-500);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.4em;
  border-bottom: 1px dashed rgba(246, 241, 231, 0.15);
  font-size: 0.92rem;
}

.footer-hours-list li span:first-child {
  font-weight: 600;
  color: var(--riva-sand-050);
}

.footer-menu li {
  margin-bottom: 0.6em;
}

.footer-widget {
  margin-top: var(--space-2);
}

.footer-widget__title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--riva-sand-050);
}

/* Footer bottom bar */
.site-footer__bottom {
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  padding-block: var(--space-2);
}

.riva-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(246, 241, 231, 0.6);
}

.riva-footer-bottom p {
  margin: 0;
  color: inherit;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .riva-footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .riva-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* =============================================================
   HOMEPAGE — HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--riva-teal-900);
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 51, 46, 0.55) 0%, rgba(18, 51, 46, 0.88) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-block: var(--space-6);
}

.eyebrow--light {
  color: var(--riva-gold-500);
}

.hero__title {
  color: var(--riva-sand-050);
  font-size: var(--step-4);
  margin-top: var(--space-1);
}

.hero__subtitle {
  color: rgba(246, 241, 231, 0.82);
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.btn--lg-outline {
  padding: 1em 2.2em;
  font-size: 1rem;
}

/* =============================================================
   STATS STRIP
   ============================================================= */
.stats-strip {
  background-color: var(--riva-cream-000);
  border-bottom: 1px solid var(--riva-mist-200);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  padding-block: var(--space-4);
  text-align: center;
}

.stat__number {
  display: block;
  font-size: var(--step-2);
  color: var(--riva-gold-600);
  margin-bottom: 0.2em;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--riva-ink-600);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

/* =============================================================
   ABOUT SPLIT
   ============================================================= */
.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.about-split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.about-split__media {
  min-height: 100px;
  background-color: var(--riva-mist-200);
  border-radius: var(--radius-lg);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 var(--space-3);
}

.check-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 0.6em;
  color: var(--riva-ink-900);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background-color: var(--riva-gold-500);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.32em;
  top: 0.55em;
  width: 0.45em;
  height: 0.25em;
  border-left: 2px solid var(--riva-teal-900);
  border-bottom: 2px solid var(--riva-teal-900);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .about-split__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   SECTION HEADING
   ============================================================= */
.section-heading {
  max-width: 640px;
  margin: 0 auto var(--space-4);
}

.section-heading .eyebrow {
  display: block;
  margin-bottom: 0.5em;
}

/* =============================================================
   SERVICES
   ============================================================= */
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background-color: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: transform 0.3s var(--ease-riva), background-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background-color: rgba(246, 241, 231, 0.1);
}

.service-card__img {
  display: block;
  width: 100%;
  height: 220px;
  aspect-ratio: 16 / 9;
  max-height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card__link {
  display: inline-block;
  margin-top: 0.8em;
  font-weight: 700;
  color: var(--riva-gold-500);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: var(--space-2);
  }
}

.services-section__cta {
  margin-top: var(--space-4);
}

/* =============================================================
   WHY US
   ============================================================= */
.why-us-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-us-card {
  padding: var(--space-3);
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-md);
}

.why-us-card h4 {
  color: var(--riva-teal-900);
}

@media (max-width: 900px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  margin: 0;
  padding: var(--space-3);
  background-color: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.14);
  border-radius: var(--radius-md);
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--riva-sand-050);
}

.testimonial-card figcaption {
  font-size: 0.85rem;
  color: var(--riva-gold-500);
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   LOCATION / MAP CTA
   ============================================================= */
.location-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.location-cta__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--riva-teal-900);
  border-color: var(--riva-mist-200);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  border-color: var(--riva-teal-900);
}

.location-cta__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
}

.location-cta__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .location-cta__grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   GALLERY (homepage)
   ============================================================= */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lift);
}

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

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-2);
  background: linear-gradient(0deg, rgba(18, 51, 46, 0.85) 0%, transparent 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-riva), transform 0.3s var(--ease-riva);
}

.gallery-item:hover .gallery-item__caption,
.gallery-item:focus-visible .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   PRICING (homepage) — reuses .services-full-grid / .service-card--light
   ============================================================= */
.pricing-section .service-card--light .btn-whatsapp {
  margin-top: var(--space-2);
}

/* =============================================================
   FAQ (homepage)
   ============================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--riva-teal-900);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--riva-gold-500);
  transition: transform 0.3s var(--ease-riva);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.7em 0 0;
  color: var(--riva-ink-600);
}

/* =============================================================
   CONTACT (homepage section — reuses .contact-grid etc.)
   ============================================================= */
.contact-section .contact-info-cards > .btn-whatsapp {
  align-self: flex-start;
  margin-top: var(--space-1);
}

/* =============================================================
   INNER PAGE HERO (page.php, services, contact, archives, search)
   ============================================================= */
.inner-hero {
  background-color: var(--riva-teal-900);
  padding-block: var(--space-5);
  text-align: center;
}

.inner-hero h1 {
  color: var(--riva-sand-050);
  margin-top: 0.3em;
}

.inner-hero__subtitle {
  max-width: 620px;
  margin: 0.5em auto 0;
  color: rgba(246, 241, 231, 0.78);
}

.page-content-wrap {
  max-width: 840px;
  margin: 0 auto var(--space-4);
}

.page-content-wrap img {
  border-radius: var(--radius-md);
}

.page-links {
  margin-top: var(--space-3);
  font-weight: 700;
}

/* =============================================================
   SERVICES PAGE
   ============================================================= */
.services-full-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-3);
}

.service-card--light {
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
}

.service-card--light h3,
.service-card--light p {
  color: var(--riva-ink-900);
}

.service-card--light p {
  color: var(--riva-ink-600);
}

.service-card__meta {
  margin-bottom: 0.6em;
}

.service-card__duration {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--riva-gold-600);
  background-color: rgba(184, 147, 91, 0.12);
  padding: 0.3em 0.8em;
  border-radius: 999px;
}

.services-cta {
  margin-top: var(--space-5);
  padding: var(--space-4);
  background-color: var(--riva-teal-900);
  border-radius: var(--radius-lg);
}

.services-cta h2,
.services-cta p {
  color: var(--riva-sand-050);
}

.services-cta p {
  opacity: 0.8;
  margin-bottom: var(--space-2);
}

@media (max-width: 900px) {
  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-full-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-info-card {
  padding: var(--space-3);
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-md);
}

.contact-info-card svg {
  width: 1.6em;
  height: 1.6em;
  fill: var(--riva-gold-500);
  margin-bottom: 0.4em;
}

.contact-info-card h4 {
  margin-bottom: 0.2em;
}

.contact-info-card p {
  margin: 0;
}

.whatsapp-quick-box {
  padding: var(--space-3);
  background-color: var(--riva-teal-900);
  border-radius: var(--radius-md);
}

.whatsapp-quick-box h4 {
  color: var(--riva-sand-050);
}

.whatsapp-quick-box textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 0.8em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(246, 241, 231, 0.25);
  background-color: rgba(246, 241, 231, 0.06);
  color: var(--riva-sand-050);
  font-family: var(--font-body);
  margin-bottom: var(--space-2);
}

.whatsapp-quick-box textarea::placeholder {
  color: rgba(246, 241, 231, 0.5);
}

.whatsapp-quick-box__note {
  margin-top: var(--space-2);
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.6);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 460px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    min-height: 320px;
  }
  .contact-map iframe {
    min-height: 320px;
  }
}

/* =============================================================
   BLOG: POST CARDS (index / archive / search)
   ============================================================= */
.archive-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.post-grid {
  grid-template-columns: repeat(2, 1fr);
}

.post-card {
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease-riva), box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.post-card__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__body {
  padding: var(--space-3);
}

.post-card__title {
  font-size: 1.25rem;
  margin-top: 0.3em;
}

.post-card__title a {
  color: var(--riva-teal-900);
}

.post-card__excerpt p {
  margin-bottom: 0.6em;
}

.post-card__link {
  font-weight: 700;
  color: var(--riva-gold-600);
}

.no-results {
  padding: var(--space-5) 0;
}

.no-results .btn {
  margin-top: var(--space-2);
}

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

@media (max-width: 700px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   SINGLE POST
   ============================================================= */
.single-post-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

.single-post__thumb img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}

.single-post__title {
  margin-top: 0.3em;
}

.single-post__footer {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--riva-mist-200);
  font-size: 0.85rem;
}

.single-post__cta {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background-color: var(--riva-teal-900);
  border-radius: var(--radius-lg);
}

.single-post__cta h3 {
  color: var(--riva-sand-050);
  margin-bottom: var(--space-2);
}

@media (max-width: 900px) {
  .single-post-layout {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   SIDEBAR / WIDGETS
   ============================================================= */
.widget-area {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.widget {
  padding: var(--space-3);
  background-color: var(--riva-cream-000);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-md);
}

.widget__title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.widget--whatsapp {
  background-color: var(--riva-teal-900);
}

.widget--whatsapp .widget__title,
.widget--whatsapp p {
  color: var(--riva-sand-050);
}

.widget--whatsapp p {
  opacity: 0.8;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget li {
  padding-block: 0.4em;
  border-bottom: 1px dashed var(--riva-mist-200);
}

/* =============================================================
   COMMENTS
   ============================================================= */
.comments-area {
  margin-top: var(--space-5);
  max-width: 840px;
}

.comments-title {
  margin-bottom: var(--space-2);
}

.comment-list {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
}

.comment-list .comment {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--riva-mist-200);
}

.comment-list .children {
  list-style: none;
  padding-left: var(--space-3);
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 0.7em 1em;
  margin-bottom: var(--space-2);
  border: 1px solid var(--riva-mist-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  background-color: var(--riva-cream-000);
}

.comment-respond textarea {
  min-height: 140px;
  resize: vertical;
}

/* =============================================================
   SEARCH FORM
   ============================================================= */
.riva-search-form {
  display: flex;
  align-items: center;
  max-width: 420px;
  margin: var(--space-2) auto;
  border: 1px solid var(--riva-mist-200);
  border-radius: 999px;
  overflow: hidden;
  background-color: var(--riva-cream-000);
}

.riva-search-form__field {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.8em 1.2em;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.riva-search-form__field:focus {
  outline: none;
}

.riva-search-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  background-color: var(--riva-gold-500);
  color: var(--riva-teal-900);
}

.riva-search-form__submit svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* =============================================================
   404 PAGE
   ============================================================= */
.error-404 {
  padding-block: var(--space-6);
}

.error-404__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.error-404__search {
  margin-top: var(--space-4);
}
