/* ==========================================================================
   ALBA ETERNA - EXACT SCREENSHOT PALETTE (Alternating Light/Dark)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Exact Colors from Screenshot */
  --bg-dark: #141414; /* Very dark grey/black */
  --bg-light: #F6F0EA; /* Warm light beige */
  
  --color-accent: #B5834B; /* Bronze/Gold */
  --color-accent-hover: #D19A5C;
  --color-accent-glow: rgba(181, 131, 75, 0.4);
  
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-muted-dark: #cccccc;
  --text-muted-light: #555555;
  
  --glass-bg: rgba(28, 28, 28, 0.7);
  --glass-border: #B5834B; /* Solid bronze borders from the screenshot */
  
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Subpage Hero */
.hero-sub {
  padding: 150px 0 80px;
  text-align: center;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(181, 131, 75, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,15,15,0.85) 0%, rgba(5,5,5,0.95) 100%),
    url('https://images.unsplash.com/photo-1600607686527-6fb886090705?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  position: relative;
}

.hero-sub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.hero-sub .container {
  position: relative;
  z-index: 2;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* --- HEADER & NAVBAR (Pill Style) --- */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.35); /* Transparente */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none; /* Sin borde */
  border-radius: 50px;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 30px;
}

.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.1);
  color: var(--color-accent);
}

/* --- DROPDOWN MENU --- */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(15, 15, 15, 0.95);
  min-width: 220px;
  box-shadow: 0px 15px 30px rgba(0,0,0,0.6);
  border-radius: 12px;
  border: 1px solid rgba(181, 131, 75, 0.3);
  z-index: 1000;
  padding: 0.5rem 0;
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(15px);
}

.dropdown-content a {
  color: var(--text-light);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);
}

.header-actions {
  position: fixed;
  top: 25px;
  right: 40px;
  z-index: 1001;
  pointer-events: auto;
}

.logo-container {
  position: fixed;
  top: 25px;
  left: 40px;
  z-index: 1001;
  pointer-events: auto;
}

.logo-container img {
  height: 40px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 20px var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 25px var(--color-accent-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* --- HERO SECTION (Premium Dark Gradient) --- */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  /* Dark overlay with the image barely visible underneath */
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(181, 131, 75, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15,15,15,0.60) 0%, rgba(5,5,5,0.75) 100%),
    url('https://images.unsplash.com/photo-1596438459194-f28efe8479e0?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture/grid overlay to make the black look much more premium */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 60%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* --- FLOATING GRID (Hero) --- */
.composition-area {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 600px;
  perspective: 1000px;
}

.comp-main {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  z-index: 5;
  animation: float-main 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.comp-main img {
  width: 100%;
  border-radius: 12px;
}

.glass-card {
  background: linear-gradient(145deg, rgba(40, 40, 40, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(181, 131, 75, 0.2);
  border-top: 1px solid rgba(181, 131, 75, 0.6); /* Simulate top lighting */
  border-radius: 20px;
  padding: 2.5rem;
  position: absolute;
  z-index: 6;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1);
  text-align: left;
  color: #fff;
}

.card-left {
  top: 150px;
  left: 0;
  width: 320px;
  animation: float-alt 7s ease-in-out infinite;
}

.card-right-top {
  top: 80px;
  right: 0;
  width: 280px;
  animation: float 8s ease-in-out infinite;
}

.card-right-bottom {
  bottom: 80px;
  right: 20px;
  width: 300px;
  animation: float-alt 6s ease-in-out infinite reverse;
}

/* --- SECTION LIGHT --- */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-light .title-section {
  color: var(--text-dark);
}

.section-light .subtitle-section {
  color: var(--color-accent);
}

.section-light .service-card {
  background: #ffffff;
  border: 1px solid var(--color-accent);
  color: var(--text-dark);
}

.section-light .service-content h3 {
  color: var(--text-dark);
}

.section-light .service-content p {
  color: var(--text-muted-light);
}

/* --- SECTION DARK --- */
.section-dark {
  background-image: 
    linear-gradient(180deg, rgba(15,15,15,0.4) 0%, rgba(5,5,5,0.6) 100%),
    url('assets/bg-section-dark.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.section-dark .title-section {
  color: var(--text-light);
}

.section-dark .subtitle-section {
  color: var(--color-accent);
}

.section-dark .feature-box {
  background: linear-gradient(145deg, #1c1c1c 0%, #111111 100%);
  border: 1px solid rgba(181, 131, 75, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.section-dark .feature-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 131, 75, 0.8), transparent);
}

.section-dark .feature-box p {
  color: var(--text-muted-dark);
}

/* General Section Utilities */
.title-section {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.subtitle-section {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.subtitle-section::before {
  content: '✝'; /* Cross icon from the screenshot */
  font-size: 1.2rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-accent);
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
}

.service-content h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-content p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
  border-color: rgba(181, 131, 75, 0.5);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #8c6031 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(181, 131, 75, 0.3);
}

.feature-icon-wrapper svg {
  color: #fff;
  width: 28px;
  height: 28px;
}

/* --- SPLIT LAYOUT --- */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.split-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.split-image:hover {
  transform: scale(1.02);
}

.split-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.split-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted-light);
}

.split-text .btn {
  margin-top: 1rem;
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
  margin: 4rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(181, 131, 75, 0.3);
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-muted-light);
}

/* Form Styles */
.form-group { margin-bottom: 1.5rem; }
.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-accent);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}
.form-control:focus {
  outline: none;
  background: rgba(0,0,0,0.5);
}

/* Footer */
.footer {
  background-image: 
    linear-gradient(180deg, rgba(10,10,10,0.9) 0%, rgba(0,0,0,0.98) 100%),
    url('https://images.unsplash.com/photo-1507676184212-d0c30a514867?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--color-accent);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo img { height: 40px; margin-bottom: 1rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; font-weight: 600; }
.footer-col p { color: var(--text-muted-dark); font-size: 0.9rem; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted-dark); font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted-dark);
  font-size: 0.85rem;
}

/* --- ANIMATIONS --- */
@keyframes float-main {
  0% { transform: translate(-50%, 0px); }
  50% { transform: translate(-50%, -15px); }
  100% { transform: translate(-50%, 0px); }
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
@keyframes float-alt {
  0% { transform: translateY(0px); }
  50% { transform: translateY(12px); }
  100% { transform: translateY(0px); }
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease-out;
}
.visible {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* Glowing Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(181, 131, 75, 0.15); /* Gold glow */
  top: 20%;
  left: 10%;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  bottom: 0;
  right: 5%;
}

/* RESPONSIVE */
/* --- PRICING GRID --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(181, 131, 75, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(181, 131, 75, 0.1);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.pricing-card:hover::before {
  background: var(--color-accent);
}

.plan-destacado {
  background: rgba(40, 40, 40, 0.75);
  border-color: rgba(181, 131, 75, 0.3);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.plan-destacado::before {
  background: var(--color-accent);
}

.plan-destacado:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--color-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✔️';
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-right: 10px;
  margin-top: 2px;
}

/* --- CREMATORIO CARD (Custom Design) --- */
.crematorio-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  background: #111;
  padding: 40px 35px;
  color: #fff;
}

.crematorio-card-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(to bottom, rgba(20,15,10,0.6) 0%, rgba(10,5,0,0.95) 100%), url('https://images.unsplash.com/photo-1596433809252-260c27459bea?q=80&w=800&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.crematorio-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crematorio-img-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

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

.crematorio-title {
  font-family: 'Charm', cursive, serif;
  font-size: 3rem;
  color: #c99a5b;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.crematorio-subtitle {
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 25px;
  color: #f0f0f0;
  font-weight: 500;
}

.crematorio-divider {
  width: 100%;
  border: none;
  height: 1px;
  background: rgba(201, 154, 91, 0.4);
  margin-bottom: 25px;
}

.crematorio-features {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.crematorio-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 500;
}

.crematorio-features li .check-icon {
  color: #c99a5b;
  margin-right: 12px;
  font-size: 1.1rem;
}

.crematorio-adicionales {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px 0 20px;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: #fff;
}

.crematorio-adicionales .dove-icon {
  color: #c99a5b;
  margin-right: 8px;
  font-size: 1.2rem;
}

.btn-cotizar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #a67b43;
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-cotizar:hover {
  background: #8e6837;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-cotizar .pen-icon {
  margin-right: 10px;
  font-size: 1rem;
}

/* --- SERVICIOS ADICIONALES --- */
.add-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.add-service-item {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.add-service-item:hover {
    transform: translateY(-10px);
    border-color: rgba(181, 131, 75, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.add-service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.add-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.add-service-item:hover .add-service-img img {
    transform: scale(1.08);
}

.add-service-item p {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FAQ ACCORDION --- */
.faq-accordion-item {
    background: rgba(35, 35, 35, 0.95);
    border: 1px solid rgba(181, 131, 75, 0.2);
    border-radius: 35px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.faq-accordion-item.active {
    border: 1px solid rgba(181, 131, 75, 0.8);
    box-shadow: 0 10px 25px rgba(181, 131, 75, 0.3);
}

.faq-accordion-btn {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s ease;
}

.faq-accordion-btn .icon {
    font-family: sans-serif;
    font-size: 1.5rem;
    color: #c99a5b;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-btn .icon {
    transform: rotate(45deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.3s ease;
    padding: 0 2.5rem;
    opacity: 0;
    color: #d1d1d1;
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
    padding: 0 2.5rem 2rem 2.5rem;
    opacity: 1;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    background: rgba(20, 15, 10, 0.8);
    color: #fff;
    border: 1px solid rgba(181, 131, 75, 0.5);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

@media (max-width: 1024px) {
  .comp-main { width: 80%; top: 100px; }
  .card-left { top: -20px; left: 20px; width: 280px; }
  .card-right-top { top: -20px; right: 20px; width: 250px; }
  .card-right-bottom { bottom: 0; right: 50%; transform: translateX(50%); animation: float 6s ease-in-out infinite; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-layout { gap: 2rem; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .header-actions { display: none; }
  .nav-pill { 
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: none !important;
    box-shadow: none !important;
    flex-direction: column;
    padding: 0;
    padding-top: 100px;
    padding-bottom: 50px;
    align-items: center;
    gap: 15px;
    overflow-y: auto;
  }
  .nav-pill.active { display: flex !important; z-index: 1001; }
  
  .nav-link {
    background: rgba(35, 35, 35, 0.95);
    border: 1px solid rgba(181, 131, 75, 0.2);
    border-radius: 40px;
    padding: 12px 35px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    font-size: 1rem;
    text-align: center;
  }

  .logo-container { top: 20px; left: 20px; }
  .hero-title { font-size: 2.5rem !important; line-height: 1.1 !important; }
  .hero-subtitle { font-size: 1.1rem !important; line-height: 1.4 !important; }
  .composition-area { height: auto; display: flex; flex-direction: column; gap: 2rem; padding-top: 2rem; }
  .comp-main { position: relative; width: 100%; top: 0; left: 0; transform: none; animation: none; }
  
  /* Reset absolute cards to block */
  .hero-composition-card {
      position: relative !important;
      width: 100% !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      transform: none !important;
      animation: none !important;
      margin-bottom: 1rem;
  }
  
  /* Dropdown mobile accordion */
  .dropdown {
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: auto;
      gap: 10px;
  }
  .dropdown-content {
      position: relative;
      top: 0;
      left: 0;
      transform: none !important;
      width: 100%;
      box-shadow: none;
      border: none;
      background: transparent;
      padding: 0;
      margin-top: 0;
      max-height: 0;
      opacity: 0;
      visibility: hidden;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.4s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
  }
  .dropdown-content a {
      background: rgba(20, 20, 20, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 30px;
      padding: 10px 25px;
      font-size: 0.9rem;
      text-align: center;
      width: auto;
  }
  .dropdown.open .dropdown-content {
      max-height: 500px;
      opacity: 1;
      visibility: visible;
      padding-bottom: 10px;
  }
  
  .glass-card { position: relative; width: 100% !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; transform: none !important; animation: none !important; margin-bottom: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; text-align: center; }
  .faq-question { font-size: 1rem; }
  
  /* Fix paddings for mobile */
  .hero { padding-top: 120px !important; padding-bottom: 60px !important; }
  .section-light, .section-dark { padding: 60px 0 !important; }
  .split-text { text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
}

/* FIXED: Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden !important;
  max-width: 100%;
}
.orb {
  max-width: 100vw;
  overflow: hidden;
}
@media (max-width: 768px) {
  .orb {
    display: none !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    padding: 0 20px !important;
  }
  .developer-signature {
    order: 3;
    margin-left: 0 !important;
    margin-top: 1.5rem !important;
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .developer-signature a {
    flex-direction: column-reverse !important;
  }
  .developer-signature img {
    transform: scale(1.4) translateY(8px) !important;
  }
}


