@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary: #FF5A5F;       /* Vibrant energetic coral/pink */
  --primary-glow: rgba(255, 90, 95, 0.4);
  --secondary: #0F172A;     /* Deep slate for text */
  --accent: #FDE047;        /* Energetic yellow/gold */
  --whatsapp: #25D366;
  --wa-glow: rgba(37, 211, 102, 0.4);
  
  --bg-color: #FDFCFB;      /* Pearl white */
  --surface: #FFFFFF;       /* Pure white for cards */
  --surface-muted: #F8FAFC;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  
  --shadow-soft: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-float: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --shadow-color: 0 12px 30px -10px var(--primary-glow);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 10% 15%, rgba(255, 90, 95, 0.08) 0 2px, transparent 3px), radial-gradient(circle at 90% 35%, rgba(253, 224, 71, 0.12) 0 2px, transparent 3px);
  background-size: 34px 34px, 46px 46px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--secondary); line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- TOP BAR ---------- */
.topbar { background: var(--secondary); color: white; padding: 10px 0; font-size: 0.85rem; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.topbar span b { color: var(--accent); }
.topbar a { background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 999px; transition: all 0.2s; }
.topbar a:hover { background: var(--primary); }

/* ---------- NAV ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding: 16px 0;
  transition: all 0.3s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800;
  color: var(--secondary); display: flex; align-items: center; gap: 8px;
}
.brand .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}
.nav-links { display: none; gap: 32px; font-weight: 500; }
.nav-links a { position: relative; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-family: var(--font-heading);
  box-shadow: var(--shadow-color);
  transition: all 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px var(--primary-glow); }

@media(min-width: 900px) { .nav-links { display: flex; } }

/* ---------- HERO ---------- */
.hero { padding: 80px 0 100px; overflow: hidden; }
.hero { position: relative; }
.hero::before {
  content: ''; position: absolute; width: 180px; height: 90px; top: 38px; left: 3%;
  border-top: 2px solid rgba(255, 90, 95, 0.3); border-radius: 50%; transform: rotate(-18deg);
}
.hero::after {
  content: ''; position: absolute; width: 130px; height: 70px; right: 4%; bottom: 40px;
  border-bottom: 2px solid rgba(253, 224, 71, 0.65); border-radius: 50%; transform: rotate(-14deg);
}
.hero .wrap { display: grid; gap: 50px; align-items: center; position: relative; z-index: 1; }
@media(min-width: 992px) { .hero .wrap { grid-template-columns: 1fr 1fr; } }

.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); background: rgba(255, 90, 95, 0.09); border: 1px solid rgba(255, 90, 95, 0.18); border-radius: 999px; padding: 9px 14px; margin-bottom: 20px; font-family: var(--font-heading); font-size: .82rem; font-weight: 800; letter-spacing: .3px; }
.hero-kicker i { color: var(--accent); }
.hero-copy h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; margin-bottom: 24px; max-width: 700px; }
.hero-copy h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.hero-copy h1 .highlight::after {
  content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 12px;
  background: var(--accent); z-index: -1; transform: rotate(-2deg); opacity: 0.6;
}
.hero-copy .lead { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-copy .lead b { color: var(--secondary); font-weight: 600; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; cursor: pointer;
}
.btn-primary { background: var(--secondary); color: white; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); background: #1e293b; }
.btn-whatsapp { background: var(--whatsapp); color: white; box-shadow: 0 12px 30px -10px var(--wa-glow); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px var(--wa-glow); }

.trust-badges { display: flex; flex-wrap: wrap; gap: 20px; }
.badge { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--secondary); }
.badge i { color: var(--accent); font-size: 1.2rem; }
.badge .text-primary { color: var(--primary); }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .9rem; margin-top: 24px; }
.hero-note i { color: var(--primary); }

.hero-art { position: relative; padding: 20px; }
.hero-photo {
  border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 8px solid rgba(255,255,255,0.8);
  aspect-ratio: 4/5; position: relative; z-index: 2;
  transform: rotate(2deg);
}
.hero-art::before, .hero-art::after { content: ''; position: absolute; z-index: 1; border-radius: 50% 50% 45% 45%; }
.hero-art::before { width: 58px; height: 72px; background: var(--primary); top: 2%; left: 0; transform: rotate(-16deg); box-shadow: 35px -18px 0 var(--accent); }
.hero-art::after { width: 44px; height: 58px; background: var(--whatsapp); right: 0; bottom: 4%; transform: rotate(20deg); box-shadow: -30px 16px 0 rgba(255, 90, 95, .7); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ---------- SECTIONS ---------- */
section { padding: var(--section-padding, 100px) 0; }
.sec-head { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.sec-head .eyebrow {
  display: inline-block; background: rgba(255, 90, 95, 0.1); color: var(--primary);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.sec-head p { font-size: 1.1rem; color: var(--text-muted); }
.collection-count {
  display: inline-flex; margin-top: 18px; padding: 8px 14px; border: 1px solid rgba(255, 90, 95, 0.2);
  border-radius: 999px; color: var(--primary); background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px;
}

/* ---------- SERVICES GRID ---------- */
.services { background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 241, 0.92)); position: relative; overflow: hidden; border-top: 1px solid rgba(255, 90, 95, .12); border-bottom: 1px solid rgba(255, 90, 95, .12); }
.services::before {
  content: 'BALLOON • CELEBRATE • CREATE'; position: absolute; top: 38px; right: -58px;
  color: rgba(255, 90, 95, 0.1); font-family: var(--font-heading); font-size: 0.72rem;
  font-weight: 800; letter-spacing: 3px; transform: rotate(90deg);
}
.grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media(min-width: 650px){ .grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px){ .grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex; flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
  animation: cardReveal 0.55s both ease-out;
  animation-delay: calc(var(--card-index, 0) * 80ms);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-float); }
.card::after { content: ''; position: absolute; top: 0; right: 24px; width: 42px; height: 5px; background: var(--accent); border-radius: 0 0 8px 8px; }
.card .ph {
  border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/3; position: relative;
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card .ph iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.card:hover .ph img { transform: scale(1.08); }

.tagpill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--secondary); box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card .body { padding: 24px 12px 12px; display: flex; flex-direction: column; flex-grow: 1; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(15, 23, 42, 0.05); }
.card-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 10px 12px; border-radius: 12px;
  color: white; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-btn:hover { transform: translateY(-2px); }
.card-call { background: var(--secondary); }
.card-whatsapp { background: var(--whatsapp); box-shadow: 0 8px 18px -10px var(--wa-glow); }

.custom-content { background: rgba(255, 248, 241, 0.86); }
.custom-content-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.custom-block { padding: 24px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 90, 95, 0.14); border-radius: 18px; box-shadow: var(--shadow-soft); }
.custom-block h2 { margin-bottom: 10px; }
.custom-block p { color: var(--text-muted); white-space: pre-line; }
.custom-block-image { padding: 12px; }
.custom-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--bg-color); }
.step-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media(min-width: 768px){ .step-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card { text-align: center; position: relative; }
.step-card .icon-box {
  width: 80px; height: 80px; margin: 0 auto 24px;
  background: var(--surface); border-radius: 24px;
  box-shadow: var(--shadow-float);
  display: grid; place-content: center;
  font-size: 2rem; color: var(--primary);
  position: relative; z-index: 2;
}
.step-card .num {
  position: absolute; top: -10px; right: -10px;
  width: 28px; height: 28px; background: var(--secondary); color: white;
  border-radius: 50%; font-weight: 800; display: grid; place-content: center; font-size: 0.9rem;
}
.step-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 1rem; }

/* ---------- WHY US ---------- */
.why-us { background: var(--secondary); color: white; border-radius: 40px; margin: 0 20px; padding: 100px 20px; }
.why-us .sec-head h2 { color: white; }
.why-us .sec-head .eyebrow { background: rgba(255,255,255,0.1); color: var(--accent); }
.why-us .sec-head p { color: rgba(255,255,255,0.7); }

.feat-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto; }
@media(min-width: 768px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }

.feat-item { text-align: center; }
.feat-item .ic {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; display: grid; place-content: center;
  font-size: 1.5rem; color: var(--accent); transition: transform 0.3s;
}
.feat-item:hover .ic { transform: scale(1.1) rotate(5deg); background: rgba(255,255,255,0.1); }
.feat-item h3 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.feat-item p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ---------- FOOTER ---------- */
footer { padding: 80px 0 40px; background: var(--bg-color); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; border-bottom: 1px solid rgba(15,23,42,0.1); padding-bottom: 40px; }
@media(min-width: 768px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.foot-brand p { color: var(--text-muted); margin-top: 16px; max-width: 320px; }
footer h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
footer ul a { color: var(--text-muted); transition: color 0.2s; }
footer ul a:hover { color: var(--primary); }
.foot-bottom { text-align: center; padding-top: 24px; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- DYNAMIC ISLAND MOBILE BAR ---------- */
.mobar-wrapper {
  position: fixed; bottom: 20px; left: 0; right: 0;
  display: flex; justify-content: center; z-index: 999;
  pointer-events: none; /* allow clicks to pass through wrapper */
}
.mobar {
  pointer-events: auto; /* re-enable clicks on the bar itself */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,1);
  display: flex; gap: 8px;
}
.mobar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-family: var(--font-heading); font-size: 0.95rem;
  color: white; text-transform: uppercase; letter-spacing: 0.5px;
}
.mobar .m-call { background: var(--secondary); }
.mobar .m-wa { background: var(--whatsapp); }

@media(min-width: 860px) {
  .mobar-wrapper { display: none; }
  body { padding-bottom: 0; }
}

/* Extra overrides for City Selector index.html */
.city-selector {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  background: var(--bg-color); padding: 20px;
}
.selector-box {
  background: var(--surface); padding: 48px; border-radius: 32px;
  box-shadow: var(--shadow-float); border: 1px solid rgba(15,23,42,0.03);
  max-width: 480px; width: 100%; text-align: center; margin-top: 40px;
}
.city-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 18px; margin-bottom: 16px;
  background: var(--surface-muted); border: 2px solid transparent;
  border-radius: 20px; font-size: 1.15rem; font-weight: 700; font-family: var(--font-heading);
  color: var(--secondary); transition: all 0.3s;
}
.city-btn:hover {
  background: white; border-color: var(--primary); color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow-soft);
}
