/* =========================================================
   Whimsy Wrap – Main Stylesheet
   ========================================================= */

/* ---------- Local fonts ---------- */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* Palette taken from the Whimsy Wrap logo: deep magenta + soft pink */
  --primary: #A8125E;       /* logo magenta */
  --primary-dark: #7E0C46;
  --primary-soft: #FBE3EF;
  --magenta: #A8125E;
  --pink: #E064A4;          /* logo pink */
  --pink-light: #F4A9CF;
  --beige: #FBF1F6;         /* soft blush section background */
  --cream: #FFF8FB;
  --dark: #2A0F22;          /* deep plum */
  --dark-2: #3D1733;
  --dark-deep: #1C0816;
  --white: #FFFFFF;
  --text: #5A4A55;
  --text-dark: #2A0F22;
  --muted: #8A7884;
  --border: #F1DCE7;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(42, 15, 34, .06);
  --shadow: 0 14px 40px rgba(42, 15, 34, .10);
  --shadow-lg: 0 24px 60px rgba(42, 15, 34, .16);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --nav-h: 82px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--text-dark); }
a { color: var(--primary-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--magenta); }
img { max-width: 100%; }
::selection { background: var(--primary); color: #fff; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: .7rem 1.5rem; transition: all .3s var(--ease); letter-spacing: .2px; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem .95rem; font-size: .82rem; }
.btn-sm-pad { padding: .6rem 1.25rem; font-size: .9rem; }

.btn-brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; border: 0;
  box-shadow: 0 8px 22px rgba(168, 18, 94, .35);
}
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(168, 18, 94, .45); background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 130%); }

.btn-plum { background: var(--dark); color: #fff; border: 0; }
.btn-plum:hover, .btn-plum:focus-visible { background: var(--dark-2); color: #fff; transform: translateY(-2px); }

.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--dark); border-color: #fff; transform: translateY(-2px); }

.btn-light-brand { background: #fff; color: var(--primary-dark); border: 0; }
.btn-light-brand:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

.btn-whatsapp { background: #25D366; color: #fff; border: 0; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1EBE5B; color: #fff; transform: translateY(-2px); }

.btn-link-more { color: var(--dark); background: transparent; border: 1.5px solid var(--border); }
.btn-link-more:hover, .btn-link-more:focus-visible { color: var(--primary-dark); border-color: var(--primary); background: var(--primary-soft); }
.btn-link-more i { transition: transform .25s var(--ease); }
.btn-link-more:hover i { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.site-nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.site-nav.scrolled { --nav-h: 70px; height: 70px; box-shadow: 0 8px 30px rgba(42, 15, 34, .08); border-color: var(--border); }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 50px; height: 50px; overflow: hidden; border-radius: 12px; background: #fff; flex-shrink: 0; position: relative; }
.brand-mark img { position: absolute; width: 86px; height: 86px; max-width: none; left: -18px; top: -8px; }
.brand-name { font-family: var(--font-body); font-weight: 700; font-size: 1.45rem; color: var(--magenta); letter-spacing: -.3px; line-height: 1; }
.brand-name span { color: var(--pink); }

.site-nav .nav-link { color: var(--dark); font-weight: 500; font-size: .95rem; padding: .5rem .9rem !important; position: relative; }
.site-nav .nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--primary-dark); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }

/* Burger */
.nav-burger { border: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-burger:focus { box-shadow: 0 0 0 3px rgba(168, 18, 94,.3); }
.nav-burger span { display: block; width: 22px; height: 2.5px; background: var(--primary-dark); border-radius: 2px; transition: .3s; }
.nav-burger span:nth-child(2) { width: 15px; margin-left: 7px; }

/* Mobile offcanvas */
.mobile-menu { width: min(340px, 86vw) !important; background: var(--cream); border-left: 0 !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; }
.mobile-links li a {
  display: flex; align-items: center; gap: .9rem; padding: .95rem .5rem; color: var(--dark);
  font-weight: 500; font-size: 1.05rem; border-bottom: 1px dashed var(--border);
}
.mobile-links li a i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.mobile-links li a:hover, .mobile-links li a.active { color: var(--primary-dark); padding-left: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: var(--nav-h); }
.hero .carousel-item { height: calc(100vh - 82px); min-height: 560px; max-height: 860px; position: relative; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.carousel-item.active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 8, 22, .92) 0%, rgba(42, 15, 34, .78) 42%, rgba(42, 15, 34, .25) 75%, rgba(42, 15, 34,.1) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.hero-content > * { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-self: flex-start; align-items: center; padding: .45rem 1rem; border-radius: 50px;
  background: rgba(224, 100, 164, .2); color: #FFD0E7; border: 1px solid rgba(224, 100, 164, .55);
  font-size: .85rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-title { font-family: var(--font-head); color: #fff; font-weight: 700; font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-title em { font-style: italic; font-weight: 600; color: var(--pink-light); }
.hero-text { color: rgba(255, 255, 255, .85); font-size: clamp(1rem, 1.6vw, 1.18rem); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Animated text on active slide */
.hero .anim { opacity: 0; transform: translateY(30px); }
.hero .carousel-item.active .anim { animation: heroUp .9s var(--ease) forwards; }
.hero .carousel-item.active .anim:nth-child(1) { animation-delay: .15s; }
.hero .carousel-item.active .anim:nth-child(2) { animation-delay: .35s; }
.hero .carousel-item.active .anim:nth-child(3) { animation-delay: .55s; }
.hero .carousel-item.active .anim:nth-child(4) { animation-delay: .75s; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero .carousel-indicators { margin-bottom: 5.5rem; }
.hero .carousel-indicators [data-bs-target] { width: 30px; height: 5px; border-radius: 5px; border: 0; background: rgba(255,255,255,.5); opacity: 1; transition: .3s; }
.hero .carousel-indicators .active { width: 54px; background: var(--primary); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 70px; opacity: 1; }
.hero-arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); transition: .3s; }
.hero .carousel-control-prev:hover .hero-arrow, .hero .carousel-control-next:hover .hero-arrow { background: var(--primary); border-color: var(--primary); }

/* ---------- Trust bar ---------- */
.trust-wrap { position: relative; z-index: 5; margin-top: -58px; }
.trust-bar {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.4rem 1rem;
}
.trust-item { display: flex; align-items: center; gap: .9rem; padding: .4rem 1.1rem; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: 0; }
.trust-item i { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: var(--primary-dark); background: var(--primary-soft); }
.trust-item strong { display: block; color: var(--dark); font-size: .98rem; line-height: 1.3; }
.trust-item span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-beige { background: var(--beige); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--primary-dark); background: var(--primary-soft); padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-tag.tag-light { background: rgba(224, 100, 164, .2); color: #FFD0E7; }
.section-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.2; margin-bottom: .75rem; }
.section-sub { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin: 0 auto; }
.text-white-75 { color: rgba(255,255,255,.75) !important; }
.text-muted-2 { color: var(--muted); }

/* ---------- About ---------- */
#about { padding-top: 120px; }
.about-media { position: relative; padding: 0 30px 30px 0; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 2; aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.about-media::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 75%; height: 75%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--primary) 100%); border-radius: var(--radius-lg); z-index: 1; opacity: .9;
}
.about-dots {
  position: absolute; top: -24px; left: -24px; width: 120px; height: 120px; z-index: 0;
  background-image: radial-gradient(var(--pink) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .45;
}
.about-badge {
  position: absolute; z-index: 3; left: -10px; bottom: 60px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem;
  animation: floaty 5s ease-in-out infinite;
}
.about-badge i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--magenta); color: #fff; }
.about-badge strong { display: block; color: var(--dark); line-height: 1.2; }
.about-badge span { font-size: .8rem; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.mini-feature { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1rem; text-align: center; height: 100%; transition: .35s var(--ease); }
.mini-feature i { font-size: 1.4rem; color: var(--primary); margin-bottom: .5rem; display: inline-block; transition: transform .35s var(--ease); }
.mini-feature h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .2rem; font-family: var(--font-body); }
.mini-feature p { font-size: .82rem; margin: 0; color: var(--muted); line-height: 1.5; }
.mini-feature:hover { background: #fff; border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.mini-feature:hover i { transform: scale(1.15) rotate(-6deg); }
#aboutToggle i { transition: transform .3s var(--ease); }
#aboutToggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid rgba(241, 220, 231, .7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(42, 15, 34,.35)); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-icon {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1rem; width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 10px 22px rgba(168, 18, 94,.4); border: 3px solid #fff;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-body { padding: 1.5rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--font-body); margin-bottom: .6rem; }
.service-body p { font-size: .93rem; line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-actions .btn { flex: 1 1 auto; white-space: nowrap; }

.service-cta {
  height: 100%; min-height: 360px; border-radius: var(--radius); padding: 2.5rem 2rem; color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.18) 0 80px, transparent 81px),
    radial-gradient(circle at 10% 100%, rgba(255,255,255,.12) 0 120px, transparent 121px),
    linear-gradient(140deg, var(--pink) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  box-shadow: var(--shadow);
}
.service-cta > i { font-size: 2.2rem; margin-bottom: 1rem; }
.service-cta h3 { color: #fff; font-family: var(--font-head); font-size: 1.8rem; margin-bottom: .75rem; }
.service-cta p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }

/* ---------- Why choose us ---------- */
.why-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(224, 100, 164, .18), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(168,18,94,.22), transparent 45%),
    var(--dark);
  overflow: hidden;
}
.why-card {
  position: relative; height: 100%; padding: 2.2rem 1.8rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.why-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.why-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.3rem;
  color: #fff; background: var(--accent); box-shadow: 0 12px 24px -8px var(--accent); transition: transform .4s var(--ease);
}
.why-card:hover .why-icon { transform: translateY(-4px) rotate(-8deg); }
.why-card h3 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; margin-bottom: .6rem; }
.why-card p { color: rgba(255,255,255,.7); margin: 0; font-size: .95rem; }
.why-card.c1 { --accent: #E064A4; }
.why-card.c2 { --accent: #D9A441; }
.why-card.c3 { --accent: #C2187A; }
.why-card.c4 { --accent: #8E5BD8; }
.why-card.c5 { --accent: #2EB88A; }
.why-card.c6 { --accent: #F06C9B; }

/* ---------- Contact ---------- */
.contact-card { background: var(--dark); color: rgba(255,255,255,.78); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.contact-brand { color: #fff; font-family: var(--font-head); font-size: 1.9rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
a.contact-line:hover { color: var(--pink-light); }
.contact-line small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.55); }
.contact-line .ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 100, 164, .16); color: var(--pink); transition: .3s; }
a.contact-line:hover .ci { background: var(--primary); color: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--dark-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-large { aspect-ratio: auto; min-height: 460px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 6px solid #fff; }

/* Call / WhatsApp action tiles */
.contact-actions { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.action-tile {
  display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: 16px; color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.action-tile:hover { color: #fff; transform: translateY(-3px); }
.action-tile strong { display: block; font-size: 1rem; line-height: 1.25; }
.action-tile small { display: block; font-size: .78rem; opacity: .85; line-height: 1.3; }
.tile-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: rgba(255,255,255,.2); }
.tile-call { background: linear-gradient(135deg, var(--pink), var(--primary)); box-shadow: 0 10px 24px rgba(224, 100, 164, .3); }
.tile-call:hover { box-shadow: 0 14px 30px rgba(224, 100, 164, .45); }
.tile-wa { background: #25D366; box-shadow: 0 10px 24px rgba(37, 211, 102, .25); }
.tile-wa:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, .4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-deep); color: rgba(255,255,255,.65); padding: 80px 0 0; font-size: .93rem; }
.footer-logo img { width: 110px; height: 110px; border-radius: 20px; background: #fff; padding: 6px; object-fit: contain; }
.site-footer h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 1.25rem; position: relative; padding-bottom: .7rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--pink); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: rgba(255,255,255,.65); transition: .25s; display: inline-block; }
.footer-links a:hover { color: var(--pink); transform: translateX(4px); }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact i { color: var(--pink); margin-top: .35rem; width: 16px; }
.footer-contact a { color: rgba(255,255,255,.8); word-break: break-word; }
.footer-contact a:hover { color: var(--pink); }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); transition: .3s var(--ease); }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-bottom { margin-top: 3.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom p { margin: 0; }
.to-top { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; }
.to-top:hover { background: #fff; color: var(--primary-dark); }

/* ---------- Service modal ---------- */
.service-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal-hero { position: relative; height: 240px; flex-shrink: 0; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 8, 22,.15) 0%, rgba(28, 8, 22,.88) 100%); }
.modal-hero .btn-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; background-color: rgba(0,0,0,.35); border-radius: 50%; padding: .7rem; opacity: 1; }
.modal-hero-text { position: absolute; left: 2rem; right: 2rem; bottom: 1.5rem; z-index: 2; }
.modal-hero-text .section-tag { margin-bottom: .5rem; }
.modal-hero .modal-title { color: #fff; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.service-modal .modal-body { padding: 2rem; }
.lead-sm { font-size: 1.05rem; color: var(--dark); }
.sm-h { font-size: 1rem; font-weight: 600; font-family: var(--font-body); color: var(--dark); margin-bottom: .8rem; }
.sm-h i { color: var(--primary); }
.sm-list { list-style: none; padding: 0; margin: 0; }
.sm-list li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; font-size: .93rem; }
.sm-list li::before { content: ""; position: absolute; left: 0; top: .65rem; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.service-modal .modal-footer { border-top: 1px solid var(--border); padding: 1rem 2rem 1.5rem; gap: .5rem; }

/* ---------- Floating buttons ---------- */
.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: #25D366;
  box-shadow: 0 10px 25px rgba(37,211,102,.45);
}
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.2s infinite; }
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

.float-call {
  position: fixed; right: 22px; bottom: 96px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.45rem; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--primary)); box-shadow: 0 10px 25px rgba(168, 18, 94, .4);
  transition: transform .3s var(--ease);
}
.float-call i { animation: ring 2.4s ease-in-out infinite; }
.float-call:hover { color: #fff; transform: scale(1.08); }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(-18deg); } 75% { transform: rotate(16deg); } 85% { transform: rotate(-10deg); } 95% { transform: rotate(6deg); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.reveal-left { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .service-actions .btn { font-size: .78rem; padding: .5rem .75rem; }
}
@media (max-width: 991.98px) {
  :root { --nav-h: 72px; }
  .site-nav, .site-nav.scrolled { height: 72px; }
  .section { padding: 85px 0; }
  .hero .carousel-item { height: 78vh; min-height: 520px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(28, 8, 22,.6) 0%, rgba(28, 8, 22,.88) 100%); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .trust-item:nth-child(2) { border-right: 0; }
  .about-media { max-width: 560px; margin: 0 auto; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}
@media (max-width: 767.98px) {
  .brand-name { font-size: 1.25rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { width: 76px; height: 76px; left: -16px; top: -7px; }
  .hero .carousel-item { height: auto; min-height: 600px; max-height: none; }
  .hero-content { padding-top: 70px; padding-bottom: 130px; min-height: 600px; }
  .hero .btn-lg { padding: .8rem 1.4rem; font-size: .95rem; }
  .hero .carousel-indicators { margin-bottom: 5rem; }
  .trust-wrap { margin-top: -50px; }
  .trust-bar { grid-template-columns: 1fr 1fr; padding: 1rem .5rem; }
  .trust-item { flex-direction: column; text-align: center; border-right: 0; padding: .5rem; gap: .5rem; }
  .trust-item i { width: 44px; height: 44px; font-size: 1.05rem; }
  .section { padding: 70px 0; }
  #about { padding-top: 80px; }
  .section-head { margin-bottom: 2.5rem; }
  .about-media { padding: 0 18px 18px 0; }
  .about-badge { left: 8px; bottom: 30px; padding: .75rem 1rem; }
  .about-dots { display: none; }
  .contact-card { padding: 1.6rem 1.25rem; }
  .map-large { min-height: 320px; }
  .float-call { width: 54px; height: 54px; font-size: 1.3rem; right: 16px; bottom: 82px; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; }
  .float-whatsapp { width: 54px; height: 54px; font-size: 1.7rem; right: 16px; bottom: 16px; }
  .service-modal .modal-body { padding: 1.5rem; }
  .modal-hero { height: 190px; }
  .modal-hero-text { left: 1.25rem; right: 1.25rem; }
  .service-modal .modal-footer { padding: 1rem 1.25rem 1.25rem; }
  .service-modal .modal-footer .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero .anim { opacity: 1; transform: none; }
}
