/* ═══════════════════════════════════════════════
   DAISY DIGITAL AGENCY — Mobile Responsive Fixes
   Add this <style> block inside <head> of index.html,
   AFTER your existing styles.
   ═══════════════════════════════════════════════ */

/* ── Navbar ── */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 5%;
  }

  .logo-img {
    height: 44px;
    transform: scale(1.1);
    transform-origin: left center;
  }

  /* Mobile nav dropdown */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 28, 0.98);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 5%;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 45, 120, 0.08);
    color: var(--text);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--pink);
    background: rgba(255, 45, 120, 0.06);
  }

  .nav-links .nav-cta {
    margin: 0.75rem 5%;
    text-align: center;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
  }
}

/* ── Hero ── */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 5% 3rem;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-vis {
    display: none; /* hide card stack on mobile */
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-content > p {
    font-size: 0.97rem;
    line-height: 1.72;
  }

  /* Stat cards — 3 in a row on mobile */
  .stat-cards {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.65rem;
    margin-top: 1.8rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
    border-radius: 12px;
  }

  .stat-card .num {
    font-size: 1.5rem;
  }

  .stat-card .lbl {
    font-size: 0.65rem;
    line-height: 1.3;
  }

  /* CTA buttons */
  .hero-btns {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  /* accent badge */
  .accent-badge {
    font-size: 0.68rem;
  }
}

/* ── Story sections (two-column grids) ── */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  /* Story 1 — image above text */
  .section .story-grid,
  .section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* On mobile: image first, then text (Story 1) */
  .reveal-right {
    order: -1; /* moves text below image by default; override per section */
  }

  /* Story 1: keep image on top */
  .bg-vivid .reveal-left {
    order: 1;
  }
  .bg-vivid .reveal-right {
    order: 2;
  }

  /* Story 2: keep text on top */
  .bg-vivid2 .reveal-left {
    order: 1;
  }
  .bg-vivid2 .reveal-right {
    order: 2;
  }

  /* Story number */
  .story-num {
    font-size: 3.5rem;
    margin-bottom: -0.3rem;
  }

  /* Section heading */
  .sec-head h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  /* img-card stacked */
  .img-card img {
    max-height: 240px;
    object-fit: cover;
  }

  /* Second nested img-card in Story 2 */
  .bg-vivid2 .reveal-right > div:last-child {
    margin-top: 1rem;
  }

  /* feat-list */
  .feat-list {
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .feat-item p {
    font-size: 0.88rem;
  }

  /* quote block */
  .quote-block p {
    font-size: 1rem;
  }

  /* Section headings */
  h2 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }
}

/* ── Process steps ── */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .steps::before {
    display: none;
  }

  .step-num {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }

  .step h4 {
    font-size: 0.88rem;
  }

  .step p {
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ── CTA Banner ── */
@media (max-width: 768px) {
  .cta-banner {
    padding: 3rem 5%;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 7vw, 2rem) !important;
  }

  .cta-banner p {
    font-size: 0.92rem;
  }

  .cta-banner .btn {
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    width: 100%;
    max-width: 320px;
  }
}

/* ── Ticker ── */
@media (max-width: 768px) {
  .ticker-label {
    font-size: 0.65rem;
    padding: 0 5%;
  }

  .tick-item {
    font-size: 0.82rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ── Services grid ── */
@media (max-width: 768px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About ── */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-img-box {
    min-height: 280px;
  }
}

/* ── Clients ── */
@media (max-width: 768px) {
  .clients-g {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Contact ── */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .c-form {
    padding: 1.5rem;
  }

  .frow {
    grid-template-columns: 1fr !important;
  }
}

/* ── Offer grid ── */
@media (max-width: 768px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
@media (max-width: 768px) {
  footer {
    padding: 3rem 5% 1.5rem;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .foot-brand p {
    max-width: 100%;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ── Small phone tweaks (< 390px) ── */
@media (max-width: 390px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .stat-cards {
    gap: 0.5rem;
  }

  .stat-card .num {
    font-size: 1.3rem;
  }

  .stat-card .lbl {
    font-size: 0.6rem;
  }
}


/* ── MOBILE FOOTER ACCORDION ── */
@media (max-width:768px){

  .foot-grid{
    gap:1rem !important;
  }

  .foot-col{
    border-bottom:1px solid rgba(255,255,255,.08);
    padding-bottom:.2rem;
  }

  .foot-col h4{
    margin:0;
    padding:1rem 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    font-size:.95rem;
    user-select:none;
  }

  .foot-col h4::after{
    content:'+';
    color:var(--pink);
    font-size:1.2rem;
    transition:.25s ease;
  }

  .foot-col.active h4::after{
    content:'−';
  }

  .foot-col ul{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
    display:flex;
    flex-direction:column;
    gap:.7rem;

    padding:0;
    margin:0;
  }

  .foot-col.active ul{
    max-height:260px;
    padding-bottom:1rem;
  }

  .foot-col ul li a{
    font-size:.88rem;
  }

  /* brand section stays normal */
  .foot-brand{
    border:none;
    padding-bottom:1rem;
  }
}

/* Fix mobile Get Quote button */
.nav-links .nav-cta{
  width: calc(100% - 40px);
  margin: 1rem 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0.9rem 1rem;
  border-radius: 14px;

  font-size: 1rem;
  text-align: center;

  white-space: nowrap;
}