@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #07080a;
  --bg-raised: #0c0d10;
  --surface: #111318;
  --border: rgba(255, 255, 255, .075);
  --border-md: rgba(255, 255, 255, .14);
  --gold: #c3a261;
  --gold-dim: rgba(195, 162, 97, .18);
  --gold-line: rgba(195, 162, 97, .42);
  --text: #f3f0e9;
  --text-2: #b7b2a7;
  --text-3: #777065;
  --font: Manrope, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

a {
  color: inherit;
}

em {
  color: var(--gold);
  font-style: normal;
}

#cvs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .65;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.section-wrap {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: visible;
}

.section-pad {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 1rem 2rem;
}

.s-label,
.ph-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.s-label,
.ph-label,
.cta-label {
  color: var(--gold);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.s-label::before,
.ph-label::before {
  content: "";
  width: 32px;
  height: 1px;
  flex-shrink: 0;
  background: var(--gold-line);
}

.s-title,
.ph-title,
.cta-title {
  font-size: clamp(2rem, 10vw, 3.1rem);
  font-weight: 300;
  line-height: 1.06;
}

.btn-outline {
  padding: .78rem 1.35rem;
  border: 1px solid var(--border-md);
  color: var(--text);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s;
}

.btn-outline:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}

button.btn-outline {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.btn-text,
.link-subtle,
.fbtn,
.filter-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-text {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text-2);
  transition: color .3s;
}

.btn-text svg,
.link-subtle svg {
  transition: transform .3s;
}

.btn-text:hover,
.link-subtle:hover {
  color: var(--gold);
}

.btn-text:hover svg,
.link-subtle:hover svg {
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollDrop {
  0% {
    top: -50%;
  }

  100% {
    top: 150%;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   FAQ Section — Professional accordion
   Clean, premium, accessible and consistent with site language
   ============================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.faq-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-intro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-intro-text {
  max-width: 380px;
  margin: 1rem 0 1.5rem;
  color: var(--text-2);
  font-size: .92rem;
  line-height: 1.7;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1),
              background 0.2s ease;
}

.faq-item:hover {
  border-color: var(--gold-line);
}

.faq-item[open] {
  border-color: var(--gold-line);
  background: rgba(12, 13, 16, 0.7);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* Subtle premium gold accent bar on the left when open */
.faq-item[open] {
  border-left: 3px solid var(--gold);
}

/* Summary (the clickable question row) */
.faq-item summary {
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: background 0.15s ease;
  outline: none;
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Strong, visible focus for keyboard users (professional & accessible) */
.faq-item summary:focus-visible {
  background: rgba(195, 162, 97, 0.08);
  box-shadow: inset 0 0 0 1px var(--gold-line);
  border-radius: 10px 10px 0 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Question text */
.faq-item .faq-q {
  flex: 1;
  line-height: 1.4;
}

/* Custom chevron icon (clean + to x) */
.faq-item .faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item .faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-item .faq-icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

/* Modern grid-based content animation (true height, no clipping, professional feel) */
.faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item[open] .faq-content {
  grid-template-rows: 1fr;
}

.faq-item .faq-content > .faq-a {
  overflow: hidden;
  min-height: 0;
}

/* Answer text */
.faq-item .faq-a {
  padding: 0.9rem 1.35rem 1.15rem;
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* Slight visual refinement on open */
.faq-item[open] .faq-a {
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 760px) {
  .faq-intro-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .faq-intro-text {
    font-size: .88rem;
  }

  .faq-item summary {
    padding: 0.95rem 1.1rem;
    font-size: 0.94rem;
  }

  .faq-item .faq-a {
    padding: 0.75rem 1.1rem 1rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   Professional Footer
   Clean, balanced, premium feel consistent with the site
   ============================================ */
footer {
  position: relative;
  z-index: 1;
  padding: 3.25rem 1rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* Main 4-column grid — brand gets more weight */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1fr;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto 2.25rem;
  align-items: start;
}

/* Tablet: 2x2 balanced */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

/* Mobile: clean single column stack + professional refinements */
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
    margin-bottom: 1.5rem;
  }

  /* Brand section centered for a polished mobile look */
  .footer-grid > div:first-child {
    text-align: center;
  }
  .footer-tagline {
    max-width: none;
    margin: 0 auto;
  }

  /* Section titles centered on mobile for balanced professional appearance */
  .footer-col-title {
    font-size: 0.6rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  /* Center the content of the stacked sections (nav, contact, social) on mobile */
  .footer-grid > div:not(:first-child) {
    text-align: center;
  }
  .footer-nav ul,
  .footer-contact-list {
    align-items: center;
    gap: 0.5rem;
  }
  .footer-nav a,
  .footer-contact-list a {
    font-size: 0.88rem;
  }

  /* Social links centered within the section as professional buttons */
  .footer-social {
    align-items: center;
    gap: 0.55rem;
  }
  .footer-social a {
    display: flex;
    width: 100%;
    max-width: 170px;
    justify-content: center;
    font-size: 0.88rem;
  }

  /* Footer bottom: fully centered and stacked for mobile professionalism */
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.55rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.55rem;
  }

  /* Remove dot separators on mobile to avoid clutter when stacked */
  .footer-legal a:not(:last-child)::after {
    display: none;
  }

  /* Add a tiny bit more breathing room at the very bottom */
  footer {
    padding-bottom: 2rem;
  }
}

.footer-col-title {
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

/* Brand */
.f-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.45;
  max-width: 260px;
}

/* Navigation & Contact lists */
.footer-nav ul,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a,
.footer-contact-list a {
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.footer-nav a:hover,
.footer-contact-list a:hover {
  color: var(--gold);
}

/* Social links */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social a {
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}

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

/* Bottom bar — centered content */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.56rem;
  color: var(--text-3);
  letter-spacing: .04em;
}

.footer-bottom a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Legal section */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  color: var(--text-3);
  text-align: center;
}

.footer-legal span {
  color: var(--text-3);
}

.footer-legal a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-cookie-prefs {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-cookie-prefs:hover {
  color: var(--gold);
}

/* Elegant dot separators between legal links (desktop/tablet) */
.footer-legal a:not(:last-child)::after {
  content: "·";
  margin-left: 0.65rem;
  color: var(--border);
}

/* Social icons polish */
.footer-social a svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-social a span {
  font-size: 0.85rem;
}

/* Desktop padding harmonization (overriding responsive where needed) */
@media (min-width: 861px) {
  footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  border: 1px solid var(--border-md);
  border-radius: 14px;
  background: rgba(12, 13, 16, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .35s ease, transform .35s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
}

.cookie-consent-title {
  margin-bottom: .35rem;
  color: var(--gold);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookie-consent-text {
  color: var(--text-2);
  font-size: .85rem;
  line-height: 1.6;
}

.cookie-consent-text a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: .2em;
}

.cookie-consent-text a:hover {
  color: var(--gold);
}

.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.cookie-consent-actions .cta-btn {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.cookie-consent-actions .btn-outline,
.cookie-consent-actions .cta-btn {
  text-align: center;
}

@media (min-width: 761px) {
  .cookie-consent {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    max-width: 32rem;
  }

  .cookie-consent-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .cookie-consent-actions .btn-outline,
  .cookie-consent-actions .cta-btn {
    flex: 1;
  }
}

/* Tablas de cookies (Política de Cookies) */
.cookie-table-wrap {
  margin-top: .75rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  line-height: 1.6;
}

.cookie-table th,
.cookie-table td {
  padding: .75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--surface);
  white-space: nowrap;
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-table code {
  color: var(--text);
  font-size: .82rem;
}
