/* IMPORT GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* DESIGN TOKENS & VARIABLES */
:root {
  /* Brand Palettes */
  --rd-color-primary: #FFFFFF;
  --rd-color-secondary: #008B94;
  --rd-color-dark: #FAF8F5;
  --rd-color-light: #1C1C1E;
  --rd-color-accent: #E64E94;

  /* Transparent Variants for Overlays and Shadows */
  --rd-color-secondary-rgb: 0, 139, 148;
  --rd-color-accent-rgb: 230, 78, 148;
  --rd-color-light-rgb: 28, 28, 30;

  /* Semantic Backgrounds */
  --rd-bg-base: var(--rd-color-dark);
  --rd-bg-surface: var(--rd-color-primary);
  --rd-bg-surface-elevated: #FFF9F8;
  --rd-bg-glass: rgba(255, 255, 255, 0.85);

  /* Semantic Typography */
  --rd-text-primary: #3A231C;
  --rd-text-secondary: #5C5C5E;
  --rd-text-muted: #8E8E93;
  --rd-text-accent: var(--rd-color-accent);
  --rd-text-link: var(--rd-color-secondary);

  /* Borders & Dividers */
  --rd-border-subtle: rgba(91, 44, 36, 0.08);
  --rd-border-default: rgba(91, 44, 36, 0.15);
  --rd-border-active: var(--rd-color-secondary);
  --rd-border-accent: var(--rd-color-accent);

  /* Interactivity States */
  --rd-state-hover: rgba(0, 139, 148, 0.08);
  --rd-state-active: rgba(230, 78, 148, 0.12);
  --rd-focus-ring: 0 0 0 3px rgba(230, 78, 148, 0.25);

  /* Shadows & Glows */
  --rd-shadow-sm: 0 2px 8px rgba(91, 44, 36, 0.08);
  --rd-shadow-md: 0 8px 24px rgba(91, 44, 36, 0.12);
  --rd-shadow-lg: 0 16px 48px rgba(91, 44, 36, 0.18);
  --rd-glow-secondary: 0 0 15px rgba(var(--rd-color-secondary-rgb), 0.15);
  --rd-glow-accent: 0 0 12px rgba(var(--rd-color-accent-rgb), 0.2);

  /* Radii */
  --rd-radius-sm: 4px;
  --rd-radius-md: 8px;
  --rd-radius-lg: 16px;
  --rd-radius-xl: 24px;
  --rd-radius-full: 9999px;

  /* Spacing */
  --rd-space-3xs: 4px;
  --rd-space-2xs: 8px;
  --rd-space-xs: 12px;
  --rd-space-sm: 16px;
  --rd-space-md: 24px;
  --rd-space-lg: 32px;
  --rd-space-xl: 48px;
  --rd-space-2xl: 64px;
  --rd-space-3xl: 96px;
  --rd-space-4xl: 128px;

  /* Font Families */
  --rd-font-headings: 'Dancing Script', cursive;
  --rd-font-body: 'Inter', sans-serif;
}

/* BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--rd-bg-base);
  color: var(--rd-text-primary);
  font-family: var(--rd-font-body);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--rd-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .rd-logo-text {
  font-family: var(--rd-font-headings);
  font-weight: 700;
  color: var(--rd-text-primary);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  color: var(--rd-text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

a {
  color: var(--rd-text-link);
  text-decoration: none;
  transition: all 0.25s ease;
}

/* ACCESS FOCUS STATE RULES */
.rd-focusable:focus-visible {
  outline: 2px solid var(--rd-color-accent) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 10px rgba(var(--rd-color-accent-rgb), 0.5) !important;
}

/* HEADER / STICKY NAV */
.rd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--rd-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rd-border-subtle);
  height: 80px;
  display: flex;
  align-items: center;
}

.rd-header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rd-space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rd-logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.rd-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--rd-border-subtle);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-logo-img:hover {
  transform: scale(1.05);
}

.rd-logo-text {
  font-size: 2rem;
  color: var(--rd-text-primary);
  line-height: 1;
}

.rd-logo-sub {
  font-family: var(--rd-font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rd-color-secondary);
  font-weight: 600;
  margin-top: var(--rd-space-3xs);
}

.rd-hamburger {
  display: none;
}

.rd-nav-list {
  display: flex;
  list-style: none;
  gap: var(--rd-space-md);
}

.rd-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--rd-text-secondary);
  position: relative;
  padding: var(--rd-space-2xs) 0;
  transition: color 0.25s ease;
}

.rd-nav-link:hover,
.rd-nav-link.active {
  color: var(--rd-text-primary);
}

.rd-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--rd-color-accent);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(-50%);
}

.rd-nav-link:hover::after,
.rd-nav-link.active::after {
  width: 100%;
}

/* Active navigation item dot indicator - strict design guidelines */
.rd-nav-link.active {
  color: var(--rd-text-primary);
}

.rd-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--rd-color-accent);
  box-shadow: var(--rd-glow-accent);
}

/* HERO SECTION */
.rd-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--rd-space-4xl) var(--rd-space-md) var(--rd-space-2xl) var(--rd-space-md);
  background-image: url('wedding_cake_1782691093496.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.rd-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 248, 245, 0.4);
  z-index: 1;
}

.rd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--rd-space-xl) var(--rd-space-lg);
  border-radius: var(--rd-radius-xl);
  border: 1px solid rgba(91, 44, 36, 0.1);
  box-shadow: var(--rd-shadow-lg);
}

.rd-hero-logo {
  width: 145px;
  height: 145px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--rd-color-primary);
  box-shadow: var(--rd-shadow-md);
  margin-bottom: var(--rd-space-sm);
  display: inline-block;
  opacity: 0;
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.rd-hero-title {
  font-size: 4.2rem;
  margin-bottom: var(--rd-space-sm);
  color: var(--rd-text-primary);
}

.rd-hero-tagline {
  font-size: 1.15rem;
  margin-bottom: var(--rd-space-md);
  color: var(--rd-text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rd-hero-actions {
  display: flex;
  gap: var(--rd-space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* HERO COURSES HIGHLIGHT */
.rd-hero-courses {
  display: inline-flex;
  align-items: center;
  gap: var(--rd-space-xs);
  background: rgba(230, 78, 148, 0.06);
  border: 1px solid rgba(230, 78, 148, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  margin-top: var(--rd-space-lg);
  font-size: 0.92rem;
  color: var(--rd-text-primary);
  box-shadow: var(--rd-shadow-sm);
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.rd-courses-tag {
  background: var(--rd-color-accent);
  color: #FFFFFF;
  font-family: var(--rd-font-headings);
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.rd-courses-text {
  color: var(--rd-text-secondary);
  font-weight: 400;
}

/* BUTTONS */
.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rd-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--rd-radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.rd-btn-icon {
  margin-left: var(--rd-space-2xs);
  width: 18px;
  height: 18px;
}

/* Primary Button: Dark backdrop, Teal border, glows on hover */
.rd-btn-primary {
  background: transparent;
  color: var(--rd-color-light);
  border: 1px solid var(--rd-color-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rd-btn-primary:hover {
  background: rgba(var(--rd-color-accent-rgb), 0.08);
  color: var(--rd-color-light);
  border-color: var(--rd-color-accent);
  box-shadow: var(--rd-glow-accent), var(--rd-shadow-md);
  transform: translateY(-2px);
}

.rd-btn-primary:focus {
  outline: none;
  box-shadow: var(--rd-focus-ring);
  border-color: var(--rd-color-accent);
}

.rd-btn-primary:active {
  background: rgba(var(--rd-color-accent-rgb), 0.15);
  transform: scale(0.97);
}

/* Secondary Button: Subtle light transparent fill with border */
.rd-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--rd-color-light);
  border: 1px solid var(--rd-border-default);
}

.rd-btn-secondary:hover {
  background: rgba(var(--rd-color-secondary-rgb), 0.12);
  border-color: var(--rd-color-secondary);
  box-shadow: var(--rd-glow-secondary);
  transform: translateY(-2px);
}

.rd-btn-secondary:active {
  transform: scale(0.97);
}

/* Outline Button */
.rd-btn-outline {
  background: transparent;
  color: var(--rd-text-secondary);
  border: 1px solid var(--rd-border-default);
}

.rd-btn-outline:hover {
  color: var(--rd-color-light);
  border-color: var(--rd-color-secondary);
  background: rgba(var(--rd-color-secondary-rgb), 0.08);
  box-shadow: var(--rd-glow-secondary);
  transform: translateY(-2px);
}

.rd-btn-large {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.w-full-btn {
  width: 100%;
  text-align: center;
}

/* INLINE LINK WITH ACCENT */
.rd-link-accent {
  font-family: var(--rd-font-body);
  font-weight: 500;
  color: var(--rd-color-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.rd-link-accent .rd-arrow {
  margin-left: var(--rd-space-2xs);
  transition: transform 0.25s ease;
}

.rd-link-accent:hover .rd-arrow {
  transform: translateX(4px);
}

.rd-link-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: var(--rd-color-accent);
  transition: width 0.25s ease;
}

.rd-link-accent:hover {
  color: var(--rd-color-light);
}

.rd-link-accent:hover::after {
  width: 100%;
}

/* MAIN CONTENT CONTAINER */
.rd-main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rd-space-md);
  position: relative;
  z-index: 2;
}

/* SECTION HEADER */
.rd-section-header {
  text-align: center;
  margin-bottom: var(--rd-space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rd-section-overline {
  font-family: var(--rd-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rd-color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: var(--rd-space-2xs);
}

.rd-section-title {
  margin-bottom: var(--rd-space-sm);
  color: var(--rd-text-primary);
}

.rd-section-desc {
  font-size: 1.05rem;
  color: var(--rd-text-secondary);
  font-weight: 300;
}

/* FEATURES SECTION */
.rd-features {
  padding: var(--rd-space-3xl) 0;
}

.rd-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--rd-space-lg);
}

/* PORTFOLIO SECTION */
.rd-portfolio-section {
  padding: var(--rd-space-3xl) 0;
}

.rd-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--rd-space-lg);
  margin-top: var(--rd-space-xl);
}

.rd-portfolio-item {
  position: relative;
  border-radius: var(--rd-radius-lg);
  overflow: hidden;
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  box-shadow: var(--rd-shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 380px;
}

.rd-portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--rd-shadow-lg), 0 0 20px rgba(var(--rd-color-secondary-rgb), 0.15);
  border-color: var(--rd-color-secondary);
}

.rd-portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-portfolio-item:hover .rd-portfolio-img {
  transform: scale(1.08);
}

.rd-portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--rd-space-lg) var(--rd-space-md);
  background: linear-gradient(to top, rgba(58, 35, 28, 0.95) 0%, rgba(58, 35, 28, 0.6) 60%, rgba(0,0,0,0) 100%);
  color: #FFFFFF;
  z-index: 2;
  transition: all 0.3s ease;
}

.rd-portfolio-item-title {
  font-family: var(--rd-font-headings);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: var(--rd-space-3xs);
}

.rd-portfolio-item-category {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rd-color-accent);
  font-weight: 600;
}

/* PREMIUM CARDS */
.rd-card {
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-default);
  border-radius: var(--rd-radius-lg);
  padding: var(--rd-space-xl);
  box-shadow: var(--rd-shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.rd-card:hover {
  border-color: var(--rd-color-accent);
  box-shadow: var(--rd-glow-accent), var(--rd-shadow-lg);
  transform: translateY(-6px);
}

.rd-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rd-radius-md);
  background: rgba(var(--rd-color-secondary-rgb), 0.1);
  color: var(--rd-color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rd-space-md);
}

.rd-card-icon i {
  width: 24px;
  height: 24px;
}

.rd-card-title {
  font-family: var(--rd-font-headings);
  font-size: 2.2rem;
  color: var(--rd-text-primary);
  margin-bottom: var(--rd-space-2xs);
}

.rd-card-body {
  font-family: var(--rd-font-body);
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  line-height: 1.6;
}

/* CUSTOMIZER SECTION */
.rd-customizer-section {
  padding: var(--rd-space-2xl) 0;
  border-top: 1px solid var(--rd-border-subtle);
}

.rd-customizer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--rd-space-lg);
  align-items: start;
}

@media (max-width: 992px) {
  .rd-customizer-grid {
    grid-template-columns: 1fr;
  }
}

/* STEPPER CONTROLLER */
.rd-stepper-container {
  padding: var(--rd-space-xl);
}

.rd-stepper-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rd-border-default);
  padding-bottom: var(--rd-space-md);
  margin-bottom: var(--rd-space-xl);
}

.rd-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  position: relative;
}

.rd-step-indicator::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--rd-border-default);
  z-index: 1;
}

.rd-step-indicator:last-child::after {
  display: none;
}

.rd-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--rd-bg-base);
  border: 1px solid var(--rd-border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rd-text-muted);
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}

.rd-step-label {
  margin-top: var(--rd-space-2xs);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rd-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stepper state modifiers */
.rd-step-indicator.active .rd-step-number {
  border-color: var(--rd-color-secondary);
  background-color: var(--rd-color-secondary);
  color: var(--rd-color-dark);
  box-shadow: var(--rd-glow-secondary);
}

.rd-step-indicator.active .rd-step-label {
  color: var(--rd-color-secondary);
}

.rd-step-indicator.completed .rd-step-number {
  border-color: var(--rd-color-accent);
  background-color: var(--rd-bg-base);
  color: var(--rd-color-accent);
}

.rd-step-indicator.completed::after {
  background-color: var(--rd-color-secondary);
}

/* STEP DETAILS PANELS */
.rd-step-panel {
  display: none;
}

.rd-step-panel.active {
  display: block;
}

.rd-step-title {
  font-family: var(--rd-font-body);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--rd-space-2xs);
}

.rd-step-desc {
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  margin-bottom: var(--rd-space-xl);
}

.rd-step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--rd-space-2xl);
  border-top: 1px solid var(--rd-border-subtle);
  padding-top: var(--rd-space-lg);
}

/* PORTIONS GRID */
.rd-portions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--rd-space-sm);
}

.rd-option-card {
  display: block;
  border: 1px solid var(--rd-border-default);
  border-left: 3px solid transparent;
  border-radius: var(--rd-radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: var(--rd-bg-surface-elevated);
  position: relative;
}

.rd-option-content {
  display: flex;
  flex-direction: column;
  padding: var(--rd-space-md);
}

.flex-row-layout {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--rd-space-md);
}

.rd-option-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rd-text-primary);
  margin-bottom: var(--rd-space-3xs);
}

.rd-option-detail {
  font-size: 0.85rem;
  color: var(--rd-text-secondary);
}

.rd-radio-hidden, .rd-checkbox-hidden {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Option card checked state using CSS :has() and class fallback */
.rd-option-card:has(.rd-radio-hidden:checked),
.rd-option-card:has(.rd-checkbox-hidden:checked),
.rd-option-card.active-card {
  border-color: var(--rd-color-secondary);
  border-left-color: var(--rd-color-accent);
  box-shadow: var(--rd-glow-secondary);
  background: rgba(var(--rd-color-secondary-rgb), 0.08);
  transform: scale(1.01);
}

.rd-option-card:hover {
  border-color: rgba(var(--rd-color-accent-rgb), 0.5);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--rd-glow-accent);
  transform: translateY(-2px) scale(1.02);
}

/* FINISH CONFIGURATION GRID */
.rd-finish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--rd-space-md);
}

.rd-option-icon-wrapper {
  color: var(--rd-color-secondary);
  margin-bottom: var(--rd-space-sm);
}

.rd-option-icon-wrapper i {
  width: 32px;
  height: 32px;
}

.rd-option-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rd-color-accent);
  margin: var(--rd-space-2xs) 0;
}

/* MODELING SECTION COMPONENTS */
.rd-modeling-container {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-lg);
}

.rd-modeling-toggle-card {
  padding: 4px;
}

.rd-checkbox-box {
  width: 22px;
  height: 22px;
  border-radius: var(--rd-radius-sm);
  border: 1px solid var(--rd-border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: var(--rd-bg-base);
  position: relative;
}

.rd-option-card:has(.rd-checkbox-hidden:checked) .rd-checkbox-box,
.rd-option-card.active-card .rd-checkbox-box {
  background-color: var(--rd-color-secondary);
  border-color: var(--rd-color-secondary);
  transform: scale(1.05);
}

.rd-checkbox-box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--rd-color-dark);
  border-bottom: 2px solid var(--rd-color-dark);
  transform: rotate(-45deg) translateY(-2px) translateX(1px) scale(0);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rd-option-card:has(.rd-checkbox-hidden:checked) .rd-checkbox-box::after,
.rd-option-card.active-card .rd-checkbox-box::after {
  transform: rotate(-45deg) translateY(-2px) translateX(1px) scale(1);
}

.rd-modeling-details-wrapper {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.35s ease forwards;
}

.rd-modeling-details-wrapper.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FORM CONTROLS */
.rd-form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rd-text-secondary);
  margin-bottom: var(--rd-space-2xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rd-form-label-header {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rd-text-primary);
  margin-bottom: 4px;
  display: block;
}

.rd-form-label-desc {
  font-size: 0.85rem;
  color: var(--rd-text-muted);
  margin-bottom: var(--rd-space-md);
}

.rd-input, .rd-textarea {
  width: 100%;
  background-color: var(--rd-bg-surface-elevated);
  border: 1px solid var(--rd-border-default);
  border-radius: var(--rd-radius-md);
  padding: 12px var(--rd-space-sm);
  color: var(--rd-text-primary);
  font-family: var(--rd-font-body);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.rd-input:hover, .rd-textarea:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.rd-input:focus, .rd-textarea:focus {
  outline: none;
  border-color: var(--rd-color-secondary);
  box-shadow: var(--rd-glow-secondary);
}

.rd-textarea {
  resize: vertical;
}

/* LIVE CALCULATOR DISPLAY (STICKY SUMMARY) */
.rd-calculator-container {
  position: sticky;
  top: 100px;
}

.rd-calculator-card {
  border-color: var(--rd-border-default);
  padding: var(--rd-space-xl) var(--rd-space-md);
}

.rd-calculator-title {
  font-family: var(--rd-font-body);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--rd-space-lg);
  padding-bottom: var(--rd-space-xs);
  border-bottom: 1px solid var(--rd-border-default);
  text-align: center;
}

.rd-calculator-breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-md);
  margin-bottom: var(--rd-space-xl);
}

.rd-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.rd-breakdown-label {
  color: var(--rd-text-secondary);
}

.rd-breakdown-value {
  font-weight: 500;
  color: var(--rd-text-primary);
}

.rd-calculator-notice {
  font-size: 0.8rem;
  color: var(--rd-color-secondary);
  background: rgba(0, 139, 148, 0.08);
  border: 1px solid rgba(0, 139, 148, 0.2);
  border-radius: var(--rd-radius-md);
  padding: var(--rd-space-xs);
  display: none;
  align-items: flex-start;
  gap: var(--rd-space-2xs);
  line-height: 1.4;
  margin-top: var(--rd-space-xs);
}

.rd-calculator-notice.active {
  display: flex;
}

.notice-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.rd-calculator-total-section {
  border-top: 1px solid var(--rd-border-default);
  padding-top: var(--rd-space-lg);
  margin-bottom: var(--rd-space-lg);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.rd-total-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rd-text-secondary);
}

.rd-total-value-container {
  display: flex;
  align-items: baseline;
  color: var(--rd-color-accent);
}

.rd-total-value {
  font-family: var(--rd-font-body);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.rd-total-currency {
  font-size: 1.3rem;
  font-weight: 600;
  margin-left: 2px;
}

/* SMART BUDGET SECTION & FORM */
.rd-budget-section {
  padding: var(--rd-space-3xl) 0;
  border-top: 1px solid var(--rd-border-subtle);
}

.rd-budget-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--rd-space-2xl);
}

.rd-form {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-xl);
}

.rd-form-summary-card {
  background: var(--rd-bg-surface-elevated);
  border: 1px solid var(--rd-border-default);
  border-radius: var(--rd-radius-md);
  padding: var(--rd-space-md);
}

.rd-summary-card-title {
  font-family: var(--rd-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rd-text-secondary);
  margin-bottom: var(--rd-space-sm);
}

.rd-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rd-space-xs);
}

.rd-summary-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rd-border-default);
  border-radius: var(--rd-radius-sm);
  padding: var(--rd-space-2xs) var(--rd-space-xs);
  font-size: 0.85rem;
  color: var(--rd-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--rd-space-2xs);
}

.rd-summary-tag i {
  width: 14px;
  height: 14px;
  color: var(--rd-color-secondary);
}

.rd-summary-tag.rd-tag-accent {
  border-color: var(--rd-color-accent);
  background: rgba(230, 78, 148, 0.08);
  color: var(--rd-color-light);
  font-weight: 600;
}

.rd-summary-tag.rd-tag-accent i {
  color: var(--rd-color-accent);
}

.rd-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--rd-space-md);
}

.rd-form-group {
  display: flex;
  flex-direction: column;
}

.full-width-group {
  grid-column: 1 / -1;
}

/* ALLERGENS SELECTION */
.rd-allergens-section {
  display: flex;
  flex-direction: column;
}

.rd-allergens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--rd-space-sm);
}

.rd-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--rd-space-xs);
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  padding: var(--rd-space-2xs);
  border-radius: var(--rd-radius-sm);
  transition: all 0.2s ease;
  user-select: none;
}

.rd-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--rd-color-light);
}

/* Custom styles for native checkboxes inside label */
.rd-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--rd-radius-sm);
  border: 1px solid var(--rd-border-default);
  background-color: var(--rd-bg-surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.rd-checkbox:checked {
  background-color: var(--rd-color-secondary);
  border-color: var(--rd-color-secondary);
}

.rd-checkbox:checked::after {
  content: '';
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--rd-color-dark);
  border-bottom: 2px solid var(--rd-color-dark);
  transform: rotate(-45deg) translateY(-1px) translateX(0.5px);
}

.rd-checkbox:focus-visible {
  outline: 2px solid var(--rd-color-accent);
  outline-offset: 1px;
}

.rd-form-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--rd-space-md);
}

/* SUCCESS BANNER PANEL */
.rd-form-success {
  text-align: center;
  padding: var(--rd-space-2xl) var(--rd-space-md);
  animation: fadeIn 0.45s ease forwards;
}

.success-icon-wrapper {
  color: var(--rd-color-secondary);
  margin-bottom: var(--rd-space-md);
}

.success-icon-wrapper i {
  width: 64px;
  height: 64px;
}

.success-title {
  font-family: var(--rd-font-body);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: var(--rd-space-sm);
}

.success-message {
  color: var(--rd-text-secondary);
  margin-bottom: var(--rd-space-xl);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
.rd-footer {
  background-color: var(--rd-bg-surface);
  border-top: 1px solid var(--rd-border-subtle);
  padding: var(--rd-space-3xl) 0 var(--rd-space-xl) 0;
  margin-top: auto;
}

.rd-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rd-space-md);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--rd-space-2xl);
  margin-bottom: var(--rd-space-3xl);
}

@media (max-width: 768px) {
  .rd-footer-container {
    grid-template-columns: 1fr;
    gap: var(--rd-space-xl);
  }
}

.rd-footer-logo {
  font-family: var(--rd-font-headings);
  font-size: 2.2rem;
  color: var(--rd-text-primary);
  display: block;
  margin-bottom: var(--rd-space-2xs);
}

.rd-footer-tagline {
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  max-width: 320px;
}

.rd-footer-title {
  font-family: var(--rd-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rd-color-secondary);
  margin-bottom: var(--rd-space-md);
}

.rd-footer-text {
  font-size: 0.9rem;
  color: var(--rd-text-secondary);
  margin-bottom: var(--rd-space-xs);
  display: flex;
  align-items: center;
  gap: var(--rd-space-2xs);
}

.footer-icon {
  width: 16px;
  height: 16px;
  color: var(--rd-text-muted);
}

.rd-footer-net-icons {
  display: flex;
  gap: var(--rd-space-sm);
}

.rd-footer-net-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-text-primary);
  box-shadow: var(--rd-shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-footer-net-link:hover {
  background: var(--rd-color-secondary);
  color: #FFFFFF;
  border-color: var(--rd-color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 139, 148, 0.25);
}

.rd-footer-net-link i,
.rd-footer-net-link svg {
  width: 20px;
  height: 20px;
}

.rd-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--rd-space-md) var(--rd-space-md) 0 var(--rd-space-md);
  border-top: 1px solid var(--rd-border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rd-footer-bottom-line {
  font-size: 0.82rem;
  color: var(--rd-text-muted);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  line-height: 1.6;
}

.rd-footer-legal-link {
  color: var(--rd-text-muted, #a0a0a0);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rd-footer-legal-link:hover {
  color: var(--rd-color-accent, #e64e94);
  text-decoration: underline;
}

.rd-footer-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 3px;
}

.rd-footer-dot {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 2px;
}

/* --- HERO ENTRADA & SCROLL REVEAL ANIMATIONS --- */

/* Hero entry load animation */
@keyframes rd-hero-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rd-hero-title {
  opacity: 0;
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.rd-hero-tagline {
  opacity: 0;
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.rd-hero-actions {
  opacity: 0;
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

/* Scroll reveal utility classes */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Staggered delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* --- STEPPER PANEL TRANSITION ANIMATIONS --- */
.rd-stepper-content {
  position: relative;
  overflow: hidden;
}

@keyframes rd-slide-in-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rd-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rd-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.rd-step-panel.slide-in-right {
  animation: rd-slide-in-right 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rd-step-panel.slide-in-left {
  animation: rd-slide-in-left 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rd-step-panel.fade-in {
  animation: rd-fade-in 0.3s ease forwards;
}

/* --- HERO SLOGAN --- */
.rd-hero-slogan {
  font-family: var(--rd-font-headings);
  font-size: 2.2rem;
  color: var(--rd-color-accent);
  margin-bottom: var(--rd-space-md);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(91, 44, 36, 0.1);
  animation: rd-hero-fade-in-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

/* --- HUSBAND'S EVENT ART SECTION --- */
.rd-events-art-section {
  padding: var(--rd-space-3xl) 0;
  background-color: var(--rd-bg-surface-elevated);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: calc((100vw - 1200px) / 2);
  padding-right: calc((100vw - 1200px) / 2);
}

@media (max-width: 1240px) {
  .rd-events-art-section {
    padding-left: var(--rd-space-md);
    padding-right: var(--rd-space-md);
  }
}

.rd-events-art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rd-space-lg);
  margin-top: var(--rd-space-xl);
}

.rd-art-card {
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  overflow: hidden;
  box-shadow: var(--rd-shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.rd-art-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rd-shadow-lg);
  border-color: var(--rd-color-secondary);
}

.rd-art-img-wrapper {
  position: relative;
  height: 240px;
  width: 100%;
  overflow: hidden;
}

.rd-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-art-card:hover .rd-art-img {
  transform: scale(1.06);
}

.rd-art-badge {
  position: absolute;
  top: var(--rd-space-sm);
  left: var(--rd-space-sm);
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(4px);
  color: var(--rd-text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--rd-border-subtle);
}

.rd-art-click-tip {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rd-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: var(--rd-space-xs);
  border-top: 1px dashed var(--rd-border-subtle);
}

.rd-art-content {
  padding: var(--rd-space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rd-art-title {
  font-family: var(--rd-font-body);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--rd-space-xs);
  color: var(--rd-text-primary);
}

.rd-art-body {
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  line-height: 1.6;
}

/* --- FILE UPLOAD COMPONENT --- */
.rd-file-upload-container {
  margin-top: var(--rd-space-md);
  border-top: 1px dashed var(--rd-border-default);
  padding-top: var(--rd-space-md);
}

.rd-form-helper {
  font-size: 0.8rem;
  color: var(--rd-text-muted);
  margin-bottom: var(--rd-space-2xs);
  line-height: 1.4;
}

.rd-file-dropzone {
  position: relative;
  border: 2px dashed var(--rd-border-default);
  border-radius: var(--rd-radius-md);
  padding: var(--rd-space-md);
  text-align: center;
  background: var(--rd-bg-base);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  cursor: pointer;
}

.rd-file-dropzone:hover {
  border-color: var(--rd-color-secondary);
  background: rgba(var(--rd-color-secondary-rgb), 0.02);
}

.rd-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.rd-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--rd-text-secondary);
  pointer-events: none;
}

.rd-dropzone-content .upload-icon {
  width: 32px;
  height: 32px;
  color: var(--rd-color-secondary);
  margin-bottom: var(--rd-space-3xs);
}

.rd-dropzone-content .dropzone-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.rd-file-preview {
  display: flex;
  align-items: center;
  gap: var(--rd-space-sm);
  width: 100%;
  z-index: 10;
}

.rd-preview-img-tag {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--rd-radius-sm);
  border: 1px solid var(--rd-border-default);
}

.rd-preview-filename {
  font-size: 0.85rem;
  color: var(--rd-text-primary);
  font-weight: 500;
  text-align: left;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-remove-file-btn {
  background: #FF3B30;
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: var(--rd-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
}

.rd-remove-file-btn:hover {
  background: #D32F2F;
}

.rd-footer-link {
  color: var(--rd-text-primary);
  font-weight: 500;
}
.rd-footer-link:hover {
  color: var(--rd-color-accent);
}
.rd-footer-subtagline {
  font-size: 0.85rem;
  color: var(--rd-text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* --- GALLERY LIGHTBOX MODAL --- */
.rd-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--rd-space-md);
}

.rd-gallery-modal.active {
  display: flex;
  animation: rd-fade-in 0.3s ease forwards;
}

.rd-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 35, 28, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rd-modal-content {
  position: relative;
  background: var(--rd-bg-surface);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--rd-radius-xl);
  border: 1px solid var(--rd-border-default);
  box-shadow: var(--rd-shadow-lg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: var(--rd-space-lg);
  overflow-y: auto;
  animation: rd-slide-in-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rd-modal-close-btn {
  position: absolute;
  top: var(--rd-space-md);
  right: var(--rd-space-md);
  background: var(--rd-bg-base);
  border: 1px solid var(--rd-border-default);
  color: var(--rd-text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s ease;
  box-shadow: var(--rd-shadow-sm);
}

.rd-modal-close-btn:hover {
  background: var(--rd-color-accent);
  color: #FFFFFF;
  border-color: var(--rd-color-accent);
  transform: rotate(90deg);
}

.rd-modal-header {
  margin-bottom: var(--rd-space-md);
  padding-right: var(--rd-space-xl);
}

.rd-modal-title {
  font-size: 2.2rem;
  color: var(--rd-text-primary);
}

.rd-modal-subtitle {
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
}

.rd-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--rd-space-md);
  padding: var(--rd-space-xs) 0;
}

.rd-gallery-img-card {
  position: relative;
  border-radius: var(--rd-radius-md);
  overflow: hidden;
  border: 1px solid var(--rd-border-subtle);
  box-shadow: var(--rd-shadow-sm);
  height: 200px;
  background: var(--rd-bg-base);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-gallery-img-card:hover {
  transform: scale(1.03);
  box-shadow: var(--rd-shadow-md);
  border-color: var(--rd-color-secondary);
}

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

/* --- FULLSCREEN LIGHTBOX VIEWER --- */
.rd-lightbox-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.rd-lightbox-viewer.active {
  display: flex;
  animation: rd-fade-in 0.25s ease forwards;
}

.rd-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
}

.rd-lightbox-image-container {
  position: relative;
  z-index: 10;
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rd-slide-in-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rd-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--rd-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.rd-lightbox-close-btn {
  position: absolute;
  top: var(--rd-space-md);
  right: var(--rd-space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
}

.rd-lightbox-close-btn:hover {
  background: var(--rd-color-accent);
  border-color: var(--rd-color-accent);
  transform: scale(1.05);
}

.rd-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
}

.rd-lightbox-nav-btn:hover {
  background: var(--rd-color-secondary);
  border-color: var(--rd-color-secondary);
  transform: translateY(-50%) scale(1.08);
}

.rd-lightbox-nav-btn.prev {
  left: var(--rd-space-lg);
}

.rd-lightbox-nav-btn.next {
  right: var(--rd-space-lg);
}

@media (max-width: 768px) {
  .rd-lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .rd-lightbox-nav-btn.prev {
    left: var(--rd-space-xs);
  }
  .rd-lightbox-nav-btn.next {
    right: var(--rd-space-xs);
  }
  .rd-lightbox-image-container {
    max-width: 90%;
  }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.rd-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.rd-whatsapp-float:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.rd-whatsapp-icon {
  width: 32px;
  height: 32px;
}

/* Pulsing effect */
.rd-whatsapp-float::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- RESPONSIVE MOBILE & TABLET REFINEMENTS --- */
@media (max-width: 1024px) {
  /* Header adjustments & Centered Mobile Header */
  .rd-header-container {
    padding: var(--rd-space-sm) var(--rd-space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
  }
  
  .rd-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
  }
  
  .rd-logo-img {
    height: 48px;
  }
  
  .rd-header-cta {
    display: none !important; /* Hide header CTA button to leave space for centered logo */
  }
  
  /* Responsive Hamburger Button */
  .rd-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1070; /* Above nav overlay */
    position: relative;
  }
  
  .rd-hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--rd-text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .rd-hamburger.active .rd-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .rd-hamburger.active .rd-hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .rd-hamburger.active .rd-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Mobile Fullscreen Slide-in Menu Overlay */
  .rd-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
  }
  
  .rd-nav.active {
    left: 0;
  }
  
  .rd-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--rd-space-md);
    width: 100%;
    padding: var(--rd-space-xl) 0;
  }
  
  .rd-nav-link {
    font-size: 1.4rem;
    font-family: var(--rd-font-headings);
    padding: var(--rd-space-2xs) 0;
    color: var(--rd-text-secondary);
  }
  
  .rd-nav-link:hover,
  .rd-nav-link.active {
    color: var(--rd-color-accent);
  }
  
  /* Hero adjustments */
  .rd-hero {
    height: auto;
    min-height: 90vh;
    padding: var(--rd-space-3xl) var(--rd-space-md) var(--rd-space-xl) var(--rd-space-md);
    display: flex;
    align-items: center;
  }
  
  .rd-hero-content {
    padding: var(--rd-space-lg) var(--rd-space-md);
  }
  
  .rd-hero-title {
    font-size: 2.8rem;
  }
  
  .rd-hero-slogan {
    font-size: 1.2rem;
  }
  
  .rd-hero-courses {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: var(--rd-radius-md);
    padding: 10px 14px;
    gap: var(--rd-space-3xs);
    width: 100%;
  }
  
  /* Customizer steps adjustments */
  .rd-stepper-header {
    flex-direction: column;
    gap: var(--rd-space-sm);
  }
  
  .rd-step-indicator::after {
    display: none;
  }
  
  /* Portfolio Adjustments - 2 Columns on Mobile */
  .rd-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rd-space-xs);
  }
  
  .rd-portfolio-item {
    height: 220px;
    border-radius: var(--rd-radius-md);
  }
  
  .rd-portfolio-info {
    padding: var(--rd-space-sm);
  }
  
  .rd-portfolio-item-title {
    font-size: 1.25rem;
    margin-bottom: 0;
  }
  
  .rd-portfolio-item-category {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }
  
  /* Events Art grid */
  .rd-events-art-grid {
    grid-template-columns: 1fr;
    gap: var(--rd-space-md);
  }
  
  /* Layout constraints */
  .rd-main-container {
    padding: var(--rd-space-md);
  }
  
  /* Courses adjustments */
  .rd-courses-grid {
    grid-template-columns: 1fr;
    gap: var(--rd-space-md);
  }
  
  .rd-course-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .rd-hero-title {
    font-size: 3.5rem;
  }
  
  .rd-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rd-events-art-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rd-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- COURSES SECTION --- */
.rd-courses-section {
  padding: var(--rd-space-3xl) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.rd-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--rd-space-xl);
  margin-top: var(--rd-space-xl);
}

.rd-course-card {
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  padding: var(--rd-space-xl);
  box-shadow: var(--rd-shadow-md);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.rd-course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--rd-color-secondary);
}

.rd-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rd-shadow-lg);
  border-color: var(--rd-color-secondary);
}

.rd-course-badge {
  position: absolute;
  top: var(--rd-space-md);
  right: var(--rd-space-md);
  background: rgba(230, 78, 148, 0.1);
  color: var(--rd-color-accent);
  border: 1px solid rgba(230, 78, 148, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rd-course-title {
  font-size: 1.6rem;
  color: var(--rd-text-primary);
  margin-bottom: var(--rd-space-xs);
  margin-top: var(--rd-space-sm);
  line-height: 1.25;
}

.rd-course-subtitle {
  font-size: 0.88rem;
  color: var(--rd-color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--rd-space-md);
}

.rd-course-body {
  color: var(--rd-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--rd-space-md);
}

.rd-course-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--rd-space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-xs);
}

.rd-course-bullets li {
  font-size: 0.92rem;
  color: var(--rd-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rd-course-bullets .bullet-dot {
  color: var(--rd-color-secondary);
  font-weight: bold;
}

.rd-course-card .rd-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* --- COURSES WAITLIST MODAL --- */
.rd-courses-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-courses-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.rd-courses-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.rd-courses-modal-content {
  max-width: 480px;
  width: 90%;
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  padding: var(--rd-space-xl);
  box-shadow: var(--rd-shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1110;
}

.rd-courses-modal.active .rd-courses-modal-content {
  transform: scale(1);
}

.rd-courses-form {
  margin-top: var(--rd-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-md);
}

/* ==========================================================================
   QUIÉNES SOMOS SECTION
   ========================================================================== */
.rd-about-section {
  padding: var(--rd-space-2xl) 0;
  border-bottom: 1px solid var(--rd-border-subtle);
}

.rd-about-container {
  display: flex;
  align-items: flex-start;
  gap: var(--rd-space-xl);
  max-width: var(--rd-container-max-width);
  margin: 0 auto;
  padding: 0 var(--rd-space-md);
}

.rd-about-centered {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.rd-about-centered .rd-about-content {
  text-align: center;
  align-items: center;
  width: 100%;
}

.rd-about-content {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-md);
}

.rd-about-text {
  color: var(--rd-text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.rd-about-text strong {
  color: var(--rd-text-primary);
  font-weight: 600;
}

.rd-about-block {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-3xs);
  margin-top: var(--rd-space-xs);
  align-items: center;
  width: 100%;
}

.rd-about-subtitle {
  font-family: var(--rd-font-title);
  font-size: 1.45rem;
  color: var(--rd-color-secondary);
  border-bottom: 1px solid rgba(0, 139, 148, 0.15);
  padding-bottom: var(--rd-space-3xs);
  margin-bottom: var(--rd-space-3xs);
  letter-spacing: 0.02em;
  display: inline-block;
  text-align: center;
}

.rd-about-values {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-sm);
  margin-top: var(--rd-space-3xs);
  width: 100%;
  max-width: 720px;
  text-align: left;
}

.rd-value-item {
  display: flex;
  gap: var(--rd-space-sm);
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-md);
  padding: var(--rd-space-sm) var(--rd-space-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rd-value-item:hover {
  transform: translateX(6px);
  border-color: var(--rd-color-accent);
  box-shadow: 0 5px 15px rgba(230, 78, 148, 0.05);
}

.rd-value-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.rd-value-body {
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-3xs);
}

.rd-value-title {
  font-family: var(--rd-font-headings);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--rd-text-primary);
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.rd-value-desc {
  font-size: 0.95rem;
  color: var(--rd-text-secondary);
  line-height: 1.6;
}

/* Custom Portions (+30) Styles */
.rd-custom-portions-wrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.rd-custom-input-group {
  display: inline-flex;
  align-items: center;
  background: #ffffff !important;
  border: 2px solid var(--rd-color-accent, #e64e94) !important;
  border-radius: var(--rd-radius-sm, 8px) !important;
  padding: 4px 12px !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(230, 78, 148, 0.35) !important;
}

.rd-custom-input-group:focus-within {
  border-color: #ff85c0 !important;
  box-shadow: 0 0 16px rgba(230, 78, 148, 0.6) !important;
}

.rd-custom-input-group input[type="number"] {
  width: 65px !important;
  background: #ffffff !important;
  border: none !important;
  color: #121212 !important; /* Bold black text on white background */
  font-family: var(--rd-font-body);
  font-weight: 800 !important;
  font-size: 1.3rem !important;
  text-align: center !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  outline: none !important;
}

.rd-custom-input-unit {
  font-size: 0.9rem !important;
  color: var(--rd-color-accent, #e64e94) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
}

/* ==========================================================================
   TIENDA AZUCREM SECTION
   ========================================================================== */
.rd-store-section {
  padding: var(--rd-space-2xl) 0;
  border-bottom: 1px solid var(--rd-border-subtle);
}

.rd-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rd-space-lg);
  max-width: var(--rd-container-max-width);
  margin: 0 auto;
  padding: 0 var(--rd-space-md);
}

.rd-store-card {
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.rd-store-card:hover {
  transform: translateY(-8px);
  border-color: var(--rd-color-accent);
  box-shadow: 0 15px 35px rgba(230, 78, 148, 0.15);
}

.rd-store-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--rd-border-subtle);
}

.rd-store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-store-card:hover .rd-store-img {
  transform: scale(1.06);
}

.rd-store-content {
  padding: var(--rd-space-md);
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-xs);
  flex-grow: 1;
}

.rd-store-badge {
  color: var(--rd-color-accent);
  background: rgba(230, 78, 148, 0.1);
  border: 1px solid rgba(230, 78, 148, 0.2);
  padding: var(--rd-space-3xs) var(--rd-space-2xs);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--rd-radius-sm);
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rd-store-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--rd-text-primary);
  font-family: var(--rd-font-title);
  letter-spacing: 0.02em;
}

.rd-store-body {
  color: var(--rd-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rd-store-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--rd-space-3xs);
  margin-top: auto;
  padding-top: var(--rd-space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rd-store-features li {
  font-size: 0.85rem;
  color: var(--rd-text-secondary);
  position: relative;
  padding-left: var(--rd-space-sm);
}

.rd-store-features li::before {
  content: '✓';
  color: var(--rd-color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.rd-store-footer-banner {
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  padding: var(--rd-space-lg) var(--rd-space-xl);
  margin: var(--rd-space-xl) auto 0;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--rd-space-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rd-store-footer-banner p {
  color: var(--rd-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.rd-store-footer-banner strong {
  color: var(--rd-text-primary);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 992px) {
  .rd-store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rd-about-container {
    flex-direction: column;
    gap: var(--rd-space-lg);
  }
  
  .rd-about-image-wrapper {
    width: 100%;
  }
  
  .rd-about-img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .rd-store-grid {
    grid-template-columns: 1fr;
  }
  
  .rd-store-footer-banner {
    padding: var(--rd-space-md);
  }
}

/* ==========================================================================
   FLOATING BUDGET BUTTON & GLOBAL BUDGET MODAL COMPONENT
   ========================================================================== */
.rd-floating-budget-btn {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rd-color-secondary);
  color: var(--rd-color-dark);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 22px rgba(0, 139, 148, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rd-floating-budget-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 139, 148, 0.7);
  background: #00a4ae;
}

@media (max-width: 768px) {
  .rd-floating-budget-btn {
    bottom: 84px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* Modal Overlay & Centered Card */
.rd-global-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.rd-modal-card {
  position: relative;
  background: var(--rd-bg-surface);
  border: 1px solid var(--rd-border-subtle);
  border-radius: var(--rd-radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rd-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--rd-text-muted);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.rd-modal-close:hover {
  color: var(--rd-color-accent);
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   MOBILE & TABLET UX OPTIMIZATION REFINEMENTS
   ========================================================================== */
@media (max-width: 600px) {
  .rd-portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--rd-space-md);
  }
  
  .rd-portfolio-item {
    height: 240px;
  }
  
  .rd-portfolio-item-title {
    font-size: 1.35rem;
  }

  .rd-events-art-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rd-space-xs);
  }

  .rd-gallery-modal .rd-modal-content {
    padding: 20px 14px;
    width: 96%;
    max-height: 90vh;
  }

  .rd-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .rd-gallery-img-card {
    height: 145px;
  }

  .rd-modal-card {
    padding: 24px 18px;
    width: 95%;
    max-height: 88vh;
  }

  .rd-floating-budget-btn {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .rd-whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .rd-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rd-space-md);
  }

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

  .rd-modal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cookie Banner & Legal Links */
.rd-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 500px;
  background: rgba(24, 24, 24, 0.96);
  border: 1.5px solid var(--rd-color-accent, #e64e94);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideUpCookie 0.4s ease-out;
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.rd-cookie-text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #e5e5e5;
}

.rd-cookie-text a {
  color: var(--rd-color-accent, #e64e94);
  text-decoration: underline;
}

.rd-cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.rd-cookie-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.rd-cookie-accept {
  background: var(--rd-color-secondary, #008b94);
  color: white;
}

.rd-cookie-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}

.rd-cookie-accept:hover {
  background: #00a4af;
}

.rd-footer-legal-links {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.rd-footer-legal-link {
  color: var(--rd-text-muted, #a0a0a0);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rd-footer-legal-link:hover {
  color: var(--rd-color-accent, #e64e94);
  text-decoration: underline;
}

