/* ============================================
   NUDA PROPIEDAD — Design System
   Navy #0B1D3A · Gold #C9A84C · White
   ============================================ */

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

/* ── CSS Variables ── */
:root {
  --navy-900: #060E1F;
  --navy-800: #0B1D3A;
  --navy-700: #132D5E;
  --navy-600: #1A3D7A;
  --navy-500: #245099;
  --gold-600: #A8872E;
  --gold-500: #C9A84C;
  --gold-400: #D4B86A;
  --gold-300: #E5C66D;
  --gold-200: #F0DDA0;
  --cream: #F5F5F0;
  --white: #FFFFFF;
  --gray-100: #F7F7F7;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 29, 58, 0.1);
  --shadow-lg: 0 10px 30px rgba(11, 29, 58, 0.15);
  --shadow-xl: 0 20px 50px rgba(11, 29, 58, 0.2);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-500);
}

/* ── Typography ── */
.font-serif {
  font-family: var(--font-serif);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

section {
  padding: 5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 168, 76, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 2px solid var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
  height: 44px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dropdown-item:hover {
  background: var(--cream);
  color: var(--gold-600);
}

.nav-dropdown-item img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.nav-cta {
  margin-left: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.9) 0%, rgba(11, 29, 58, 0.6) 50%, rgba(11, 29, 58, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 6rem 0 4rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

.hero h1 .gold {
  color: var(--gold-400);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 550px;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  font-family: var(--font-serif);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ── FLOATING SHAPES ── */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: var(--gold-400);
}

.hero-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 250px;
  height: 250px;
  bottom: -50px;
  left: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 20%;
  animation: float 25s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ── VALUE CARDS ── */
.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-400);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── MARKETS PREVIEW ── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.market-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.market-card:hover img {
  transform: scale(1.05);
}

.market-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.market-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid var(--gold-500);
  border-radius: 50px;
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 1rem;
}

.market-card h3 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.market-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.market-card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.market-card:hover .market-card-arrow {
  background: var(--gold-500);
}

.market-card-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--navy-800);
  color: var(--white);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.how-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.how-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-400);
  font-family: var(--font-serif);
}

.how-step h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.how-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ── NUDA PROPIEDAD PAGE ── */
.nuda-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
}

.nuda-hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.nuda-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.15rem;
}

.diagram-section {
  padding: 5rem 0;
  background: var(--cream);
}

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

.diagram-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.diagram-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.diagram-card:nth-child(1)::before {
  background: var(--navy-800);
}

.diagram-card:nth-child(2)::before {
  background: var(--gold-500);
}

.diagram-card:nth-child(3)::before {
  background: var(--navy-600);
}

.diagram-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.diagram-card:nth-child(1) .diagram-icon {
  background: rgba(11, 29, 58, 0.1);
}

.diagram-card:nth-child(2) .diagram-icon {
  background: rgba(201, 168, 76, 0.15);
}

.diagram-card:nth-child(3) .diagram-icon {
  background: rgba(19, 45, 94, 0.1);
}

.diagram-icon svg {
  width: 32px;
  height: 32px;
}

.diagram-card h3 {
  margin-bottom: 1rem;
}

.diagram-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── FAQ ── */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: var(--transition);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-500);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--gold-500);
}

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

.faq-answer-inner {
  padding: 0 0 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── BENEFITS ── */
.benefits-section {
  background: var(--cream);
  padding: 5rem 0;
}

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

.benefits-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefits-col h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-500);
}

.benefit-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy-900);
  stroke-width: 3;
}

.benefit-item p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ── MARKET PAGES ── */
.market-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.market-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-900) 0%, rgba(11, 29, 58, 0.5) 50%, rgba(11, 29, 58, 0.3) 100%);
}

.market-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
  width: 100%;
}

.market-hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
}

.market-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.market-stat {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.market-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.market-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-500);
  font-family: var(--font-serif);
}

.market-stat-label {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.market-features {
  padding: 5rem 0;
}

.market-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.market-feature:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.market-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.market-feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-400);
}

.market-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.market-feature p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── CALCULATOR ── */
.calc-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 8rem 0 3rem;
  text-align: center;
  color: var(--white);
}

.calc-hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.calc-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.calc-section {
  padding: 4rem 0 5rem;
  background: var(--cream);
}

.calc-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.calc-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.calc-field {
  margin-bottom: 2rem;
}

.calc-field label {
  display: block;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.calc-field .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-field .age-display {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-500);
  font-family: var(--font-serif);
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  outline: none;
  margin-top: 0.5rem;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  cursor: pointer;
  box-shadow: var(--shadow-gold);
}

.calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.calc-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.currency-toggle {
  display: flex;
  flex-wrap: wrap;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 4px;
}

.currency-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: var(--transition);
  text-align: center;
}

.currency-btn.active {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.calc-result {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.calc-donut {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 2rem;
}

.calc-donut svg {
  width: 220px;
  height: 220px;
  transform: rotate(-90deg);
}

.calc-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.calc-donut-value {
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 800;
  color: var(--navy-800);
  font-family: var(--font-serif);
  text-align: center;
  line-height: 1.2;
}

.calc-donut-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.calc-result-details {
  width: 100%;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-row .label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.calc-result-row .label .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.calc-result-row .value {
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.calc-disclaimer {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 8rem 0 3rem;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.contact-section {
  padding: 4rem 0 5rem;
  background: var(--cream);
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-100);
}

.contact-tab {
  flex: 1;
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
  position: relative;
}

.contact-tab.active {
  color: var(--navy-800);
}

.contact-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-500);
}

.contact-form {
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2.5rem;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: scaleIn 0.5s ease;
}

.form-success-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--navy-900);
  stroke-width: 2.5;
}

.form-success h3 {
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--gray-600);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* ── FOOTER ── */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  cursor: pointer;
}

.footer-link:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  max-width: 800px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 29, 58, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 999;
  }

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

  .nav-link {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    margin-top: 0.25rem;
  }

  .nav-dropdown-item {
    color: rgba(255, 255, 255, 0.7);
  }

  .nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-400);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-content {
    padding: 7rem 0 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

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

  .market-card {
    height: 320px;
  }

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

  .calc-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .market-stats {
    grid-template-columns: 1fr 1fr;
  }
}
