/* ============================================
   RinnaDent — Soft Elegance CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ─── VARIABLES ─────────────────────────────── */
:root {
  --bg:           #fdf8f4;
  --surface:      #f5ede5;
  --surface-2:    #efe3d8;
  --accent:       #c48b6c;
  --accent-hover: #d4a080;
  --accent-light: rgba(196,139,108,0.12);
  --text:         #3a2e28;
  --text-muted:   #8a7d76;
  --border:       rgba(196,139,108,0.2);
  --white:        #ffffff;

  --heading-font: 'DM Serif Display', serif;
  --body-font:    'Quicksand', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  48px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 12px rgba(58,46,40,0.06);
  --shadow-md:  0 8px 32px rgba(58,46,40,0.10);
  --shadow-lg:  0 20px 60px rgba(58,46,40,0.14);

  --nav-h: 76px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { max-width: 65ch; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* ─── LAYOUT ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ─── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-full);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196,139,108,0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(196,139,108,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--accent-light);
  color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── HEADER / NAV ───────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(253,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--text);
  flex-shrink: 0;
}
.logo span {
  color: var(--accent);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-cta {
  margin-left: 8px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  z-index: 110;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: calc(var(--nav-h) + 32px) 32px 32px;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ─── HERO SLIDER ────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Decorative background shapes */
.hero-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-deco::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(196,139,108,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg-deco::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 45%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(245,237,229,0.8) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(196,139,108,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(196,139,108,0.05) 0%, transparent 40%);
}

/* Slider wrapper */
.slider-wrapper {
  position: relative;
  height: calc(100svh - var(--nav-h));
  min-height: 580px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.slide-content {
  position: relative;
  z-index: 2;
}
.slide-content .section-label {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.slide-content h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.slide-content p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.slide-content .slide-btns {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.slide.active .slide-content .section-label,
.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .slide-btns {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  margin-bottom: 20px;
  line-height: 1.15;
}
.slide-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Slide visual */
.slide-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 520px;
  width: 100%;
}
.slide-img-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(196,139,108,0.3), transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.slide-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
}

/* Floating badge */
.slide-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.slide-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.slide-badge-1 { bottom: 28px; left: -24px; }
.slide-badge-2 { top: 40px; right: -20px; }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

.slider-arrows {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-md);
}
.slider-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ─── UTP / FEATURES ─────────────────────────── */
.features {
  background: var(--surface);
  padding: 80px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ─── SERVICES PREVIEW ───────────────────────── */
.services-section { background: var(--bg); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}
.section-header-left h2 { margin-top: 8px; }
.section-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 36ch;
  text-align: right;
}

/* Photo-overlay service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.05); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(58,46,40,0.88) 0%,
    rgba(58,46,40,0.4) 50%,
    rgba(58,46,40,0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: var(--transition);
}
.service-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.84rem;
  line-height: 1.55;
  max-width: none;
  transform: translateY(8px);
  opacity: 0;
  transition: var(--transition);
}
.service-overlay .service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(196,139,108,0.85);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}
.service-card:hover .service-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TEAM ───────────────────────────────────── */
.team-section { background: var(--surface); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info {
  padding: 24px;
}
.team-info .name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.team-info .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.team-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
}

/* ─── CTA SECTION ────────────────────────────── */
.cta-section {
  background: var(--bg);
  padding: 96px 0;
}
.cta-inner {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(196,139,108,0.15), transparent 70%);
  pointer-events: none;
}
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.cta-contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cta-contact-item a { color: var(--text); font-weight: 600; }
.cta-contact-item a:hover { color: var(--accent); }
.cta-contact-item span { font-size: 0.78rem; color: var(--text-muted); display: block; }

/* ─── FOOTER ─────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 28ch;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--accent); }

.footer-col h4 {
  color: white;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; }

/* ─── FLOATING WHATSAPP ──────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(196,139,108,0.45);
  transition: var(--transition);
  min-height: 44px;
  min-width: 44px;
}
.floating-whatsapp:hover {
  background: var(--accent-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 32px rgba(196,139,108,0.55);
}
.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ─── SCROLL REVEAL ──────────────────────────── */
/* Elements are always visible. When JS adds .visible, a subtle
   slide-in animation plays. Safe for screenshots and crawlers. */
@keyframes slideInUp {
  from { opacity: 0.4; transform: translateY(24px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.reveal { /* no hidden state — always visible */ }

.reveal.visible {
  animation: slideInUp 0.7s ease both;
}
.reveal.visible.reveal-delay-1 { animation-delay: 0.1s; }
.reveal.visible.reveal-delay-2 { animation-delay: 0.2s; }
.reveal.visible.reveal-delay-3 { animation-delay: 0.3s; }
.reveal.visible.reveal-delay-4 { animation-delay: 0.4s; }
.reveal.visible.reveal-delay-5 { animation-delay: 0.5s; }

/* ─── PAGES: SERVICES ────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(196,139,108,0.12), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-full-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-full-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-full-card .card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.service-full-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-full-card:hover .card-img img { transform: scale(1.05); }
.service-full-card .card-body {
  padding: 24px;
}
.service-full-card .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-full-card .card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: none;
}
.service-full-card .card-body .btn {
  height: 44px;
  padding: 0 20px;
  font-size: 0.85rem;
}

/* Featured (anesthesia) */
.service-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-featured:hover { box-shadow: var(--shadow-lg); }
.service-featured .card-img {
  aspect-ratio: auto;
  min-height: 340px;
}
.service-featured .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-featured .card-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-featured .card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.service-featured .card-body p { max-width: 52ch; }

/* ─── GALLERY PAGE ───────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: var(--transition);
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(58,46,40,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg {
  width: 40px;
  height: 40px;
  stroke: white;
  fill: none;
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(58,46,40,0.8), transparent);
  padding: 16px 12px 10px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30,20,15,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  border: none;
  color: white;
  font-size: 1.4rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: white;
  font-size: 1.2rem;
  transition: background var(--transition);
  min-height: 44px;
  min-width: 44px;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }

/* ─── CONTACTS PAGE ──────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
}
.contact-info-card h2 { margin-bottom: 8px; }
.contact-info-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-item .ci-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item .ci-value {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text);
}
.contact-item .ci-value a {
  color: var(--text);
  transition: color var(--transition);
}
.contact-item .ci-value a:hover { color: var(--accent); }
.contact-item .ci-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 480px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  border: none;
}

/* Hours table */
.hours-table { margin-top: 24px; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text-muted); }
.hours-row .time { font-weight: 600; color: var(--text); }
.hours-row .closed { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .service-featured { grid-column: auto; grid-template-columns: 1fr; }
  .service-featured .card-img { min-height: 260px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner::before { display: none; }
  .cta-contact-block { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta-btns { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  section { padding: 64px 0; }

  .nav { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }

  .slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
  }
  .slide-visual { display: none; }
  .slide-btns { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }
  .section-header p { text-align: left; max-width: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 4/3; }

  .cta-inner { padding: 40px 28px; border-radius: var(--radius-lg); }
  .cta-inner h2 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contacts-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 300px; }
  .map-frame iframe { min-height: 300px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .floating-whatsapp { bottom: 20px; right: 20px; }

  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .service-featured { grid-column: auto; }
  .service-featured .card-body { padding: 28px 24px; }
  .service-featured .card-body h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .slide-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
