/* ============================================
   ACTIVA PILATES — Global Styles
   ============================================ */

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

/* ── Variables ── */
:root {
  --pink-main:   #E8306A;
  --pink-dark:   #C41F56;
  --pink-light:  #F9A8C9;
  --pink-blush:  #FFF0F5;
  --pink-mid:    #F2719A;
  --white:       #FFFFFF;
  --off-white:   #FDF7F9;
  --text-dark:   #1A0A10;
  --text-mid:    #5A3045;
  --text-light:  #9A6070;
  --shadow-pink: 0 8px 40px rgba(232,48,106,0.18);
  --shadow-soft: 0 4px 24px rgba(26,10,16,0.08);
  --radius:      16px;
  --radius-lg:   28px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
p  { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-mid); line-height: 1.75; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink-main);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(232,48,106,0.35);
}
.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,48,106,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-wtsp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
}
.btn-wtsp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.45);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Section base ── */
.section { padding: 100px 0; }
.section-alt { background: var(--pink-blush); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title { color: var(--text-dark); margin-bottom: 20px; }
.section-subtitle { color: var(--text-mid); max-width: 600px; margin-bottom: 48px; }

/* ── Parallax divider ── */
.parallax-divider {
  height: 420px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.parallax-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,48,106,0.65) 0%, rgba(196,31,86,0.5) 100%);
}
.parallax-divider .parallax-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--white);
  gap: 20px;
  padding: 24px;
}
.parallax-divider h2 { color: var(--white); }
.parallax-divider p { color: rgba(255,255,255,0.9); max-width: 580px; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(26,10,16,0.10);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav.scrolled .nav-logo { color: var(--pink-main); }
.nav-logo span { color: var(--pink-light); }
.nav.scrolled .nav-logo span { color: var(--pink-mid); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--pink-light);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--text-mid); }
.nav.scrolled .nav-links a::after { background: var(--pink-main); }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.88rem !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--text-dark); }
.nav-links.open ~ * .nav-toggle span,
.nav-toggle.menu-open span { background: var(--text-dark); }

/* ── WhatsApp bubble ── */
.wtsp-bubble {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: wtsp-pulse 2.5s infinite;
}
.wtsp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.wtsp-bubble svg { width: 32px; height: 32px; fill: white; }
@keyframes wtsp-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.70); }
}

/* ── Footer ── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .nav-logo span { color: var(--pink-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
footer h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}
footer ul li { margin-bottom: 10px; }
footer ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
footer ul li a:hover { color: var(--pink-light); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--pink-main); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); }
.footer-social a:hover svg { fill: white; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pink);
}

/* ── Responsive Nav ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75vw; max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 24px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; font-size: 1.1rem; }
  .nav-links a::after { background: var(--pink-main) !important; }
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .nav-overlay.open { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  /*.parallax-divider { background-attachment: scroll; }*/
}

/* ===========================
   Cookie Banner
=========================== */

.cookie-banner{
    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;

    display:none;

    z-index:9999;

    background:#2b1824;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;

    padding:14px 22px;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.cookie-banner p{
    margin:0;
    flex:1;

    color:rgba(255,255,255,.92);

    font-size:.92rem;
    line-height:1.35;
}

.cookie-actions{
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
    align-items:center;
}

.consent-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:42px;
    padding:0 20px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.15);

    background:transparent;
    color:#fff;

    font-size:.88rem;
    font-weight:600;

    cursor:pointer;
    transition:.25s;
    white-space:nowrap;
}

.consent-btn:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.25);
}

.consent-btn--primary{
    background:var(--pink-main);
    border-color:var(--pink-main);
}

.consent-btn--primary:hover{
    background:var(--pink-dark);
    border-color:var(--pink-dark);
}

@media (max-width:768px){

    .cookie-banner{
        left:12px;
        right:12px;
        bottom:12px;

        padding:16px;

        flex-direction:column;
        align-items:flex-start;
    }

    .cookie-actions{
        width:100%;
        flex-direction:column;
        gap:8px;
    }

    .consent-btn{
        width:100%;
    }

}