/*
Theme Name: Memories in Bloom by MV
Theme URI: https://mibbymv.com
Author: Memories in Bloom by MV
Description: Custom one-page theme for Memories in Bloom by MV, a balloon decor and event styling business. Converted directly from the original static design — same CSS, same animations, no page builder.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: memories-in-bloom
*/

  :root {
    --blush: #F2D0D9;
    --rose: #E8A0B4;
    --deep-rose: #C46B8A;
    --gold: #D4A853;
    --gold-light: #F0DCA8;
    --cream: #FFF9F2;
    --charcoal: #2A2A2A;
    --soft-white: #FFFCFA;
    --lavender: #D8C8E8;
    --sage: #B8CEB8;
    --peach: #F5C9A8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--soft-white);
    color: var(--charcoal);
    overflow-x: hidden;
  }

  /* Defense-in-depth: prevent grid/flex children and long headings from
     ever forcing horizontal overflow, even if a future edit slips past
     a breakpoint. */
  .hero-content, .about-grid, .services-grid, .process-steps,
  .testimonials-grid, .hero-text, .about-text, .about-visual {
    min-width: 0;
  }
  h1, h2, h3, h4 { overflow-wrap: break-word; word-break: break-word; }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 4rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 252, 250, 0.85);
    border-bottom: 1px solid rgba(196, 107, 138, 0.1);
    transition: all 0.4s ease;
  }
  nav.scrolled {
    padding: 0.8rem 4rem;
    box-shadow: 0 4px 30px rgba(196, 107, 138, 0.08);
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--deep-rose);
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    text-decoration: none; color: var(--charcoal);
    font-size: 0.9rem; font-weight: 400; letter-spacing: 0.04em;
    text-transform: uppercase; position: relative;
    transition: color 0.3s;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--deep-rose);
    transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--deep-rose); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: var(--deep-rose); color: white !important;
    padding: 0.6rem 1.6rem; border-radius: 50px;
    font-weight: 500; text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    transition: all 0.3s !important;
    white-space: nowrap;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover {
    background: var(--gold) !important; color: white !important;
    transform: translateY(-1px);
  }

  .mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative;
  }
  .mobile-toggle span {
    display: block; width: 100%; height: 2px; background: var(--charcoal);
    position: absolute; left: 0; transition: all 0.3s;
  }
  .mobile-toggle span:nth-child(1) { top: 0; }
  .mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .mobile-toggle span:nth-child(3) { bottom: 0; }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 40%, var(--lavender) 100%);
  }
  .hero-bg-shapes {
    position: absolute; inset: 0; pointer-events: none;
  }
  .blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
    animation: float 8s ease-in-out infinite;
  }
  .blob-1 { width: 500px; height: 500px; background: var(--rose); top: -10%; right: -5%; animation-delay: 0s; }
  .blob-2 { width: 400px; height: 400px; background: var(--lavender); bottom: -10%; left: -5%; animation-delay: -3s; }
  .blob-3 { width: 300px; height: 300px; background: var(--peach); top: 40%; right: 30%; animation-delay: -5s; }
  .blob-4 { width: 250px; height: 250px; background: var(--gold-light); top: 20%; left: 20%; animation-delay: -2s; }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
  }

  /* Balloon decorations */
  .balloon-deco {
    position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.15;
  }
  .balloon-deco::after {
    content: ''; position: absolute; bottom: -30px; left: 50%;
    width: 1px; height: 30px; background: currentColor; opacity: 0.5;
  }
  .bd-1 { width: 60px; height: 72px; background: var(--deep-rose); top: 15%; left: 8%; animation: riseBalloon 12s ease-in-out infinite; }
  .bd-2 { width: 45px; height: 54px; background: var(--gold); top: 25%; right: 12%; animation: riseBalloon 10s ease-in-out infinite; animation-delay: -2s; }
  .bd-3 { width: 50px; height: 60px; background: var(--lavender); bottom: 25%; left: 15%; animation: riseBalloon 14s ease-in-out infinite; animation-delay: -4s; }
  .bd-4 { width: 40px; height: 48px; background: var(--sage); top: 60%; right: 8%; animation: riseBalloon 11s ease-in-out infinite; animation-delay: -6s; }
  .bd-5 { width: 55px; height: 66px; background: var(--peach); top: 10%; right: 35%; animation: riseBalloon 13s ease-in-out infinite; animation-delay: -1s; }

  @keyframes riseBalloon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
  }

  .hero-content {
    position: relative; z-index: 2; max-width: 1200px;
    margin: 0 auto; padding: 8rem 4rem 4rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center;
  }
  .hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem; line-height: 1.08; font-weight: 700;
    color: var(--charcoal); margin-bottom: 0.5rem;
  }
  .hero-text h1 em {
    font-style: italic; color: var(--deep-rose);
    display: inline-block; position: relative;
  }
  .hero-text h1 em::after {
    content: ''; position: absolute; bottom: 4px; left: 0;
    width: 100%; height: 8px; background: var(--gold-light); opacity: 0.5;
    z-index: -1; border-radius: 4px;
  }
  .hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem; color: #666; line-height: 1.7;
    margin: 1.5rem 0 2.5rem; max-width: 480px; font-weight: 300;
  }
  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--deep-rose); color: white;
    padding: 1rem 2.4rem; border-radius: 50px; border: none;
    font-family: 'Outfit', sans-serif; font-size: 0.95rem;
    font-weight: 500; cursor: pointer; text-decoration: none;
    letter-spacing: 0.04em; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,107,138,0.25); }
  .btn-secondary {
    background: transparent; color: var(--charcoal);
    padding: 1rem 2.4rem; border-radius: 50px;
    border: 2px solid var(--charcoal);
    font-family: 'Outfit', sans-serif; font-size: 0.95rem;
    font-weight: 500; cursor: pointer; text-decoration: none;
    letter-spacing: 0.04em; transition: all 0.3s;
  }
  .btn-secondary:hover { background: var(--charcoal); color: white; transform: translateY(-2px); }

  /* Hero visual — balloon cluster illustration */
  .hero-visual {
    display: flex; justify-content: center; align-items: center;
    position: relative; height: 500px;
  }
  .balloon-cluster {
    position: relative; width: 380px; height: 450px;
  }
  .balloon {
    position: absolute; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: inset -15px -10px 30px rgba(0,0,0,0.08), inset 10px 10px 20px rgba(255,255,255,0.4);
  }
  .balloon::before {
    content: ''; position: absolute; top: 18%; left: 28%;
    width: 20%; height: 25%; background: rgba(255,255,255,0.35);
    border-radius: 50%; transform: rotate(-30deg);
  }
  .balloon::after {
    content: ''; position: absolute; bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-top: 12px solid currentColor;
  }
  .balloon-string {
    position: absolute; left: 50%; width: 1px;
    background: rgba(0,0,0,0.15);
  }

  .b1 { width: 120px; height: 144px; background: var(--rose); color: var(--rose); top: 20px; left: 40px; animation: balloonBob 4s ease-in-out infinite; }
  .b1 .balloon-string { bottom: -60px; height: 60px; }
  .b2 { width: 100px; height: 120px; background: var(--gold-light); color: var(--gold-light); top: 60px; left: 160px; animation: balloonBob 5s ease-in-out infinite; animation-delay: -1s; }
  .b2 .balloon-string { bottom: -80px; height: 80px; }
  .b3 { width: 130px; height: 156px; background: var(--lavender); color: var(--lavender); top: 10px; right: 30px; animation: balloonBob 4.5s ease-in-out infinite; animation-delay: -2s; }
  .b3 .balloon-string { bottom: -50px; height: 50px; }
  .b4 { width: 90px; height: 108px; background: var(--peach); color: var(--peach); top: 140px; left: 100px; animation: balloonBob 5.5s ease-in-out infinite; animation-delay: -3s; }
  .b4 .balloon-string { bottom: -90px; height: 90px; }
  .b5 { width: 110px; height: 132px; background: var(--sage); color: var(--sage); top: 100px; right: 70px; animation: balloonBob 4.2s ease-in-out infinite; animation-delay: -0.5s; }
  .b5 .balloon-string { bottom: -70px; height: 70px; }
  .b6 { width: 80px; height: 96px; background: var(--blush); color: var(--blush); top: 180px; left: 20px; animation: balloonBob 6s ease-in-out infinite; animation-delay: -4s; }
  .b6 .balloon-string { bottom: -100px; height: 100px; }

  @keyframes balloonBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
  }

  /* ─── SECTION STYLES ─── */
  section { padding: 7rem 4rem; }
  .section-tag {
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--deep-rose);
    font-weight: 500; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .section-tag::before {
    content: ''; width: 30px; height: 1px;
    background: var(--deep-rose);
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; line-height: 1.15;
    color: var(--charcoal); margin-bottom: 1.5rem;
  }
  .section-desc {
    font-size: 1.05rem; color: #777; line-height: 1.8;
    max-width: 550px; font-weight: 300;
  }

  /* ─── SERVICES ─── */
  .services { background: var(--soft-white); }
  .services-header { text-align: center; margin-bottom: 4rem; }
  .services-header .section-tag { justify-content: center; }
  .services-header .section-tag::before { display: none; }
  .services-header .section-desc { margin: 0 auto; }

  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; max-width: 1100px; margin: 0 auto;
  }
  .service-card {
    background: white; padding: 2.5rem 2rem;
    border-radius: 20px; position: relative; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s ease; cursor: default;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--deep-rose), var(--gold));
    transform: scaleX(0); transition: transform 0.4s ease;
    transform-origin: left;
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(196,107,138,0.12); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.5rem;
  }
  .si-1 { background: var(--blush); }
  .si-2 { background: var(--lavender); }
  .si-3 { background: var(--peach); }
  .si-4 { background: var(--sage); }
  .si-5 { background: var(--gold-light); }
  .si-6 { background: var(--blush); }

  .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--charcoal);
  }
  .service-card p {
    font-size: 0.92rem; color: #888; line-height: 1.7; font-weight: 300;
  }

  /* ─── ABOUT ─── */
  .about {
    background: linear-gradient(180deg, var(--cream) 0%, var(--soft-white) 100%);
  }
  .about-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
    align-items: center;
  }
  .about-visual {
    position: relative; height: 480px;
    border-radius: 24px; overflow: hidden;
    background: linear-gradient(135deg, var(--blush), var(--lavender));
    display: flex; align-items: center; justify-content: center;
  }
  .about-visual-inner {
    text-align: center; padding: 3rem;
  }
  .about-visual-inner .big-quote {
    font-family: 'Playfair Display', serif; font-size: 7rem;
    color: var(--deep-rose); opacity: 0.3; line-height: 1;
  }
  .about-visual-inner p {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-style: italic;
    color: var(--charcoal); line-height: 1.5;
    margin-top: -2rem;
  }
  .about-text .section-desc { margin-bottom: 2rem; }
  .about-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 2.5rem;
  }
  .stat-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; color: var(--deep-rose);
  }
  .stat-item p {
    font-size: 0.82rem; color: #999;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 0.3rem;
  }

  /* ─── GALLERY ─── */
  .gallery { background: var(--charcoal); color: white; }
  .gallery .section-tag { color: var(--gold); }
  .gallery .section-tag::before { background: var(--gold); }
  .gallery .section-title { color: white; }
  .gallery .section-desc { color: rgba(255,255,255,0.5); }
  .gallery-header { text-align: center; margin-bottom: 4rem; }
  .gallery-header .section-tag { justify-content: center; }
  .gallery-header .section-tag::before { display: none; }
  .gallery-header .section-desc { margin: 0 auto; }

  .foogallery-wrap { max-width: 1100px; margin: 0 auto; }
  .foogallery-wrap .fg-item img { border-radius: 16px; }
  .foogallery-wrap .fg-item:hover img { opacity: 0.9; }
  .foogallery-wrap .fg-item a { border-radius: 16px; overflow: hidden; display: block; }

  /* ─── PROCESS ─── */
  .process { background: var(--soft-white); }
  .process-header { text-align: center; margin-bottom: 4rem; }
  .process-header .section-tag { justify-content: center; }
  .process-header .section-tag::before { display: none; }
  .process-header .section-desc { margin: 0 auto; }

  .process-steps {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  }
  .process-step { text-align: center; position: relative; }
  .process-step::after {
    content: '→'; position: absolute; right: -1.2rem; top: 2.5rem;
    font-size: 1.5rem; color: var(--rose); opacity: 0.4;
  }
  .process-step:last-child::after { display: none; }
  .step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--deep-rose), var(--rose));
    color: white; font-family: 'Playfair Display', serif;
    font-size: 1.3rem; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1.2rem;
  }
  .process-step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--charcoal);
  }
  .process-step p {
    font-size: 0.85rem; color: #999; line-height: 1.6; font-weight: 300;
  }

  /* ─── TESTIMONIALS ─── */
  .testimonials {
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 100%);
  }
  .testimonials-header { text-align: center; margin-bottom: 4rem; }
  .testimonials-header .section-tag { justify-content: center; }
  .testimonials-header .section-tag::before { display: none; }
  .testimonials-header .section-desc { margin: 0 auto; }

  .testimonials-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  }
  .testimonial-card {
    background: white; padding: 2.5rem; border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
  }
  .testimonial-card .quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; color: var(--rose); opacity: 0.3;
    line-height: 1; margin-bottom: -1rem;
  }
  .testimonial-card p {
    font-size: 1rem; color: #666; line-height: 1.8;
    font-style: italic; font-weight: 300; margin-bottom: 1.5rem;
  }
  .testimonial-author {
    font-weight: 500; color: var(--charcoal); font-size: 0.9rem;
  }
  .testimonial-author span {
    color: #aaa; font-weight: 300; margin-left: 0.5rem;
  }
  .stars { color: var(--gold); margin-bottom: 0.8rem; letter-spacing: 3px; }

  /* ─── CTA ─── */
  .cta-section {
    background: linear-gradient(135deg, var(--deep-rose) 0%, var(--rose) 50%, var(--gold) 100%);
    text-align: center; padding: 6rem 4rem;
    position: relative; overflow: hidden;
  }
  .cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%);
  }
  .cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem; color: white; margin-bottom: 1rem;
    position: relative;
  }
  .cta-section p {
    color: rgba(255,255,255,0.85); font-size: 1.1rem;
    margin-bottom: 2.5rem; font-weight: 300; position: relative;
  }
  .btn-white {
    background: white; color: var(--deep-rose);
    padding: 1rem 2.8rem; border-radius: 50px; border: none;
    font-family: 'Outfit', sans-serif; font-size: 1rem;
    font-weight: 600; cursor: pointer; text-decoration: none;
    letter-spacing: 0.04em; transition: all 0.3s;
    display: inline-block; position: relative;
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--charcoal); color: rgba(255,255,255,0.6);
    padding: 4rem; text-align: center;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif; font-size: 1.6rem;
    color: white; margin-bottom: 1.5rem;
  }
  .footer-logo span { color: var(--gold); }
  .footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
  .footer-links a {
    color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 0.88rem; transition: color 0.3s;
    letter-spacing: 0.04em;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
  .footer-social a {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 0.85rem; transition: all 0.3s;
  }
  .footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,168,83,0.1); }
  .footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

  /* ─── ANIMATIONS ─── */
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1024px) {
    nav { padding: 1.2rem 1.75rem; }
    .nav-links { gap: 1.3rem; }
    .nav-links a { font-size: 0.8rem; }
    .nav-cta { padding: 0.55rem 1.2rem; font-size: 0.8rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 10rem; }
    .hero-subtitle { margin: 1.5rem auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-visual { height: 350px; }
    .balloon-cluster { transform: scale(0.75); }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { height: 350px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { columns: 2; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(2)::after { display: none; }
  }
  /* Switch to the mobile hamburger menu earlier than the content
     breakpoint below — at tablet widths the full nav (logo + 6 links +
     pill button) doesn't have room and wraps/clips awkwardly. */
  @media (max-width: 980px) {
    nav { padding: 1rem 1.5rem; }
    nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-logo { font-size: 1.2rem; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }

    /* Mobile dropdown menu, shown when JS toggles .show on .nav-links */
    .nav-links.show {
      display: flex; flex-direction: column;
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--soft-white);
      padding: 1rem 1.5rem 1.25rem;
      gap: 0.75rem;
      box-shadow: 0 16px 30px rgba(0,0,0,0.1);
      border-bottom: 1px solid rgba(196,107,138,0.1);
    }
    .nav-links.show a { font-size: 0.82rem; }
    .nav-links.show .nav-cta { padding: 0.5rem 1.3rem; font-size: 0.8rem; }
    .nav-links.show li { width: 100%; }
    .nav-links.show a { display: block; }
    .nav-links.show .nav-cta { display: inline-block; text-align: center; }

    /* Animate the hamburger into an X when the menu is open */
    .mobile-toggle.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
  }
  @media (max-width: 768px) {
    section { padding: 4rem 1.5rem; }
    .hero-content { padding: 7rem 1.25rem 3rem; }
    .hero-visual { height: 280px; }
    .balloon-cluster { transform: scale(0.55); }
    .hero-text h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-step::after { display: none; }
    .cta-section h2 { font-size: 2.2rem; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat-item h4 { font-size: 1.6rem; }
  }
  @media (max-width: 480px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-content { padding: 6.5rem 1rem 2.5rem; }
    .hero-visual { height: 230px; }
    .balloon-cluster { transform: scale(0.45); }
    .hero-btns { flex-direction: column; align-items: center; }
    .process-steps { grid-template-columns: 1fr; }
    .gallery-grid { columns: 1; }
  }

/* ─── CONTACT FORM ─── */
.contact-form-section {
  background: linear-gradient(180deg, var(--soft-white) 0%, var(--cream) 100%);
}
.contact-form-header { text-align: center; margin-bottom: 3.5rem; }
.contact-form-header .section-tag { justify-content: center; }
.contact-form-header .section-tag::before { display: none; }
.contact-form-header .section-desc { margin: 0 auto; }
.contact-email-link {
  color: var(--deep-rose); font-weight: 500;
  text-decoration: none; border-bottom: 1.5px solid var(--rose);
  transition: color 0.25s, border-color 0.25s;
}
.contact-email-link:hover { color: var(--gold); border-color: var(--gold); }

.contact-form-wrap {
  max-width: 820px; margin: 0 auto;
  background: white; padding: 3.5rem;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 20px 60px rgba(196,107,138,0.1);
}
.contact-form-placeholder {
  text-align: center; color: #999; font-size: 0.95rem; font-style: italic;
}

/* Contact Form 7 field styling, matched to the rest of the site.
   This lays the form out as a responsive two-column grid without
   needing any changes to the form itself in wp-admin — textareas,
   checkbox groups, and the submit button automatically span both
   columns via :has(), everything else pairs up. */
.contact-form-wrap .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.75rem;
}
.contact-form-wrap .wpcf7-form > p { margin: 0 0 1.5rem; }
.contact-form-wrap .wpcf7-form > p:has(textarea),
.contact-form-wrap .wpcf7-form > p:has(.wpcf7-checkbox),
.contact-form-wrap .wpcf7-form > p:has(input[type="submit"]),
.contact-form-wrap .wpcf7-form > p:has(.wpcf7-response-output) {
  grid-column: 1 / -1;
}

.contact-form-wrap .wpcf7-form label {
  display: block; font-size: 0.8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--charcoal); margin-bottom: 0.55rem;
}

/* Text, email, tel, date, select, textarea inputs */
.contact-form-wrap input.wpcf7-form-control,
.contact-form-wrap select.wpcf7-form-control,
.contact-form-wrap textarea.wpcf7-form-control {
  width: 100%; font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  color: var(--charcoal); padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,0.08); border-radius: 14px;
  background-color: var(--soft-white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-wrap textarea.wpcf7-form-control { min-height: 130px; resize: vertical; }
.contact-form-wrap input.wpcf7-form-control:focus,
.contact-form-wrap select.wpcf7-form-control:focus,
.contact-form-wrap textarea.wpcf7-form-control:focus {
  outline: none; border-color: var(--deep-rose);
  box-shadow: 0 0 0 3px rgba(196,107,138,0.1);
}
.contact-form-wrap input.wpcf7-form-control.wpcf7-not-valid,
.contact-form-wrap select.wpcf7-form-control.wpcf7-not-valid,
.contact-form-wrap textarea.wpcf7-form-control.wpcf7-not-valid {
  border-color: #d96666;
}
.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.8rem; color: #d96666; margin-top: 0.4rem;
}

/* Select dropdowns get a custom arrow since the browser default looks out of place */
.contact-form-wrap select.wpcf7-form-control {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C46B8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

/* Checkbox group ("Balloon Styles Interested In") as soft pill chips */
.contact-form-wrap .wpcf7-checkbox {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem;
}
.contact-form-wrap .wpcf7-list-item { margin: 0; }
.contact-form-wrap .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem; border-radius: 50px;
  border: 1.5px solid rgba(0,0,0,0.1); background: var(--soft-white);
  font-size: 0.85rem; font-weight: 400; text-transform: none; letter-spacing: 0;
  cursor: pointer; transition: all 0.25s; margin: 0;
}
.contact-form-wrap .wpcf7-list-item label:has(input:checked) {
  background: var(--blush); border-color: var(--deep-rose);
  color: var(--deep-rose); font-weight: 500;
}
.contact-form-wrap .wpcf7-list-item input[type="checkbox"] {
  accent-color: var(--deep-rose); width: 15px; height: 15px; margin: 0;
}

.contact-form-wrap input[type="submit"].wpcf7-form-control {
  width: auto; background: var(--deep-rose); color: white;
  padding: 1rem 2.6rem; border: none; border-radius: 50px;
  font-weight: 500; letter-spacing: 0.04em; cursor: pointer;
  transition: all 0.3s; margin-top: 0.5rem;
}
.contact-form-wrap input[type="submit"].wpcf7-form-control:hover {
  background: var(--gold); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,107,138,0.25);
}
.contact-form-wrap .wpcf7-spinner { margin-left: 0.8rem; }
.contact-form-wrap .wpcf7-response-output {
  margin-top: 0.5rem; padding: 1rem 1.4rem;
  border-radius: 14px; font-size: 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.08);
}
.contact-form-wrap form.sent .wpcf7-response-output {
  border-color: var(--sage); background: rgba(184,206,184,0.15); color: #4a6b4a;
}
.contact-form-wrap form.invalid .wpcf7-response-output,
.contact-form-wrap form.failed .wpcf7-response-output,
.contact-form-wrap form.aborted .wpcf7-response-output {
  border-color: #d96666; background: rgba(217,102,102,0.08); color: #a33;
}

@media (max-width: 700px) {
  .contact-form-wrap { padding: 2.2rem 1.5rem; }
  .contact-form-wrap .wpcf7-form { grid-template-columns: 1fr; }
}
