/* ===========================
   DR RENO INTERIOR — SHARED CSS
   =========================== */

/* --- Design Tokens --- */
:root {
  --primary: #df6020;
  --primary-light: rgba(223, 96, 32, 0.12);
  --primary-glow: rgba(223, 96, 32, 0.25);
  --bg-light: #f8f6f6;
  --bg-dark: #211611;
  --text-dark: #0f0d0c;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius-pill: 9999px;
  --radius-xl: 3rem;
  --radius-lg: 2rem;
  --radius-md: 1rem;
  --shadow-primary: 0 8px 32px rgba(223, 96, 32, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* --- Glass Nav --- */
.glass-nav {
  background: rgba(248, 246, 246, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(223, 96, 32, 0.10);
}

/* --- Sticky Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  transition: var(--transition);
}

.site-header.scrolled .nav-inner {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 246, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(223, 96, 32, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  transition: box-shadow var(--transition);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.logo-img {
  height: 38px;
  width: auto;
}

.logo-mark {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(223, 96, 32, 0.25);
  cursor: pointer;
  gap: 5px;
  background: transparent;
  transition: background var(--transition);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Nav Drawer --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 246, 246, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.visible {
  display: flex;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(223, 96, 32, 0.35);
  background: #c7521a;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.68rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  transition: background var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn-white:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* --- WhatsApp Sticky Button --- */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.75rem 1.25rem 0.75rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  animation: whatsapp-pulse 2.6s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.65);
  }
}

/* --- Section Utilities --- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 400;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
  margin: 1.2rem 0;
}

.divider-center {
  margin: 1.2rem auto;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* --- Fade-in Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 2rem 2.5rem;
}

.site-footer h2,
.site-footer .logo {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta .btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header {
    padding: 0.75rem 1rem;
  }

  .whatsapp-btn .wa-label {
    display: none;
  }

  .whatsapp-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* --- Stat Counters --- */
.stat-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(223, 96, 32, 0.08);
  color: var(--primary);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Form Elements --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.4rem;
  background: #f3f4f6;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-textarea {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 120px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(223, 96, 32, 0.12);
}

/* --- Tag / Badge --- */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary);
}

.tag-white {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

/* --- Testimonial --- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  font-family: Georgia, serif;
}

/* --- Hero overlays --- */
.hero-overlay-bottom {
  background: linear-gradient(to top, rgba(33, 22, 17, 0.85) 0%, rgba(33, 22, 17, 0.3) 50%, transparent 100%);
}

.hero-overlay-full {
  background: rgba(0, 0, 0, 0.42);
}

/* --- Page Hero --- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 10rem 2rem 5rem;
  min-height: 55vh;
  overflow: hidden;
  background: var(--bg-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* --- Process Timeline --- */
.timeline-spine {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(223, 96, 32, 0.15));
}

.timeline-step {
  position: relative;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 0 0 8px var(--bg-light);
  position: relative;
  z-index: 2;
}

/* --- Admin specific --- */
.admin-sidebar {
  width: 260px;
  background: var(--bg-dark);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.2rem;
  z-index: 100;
}

.admin-content {
  margin-left: 260px;
  padding: 2.5rem;
  min-height: 100vh;
  background: #f9fafb;
}

.admin-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .admin-sidebar {
    display: none;
  }

  .admin-content {
    margin-left: 0;
    padding: 1.2rem;
  }
}