@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --gold:      #C9A84C;
  --dark:      #111111;
  --dark-card: #1a1a1a;
  --white:     #ffffff;
  --grey-text: #555555;
  --border:    rgba(201, 168, 76, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

.section-title.white {
  color: var(--white);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 3px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.2s ease;
  border: none;
  line-height: 1;
}

.btn:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.btn-dark  { background: var(--dark);  color: var(--white); }
.btn-light { background: var(--white); color: var(--dark);  }
.btn-gold  { background: var(--gold);  color: var(--dark);  }

/* ============================================================
   CAROUSEL SHARED BUTTONS
   ============================================================ */
.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: background 0.45s ease, box-shadow 0.45s ease;
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.45s ease;
  white-space: nowrap;
}

#navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover,
#navbar.scrolled .nav-links a:hover {
  color: var(--gold);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
  transition: color 0.45s ease;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

#navbar.scrolled .nav-toggle {
  color: var(--dark);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Slider */
.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-left: clamp(1.5rem, 8vw, 7rem);
  padding-right: 2rem;
}

.hero-label {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
  background: var(--white);
}

.about-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--grey-text);
}

.about-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.about-col {
  padding: 0.5rem 0;
  border-top: 2px solid #e8e8e8;
  padding-top: 1.8rem;
}

.about-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.about-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.about-col p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--grey-text);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 7rem 0;
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.8rem 2rem 2.2rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

a.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover,
a.service-card-link:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--white);
  margin: 0 auto 1.4rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  padding: 7rem 0;
  background: var(--white);
}

.brands-counter {
  text-align: center;
  margin-bottom: 3.5rem;
}

.counter-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.counter-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
}

.logo-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo-viewport {
  flex: 1;
  overflow: hidden;
}

.logo-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  will-change: transform;
}

.logo-track img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--white);
  padding: 8px;
  border-radius: 4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 7rem 0;
  background: var(--white);
  border-top: 1px solid #f0f0f0;
}

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.testimonials-viewport {
  flex: 1;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-card {
  min-width: 100%;
  text-align: center;
  padding: 1rem 2rem 1.5rem;
}

.testimonial-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.4rem;
  border: 3px solid var(--gold);
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  max-width: 580px;
  margin: 0 auto 1.4rem;
}

.testimonial-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.t-dot.active {
  background: var(--gold);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 7rem 0;
  background: var(--dark);
  background-image: url('../images/background/1.jpg');
  background-size: cover;
  background-position: center;
  border-top: 4px solid var(--gold);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

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

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.cta-banner p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid #e8e8e8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0 4rem;
}

/* Left */
.footer-brand {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.06em;
  margin-bottom: 1.4rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.footer-socials a {
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-socials svg.footer-social-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* Ocultar restos de iconos Lucide (music-2, etc.) en el footer */
.footer-socials i[data-lucide],
.footer-socials svg.lucide {
  display: none !important;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  max-width: 380px;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 3px;
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.footer-newsletter input:focus {
  border-color: var(--gold);
}

.footer-newsletter input::placeholder {
  color: #aaa;
}

.footer-newsletter button {
  padding: 0.65rem 1.2rem;
  background: var(--gold);
  border: none;
  border-radius: 3px;
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.footer-newsletter button:hover {
  opacity: 0.85;
}

.newsletter-msg {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  min-height: 1.2em;
  color: var(--gold);
}

/* Right */
.footer-contact-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-right p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.footer-map-wrap {
  margin-top: 1rem;
}

.footer-map-frame {
  width: 100%;
  min-height: 220px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.footer-map-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.footer-map-link:hover {
  opacity: 0.85;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #e8e8e8;
  text-align: center;
  padding: 1.3rem 2rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 0.05em;
}

/* ============================================================
   REGISTRO DE MARCA — intro + benefits
   ============================================================ */
.rm-intro {
  padding: 5rem 0 6rem;
  background: var(--white);
}

.rm-intro-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.rm-intro-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.rm-intro-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 680px;
}

.rm-intro-actions {
  margin-top: 2.5rem;
  text-align: center;
}

/* RECUERDA section */
.rm-recuerda {
  padding: 6rem 0;
  background: var(--dark-card);
  border-top: 1px solid #222;
  text-align: center;
}

.rm-recuerda-inner {
  max-width: 800px;
  margin: 0 auto;
}

.rm-recuerda-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.rm-recuerda-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.rm-recuerda-image img {
  width: 100%;
  max-width: 700px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.rm-benefits {
  padding: 5rem 0 6rem;
  background: #f9f9f9;
}

.rm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.rm-benefit-card {
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rm-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.rm-benefit-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.rm-benefit-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.rm-benefit-desc {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.75;
}

/* Planes de registro de marca */
.rm-planes-section {
  padding: 4rem 0 5rem;
  background: #f9f9f9;
}

.rm-planes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}

.rm-plan-card {
  background: var(--white);
  border-radius: 8px;
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rm-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rm-plan-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.rm-plan-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.rm-plan-desc {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.rm-plan-price {
  margin-bottom: 0.5rem;
}

.rm-plan-price-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.25rem;
}

.rm-plan-price-current {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.rm-plan-price--promo .rm-plan-price-old {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #aaa;
  text-decoration: line-through;
  margin-bottom: 0.15rem;
}

.rm-plan-price-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  background: rgba(201, 168, 76, 0.2);
  border-radius: 3px;
}

.rm-plan-note {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 1rem;
}

.rm-plan-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  width: 100%;
}

.rm-plan-features li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.6;
  margin-bottom: 0.45rem;
}

.rm-plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.rm-plan-actions {
  width: 100%;
  max-width: none;
  margin-top: auto;
}

.rm-planes-back {
  text-align: center;
  margin-top: 2.5rem;
}

.rm-planes-back a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.rm-planes-back a:hover {
  opacity: 0.85;
}

/* ============================================================
   REGISTRO DE MARCA — FAQ acordeón
   ============================================================ */
.rm-faq {
  padding: 5rem 0 6rem;
  background: #f9f9f9;
}

.rm-faq-intro {
  text-align: center;
  max-width: 640px;
  margin: -0.5rem auto 2.5rem;
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.65;
}

.rm-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rm-faq-item {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  border-left: 3px solid var(--gold);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.rm-faq-item.is-open {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.rm-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  line-height: 1.45;
}

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

.rm-faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.rm-faq-item.is-open .rm-faq-question svg {
  transform: rotate(180deg);
}

.rm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.rm-faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.75;
}

/* ============================================================
   SERVICIOS PAGE — service cards grid
   ============================================================ */
.services-page-section {
  padding: 6rem 0 7rem;
  background: #f9f9f9;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-page-card {
  background: var(--white);
  border-radius: 8px;
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-page-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.service-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.service-page-desc {
  font-size: 0.88rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  flex: 1;
}

.service-page-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.4rem;
  line-height: 1;
}

.service-page-price span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #aaa;
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-page-price--consultar {
  color: #aaa !important;
}

.service-page-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 3px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, opacity 0.25s ease;
  width: 100%;
  text-align: center;
}

.service-page-btn:hover {
  opacity: 0.85;
}

/* ============================================================
   SERVICIO DETALLE — landing por servicio (servicios/*.html)
   ============================================================ */
.sd-hero-extra {
  padding: 3.5rem 0 4rem;
  background: var(--white);
  text-align: center;
}

.sd-hero-extra-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sd-hero-subtitle {
  font-size: 1.05rem;
  color: var(--grey-text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.sd-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sd-hero-split--no-image {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.sd-hero-price--consultar {
  color: #aaa !important;
}

.sd-hero-content {
  text-align: left;
}

.sd-hero-visual {
  position: relative;
}

.sd-hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid #eeeeee;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sd-hero-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}

.sd-hero-price span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #aaa;
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sd-hero-price-note {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin-bottom: 1.8rem;
}

.sd-hero-form-note {
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-top: 1.5rem;
  max-width: 100%;
}

.sd-section {
  padding: 5rem 0;
}

.sd-section--light {
  background: #f9f9f9;
}

.sd-section--dark {
  background: var(--dark-card);
}

.sd-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

.sd-section--dark .sd-section-title {
  color: var(--white);
}

.sd-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.sd-step-card {
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.sd-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sd-step-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin: 0 auto 1rem;
  display: block;
}

.sd-step-text {
  font-size: 0.92rem;
  color: var(--grey-text);
  line-height: 1.65;
}

.sd-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sd-why-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
}

.sd-why-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-why-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.sd-why-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  padding-top: 0.35rem;
}

.sd-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.sd-info-card {
  background: var(--white);
  border-radius: 10px;
  border-top: 3px solid var(--gold);
  padding: 2rem 1.8rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.sd-info-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.sd-info-list {
  list-style: none;
}

.sd-info-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.sd-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.sd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sd-related-card {
  background: var(--white);
  border-radius: 8px;
  border-top: 3px solid var(--gold);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.sd-related-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.sd-related-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.sd-related-price {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
  flex: 1;
}

.sd-related-btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  transition: opacity 0.25s ease;
}

.sd-related-btn:hover {
  opacity: 0.85;
}

.sd-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
}

.sd-breadcrumb a {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.sd-breadcrumb a:hover {
  opacity: 0.8;
}

.sd-breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* ============================================================
   INNER PAGES — Navbar always white (no hero underneath)
   ============================================================ */
#navbar.scrolled-forced {
  background: var(--white) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled-forced .nav-brand,
#navbar.scrolled-forced .nav-links a {
  color: var(--dark) !important;
}

#navbar.scrolled-forced .nav-links a:hover {
  color: var(--gold) !important;
}

#navbar.scrolled-forced .nav-toggle {
  color: var(--dark) !important;
}

.nav-active {
  color: var(--gold) !important;
}

/* ============================================================
   PAGE HEADER — shared dark banner for inner pages
   ============================================================ */
.page-header {
  position: relative;
  background-image: url('../images/hero/1.jpg');
  background-size: cover;
  background-position: center;
  padding: 11rem 0 5rem;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.page-header-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
}

.page-header-subrole {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  max-width: 720px;
  margin: -0.5rem auto 1.25rem;
  line-height: 1.55;
}

.page-header-subrole:empty {
  display: none;
  margin: 0;
}

/* ============================================================
   EQUIPO — perfil individual (equipo/*.html)
   ============================================================ */
.equipo-profile {
  padding: 3rem 0 5rem;
  background: var(--white);
}

.equipo-profile-missing {
  padding: 4rem 0;
  text-align: center;
}

.equipo-profile-missing a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.equipo-hero {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.equipo-hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
  background: #f0f0f0;
}

.equipo-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.equipo-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-text);
  margin-bottom: 1.5rem;
}

.equipo-linkedin-wrap {
  display: none;
}

.equipo-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.equipo-block-full {
  margin-bottom: 0;
}

.equipo-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.equipo-cred-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.65rem;
}

.equipo-list {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--grey-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.equipo-list li + li {
  margin-top: 0.45rem;
}

.equipo-cred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

@media (max-width: 900px) {
  .equipo-hero {
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .equipo-hero {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
  }

  .equipo-columns {
    grid-template-columns: 1fr;
  }

  .equipo-cred-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EQUIPO — team grid & cards
   ============================================================ */
.team-section {
  padding: 6rem 0 7rem;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.team-card-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0f0f0;
}

.team-card-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.team-card-photo-placeholder svg {
  width: 64px;
  height: 64px;
}

.team-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.team-card-name {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.team-card-firstname {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--dark);
}

.team-card-lastname {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.team-card-role {
  font-size: 0.82rem;
  color: #888;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.team-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.team-card-link:hover {
  gap: 0.55rem;
}

.team-card-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 960px) {
  .about-cols {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar hamburger */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    color: var(--dark) !important;
    font-size: 0.8rem;
  }

  .nav-links a:hover {
    color: var(--gold) !important;
    background: #fafafa;
  }

  /* Hero */
  .hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1rem;
  }

  /* CTA */
  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

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

  .rm-benefits-grid {
    grid-template-columns: 1fr;
  }

  .rm-planes-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

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

  .sd-info-grid {
    grid-template-columns: 1fr;
  }

  .sd-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sd-hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sd-hero-content {
    text-align: center;
  }

  .sd-hero-image {
    max-height: 320px;
  }

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

  .sd-why-grid {
    grid-template-columns: 1fr;
  }

  .sd-info-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   AVISO — nota flotante al entrar (index)
   ============================================================ */
.site-work-notice {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.site-work-notice.is-visible {
  pointer-events: auto;
}

.site-work-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-work-notice.is-visible .site-work-notice-backdrop {
  opacity: 1;
}

.site-work-notice-note {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(165deg, #fffef8 0%, #f8f4e6 100%);
  color: var(--dark, #111);
  border-radius: 4px 4px 12px 12px;
  box-shadow:
    0 2px 0 rgba(201, 168, 76, 0.35),
    0 18px 48px rgba(0, 0, 0, 0.28);
  transform: translateY(24px) scale(0.96) rotate(-0.5deg);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-work-notice.is-visible .site-work-notice-note {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(-0.5deg);
}

.site-work-notice-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c96a, var(--gold, #C9A84C) 55%, #a8862e);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.site-work-notice-pin::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 1px;
}

.site-work-notice-title {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dark, #111);
  text-align: center;
}

.site-work-notice-text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
}

.site-work-notice-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  background: var(--gold, #C9A84C);
  color: var(--dark, #111);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.site-work-notice-btn:hover {
  background: #d4b456;
}

.site-work-notice-btn:active {
  transform: scale(0.98);
}

body.site-notice-open,
body.emgra-aber-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .site-work-notice-note {
    padding: 1.75rem 1.25rem 1.25rem;
  }

  .services-grid {
    max-width: 100%;
  }

  .logo-carousel-wrapper {
    gap: 0.6rem;
  }

  .footer-newsletter {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-newsletter button {
    width: 100%;
  }
}
