/* ============================================
   GLOBAL CSS — Academia Internacional Paloma Sahid
   Design Tokens extracted from Elementor Kit
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=DM+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ---- CSS Variables (Design System) ---- */
:root {
  /* Color Palette */
  --color-primary: #C9A74A;
  --color-secondary: #D1B3B0;
  --color-text-muted: #878787;
  --color-accent: #111111;
  --color-fondo: #0D0D0D;
  --color-fondo-alt: #111111;
  --color-tarjeta: #141414;
  --color-texto: #F5F5F5;
  --color-texto-tenue: #878787;
  --color-borde: #292929;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Typography */
  --font-primary: "Playfair Display", serif;
  --font-secondary: "DM Sans", sans-serif;

  /* Typography Sizes */
  --fs-hero: 112px;
  --fs-section-title: 48px;
  --fs-h3: 28px;
  --fs-h4: 22px;
  --fs-h5: 18px;
  --fs-h6: 13px;
  --fs-body: 17px;
  --fs-small: 14px;

  /* Line Heights */
  --lh-hero: 1.02em;
  --lh-section: 1.2em;
  --lh-body: 1.7em;

  /* Container */
  --container-max-width: 1140px;
  --container-padding: 20px;

  /* WhatsApp */
  --whatsapp-brand: #25d366;

  /* Transitions */
  --transition-default: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-secondary);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-texto);
  background-color: var(--color-fondo);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-default);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: var(--lh-section);
}

h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
}

h2 {
  font-size: var(--fs-section-title);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

h6 {
  font-family: var(--font-secondary);
  font-size: var(--fs-h6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

p {
  margin-bottom: 1em;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-default);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-fondo);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: #b8963f;
  border-color: #b8963f;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-texto);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-fondo);
}

.btn-purple {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #ffffff;
  border-color: transparent;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
}

.btn-purple:hover {
  background: linear-gradient(135deg, #8e44ad, #7d3c98);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-color: transparent;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  gap: 10px;
}

.btn-whatsapp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition-default);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* ---- Section Spacing ---- */
.section {
  padding: 100px 0;
}

.section-dark {
  background-color: var(--color-fondo);
  color: var(--color-texto);
}

.section-light {
  background-color: #ffffff;
  color: #1a1a1a;
}

.section-alt {
  background-color: var(--color-fondo-alt);
  color: var(--color-texto);
}

/* ---- Label / Eyebrow ---- */
.label {
  font-family: var(--font-secondary);
  font-size: var(--fs-h6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}

/* ---- Divider ---- */
.divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 20px 0;
}

/* ---- Icon List (Checkmarks) ---- */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: var(--fs-body);
  line-height: 1.6;
}

.icon-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Scroll to Top (hidden by default) ---- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-fondo-alt);
  border: 1px solid var(--color-borde);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 998;
  cursor: pointer;
  transition: var(--transition-default);
  color: var(--color-texto);
  font-size: 18px;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--color-primary);
  color: var(--color-fondo);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --fs-hero: 64px;
    --fs-section-title: 36px;
    --fs-h3: 24px;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 42px;
    --fs-section-title: 28px;
    --fs-h3: 20px;
    --fs-body: 15px;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-hero: 32px;
    --fs-section-title: 24px;
  }
}
