/*
Theme Name: Mobile IV Drips
Theme URI: https://mobileivdripssyossetny.site/
Author: Mobile IV Drips
Description: One-page theme for Mobile IV Drips - mobile IV therapy in Syosset, NY and across Long Island. Clinical-calm design: deep teal, aqua and a warm coral accent, soft rounded shapes, serif display type.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mobile-iv-drips
*/

/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
  --ink: #0b2f33;
  --ink-2: #134a4f;
  --teal: #0f7c7a;
  --aqua: #19b3ad;
  --aqua-soft: #d8f1ee;
  --mist: #f2f8f6;
  --paper: #ffffff;
  --coral: #f2785c;
  --coral-dk: #d95f43;
  --sand: #fbf3ec;
  --text: #2a4246;
  --muted: #5d7478;
  --line: #d6e6e3;
  --r-lg: 28px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(11, 47, 51, .35);
  --shadow-sm: 0 8px 22px -14px rgba(11, 47, 51, .35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg[aria-hidden] { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 104px 0; }
.sec--mist { background: var(--mist); }
.sec--sand { background: var(--sand); }
[id] { scroll-margin-top: 90px; }
.center { text-align: center; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.head { margin-bottom: 56px; }
.note { font-size: .88rem; color: var(--muted); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.tag::before { content: ""; width: 8px; height: 11px; background: var(--aqua); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 12px 24px -12px rgba(242, 120, 92, .9); }
.btn--coral:hover { background: var(--coral-dk); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { color: var(--ink); background: var(--aqua-soft); }
.btn--sm { padding: 11px 20px; font-size: .92rem; }

/* ------------------------------------------------------------------
   Top bar + nav
------------------------------------------------------------------ */
.topbar { background: var(--ink); color: #cfe6e3; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 42px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--aqua); }
.topbar svg { color: var(--aqua); }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 80px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; }
.brand span span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.menu { display: flex; gap: 28px; }
.menu a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.menu a:hover { color: var(--teal); }

.navside { display: flex; align-items: center; gap: 18px; }
.navtel { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.navtel small { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.navtel a { font-weight: 800; color: var(--ink); font-size: 1.05rem; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger i { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero { position: relative; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); padding: 80px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 179, 173, .16), rgba(25, 179, 173, 0) 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lead { font-size: 1.2rem; margin-bottom: 30px; }
.hero__acts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 520px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.hero__checks svg { color: #fff; background: var(--aqua); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.hero__art { position: relative; }
.hero__art img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -26px; bottom: 34px; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero__badge span { width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; flex: none; }
.hero__badge span svg { width: 22px; height: 22px; }
.hero__badge b { display: block; color: var(--ink); line-height: 1.2; }
.hero__badge small { color: var(--muted); font-size: .84rem; }

/* Facts strip */
.facts { background: var(--ink); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 30px 22px; border-left: 1px solid rgba(255, 255, 255, .12); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--aqua); line-height: 1.1; margin-bottom: 4px; }
.facts span { font-size: .92rem; color: #cfe6e3; }

/* ------------------------------------------------------------------
   Drips (services)
------------------------------------------------------------------ */
.drips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.drip {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.drip:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.drip__ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; background: var(--aqua-soft); color: var(--teal); }
.drip__ico svg { width: 28px; height: 28px; }
.drip:nth-child(4n+2) .drip__ico { background: #fde4dc; color: var(--coral-dk); }
.drip:nth-child(4n+3) .drip__ico { background: #e4ecfb; color: #3a5fb0; }
.drip:nth-child(4n+4) .drip__ico { background: #f6eedb; color: #9a7020; }
.drip h3 { margin-bottom: 8px; }
.drip p { font-size: .95rem; color: var(--muted); margin-bottom: 16px; }
.drip ul { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 14px; }
.drip li { font-size: .84rem; color: var(--ink); font-weight: 600; padding: 2px 0; display: flex; gap: 8px; align-items: center; }
.drip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); flex: none; }

.addons { margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 34px 38px; display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center; }
.addons h3 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 6px; }
.addons p { color: #cfe6e3; margin: 0; font-size: .95rem; }
.addons ul { display: flex; flex-wrap: wrap; gap: 10px; }
.addons li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; }

/* ------------------------------------------------------------------
   Where we come (settings)
------------------------------------------------------------------ */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.place { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.place div { padding: 24px 26px 28px; }
.place p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ------------------------------------------------------------------
   Why us
------------------------------------------------------------------ */
.why { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.why__art img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 34px; }
.why__list li { display: flex; gap: 14px; }
.why__list span { width: 44px; height: 44px; border-radius: 14px; background: var(--aqua-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.why__list span svg { width: 22px; height: 22px; }
.why__list b { display: block; color: var(--ink); margin-bottom: 2px; }
.why__list p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ------------------------------------------------------------------
   How it works
------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px 26px 28px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--aqua); line-height: 1; margin-bottom: 16px;
}
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------
   Areas
------------------------------------------------------------------ */
.areas { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .93rem; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.towns li svg { color: var(--coral); width: 16px; height: 16px; }
.towns li.home { background: var(--ink); color: #fff; border-color: var(--ink); }
.towns li.home svg { color: var(--aqua); }

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--aqua); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; color: var(--ink); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-soft); color: var(--teal);
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--teal); color: #fff; }
.faq details > div { padding: 0 26px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ------------------------------------------------------------------
   Contact
------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.form h3 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.fgrid .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 4px rgba(25, 179, 173, .15); }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 20px; }
.form .note { margin: 14px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: var(--r-sm); padding: 14px 18px; font-weight: 600; margin-top: 16px; }
.alert--ok { background: var(--aqua-soft); color: var(--ink); }
.alert--err { background: #fde4dc; color: #8a2d16; }

.info { display: grid; gap: 16px; }
.card { background: #fff; border-radius: var(--r-lg); padding: 26px 28px; border: 1px solid var(--line); }
.card h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card h4 svg { color: var(--teal); }
.card p { margin: 0; }
.card .big { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--ink); }
.card--ink { background: var(--ink); color: #cfe6e3; border-color: var(--ink); }
.card--ink h4 { color: #fff; }
.card--ink h4 svg { color: var(--aqua); }
.card--ink .big { color: #fff; }

.map { margin-top: 56px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; background: #fff; }
.map__bar b { color: var(--ink); }

/* ------------------------------------------------------------------
   CTA + footer
------------------------------------------------------------------ */
.cta { background: linear-gradient(120deg, var(--teal), var(--aqua)); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #e6fbf9; font-size: 1.1rem; }
.cta__acts { display: flex; gap: 14px; flex-wrap: wrap; }

.foot { background: var(--ink); color: #a9c6c3; font-size: .94rem; padding-top: 76px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .brand, .foot .brand b { color: #fff; }
.foot .brand span span { color: #a9c6c3; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.foot li { margin-bottom: 10px; }
.foot a { color: #d8ecea; }
.foot a:hover { color: var(--aqua); }
.foot__legal { margin-top: 54px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #86a5a2; line-height: 1.6; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

.dock { display: none; }

/* WordPress content */
.entry img { border-radius: var(--r); }
.entry h2, .entry h3 { margin-top: 1.4em; }
.entry ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .drips { grid-template-columns: repeat(2, 1fr); }
  .menu { gap: 20px; }
  .navtel { display: none; }
}

@media (max-width: 960px) {
  .sec { padding: 80px 0; }
  .hero { padding: 54px 0 72px; }
  .hero .wrap, .why, .areas, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { max-width: 560px; }
  .hero__badge { left: 16px; bottom: 16px; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .places { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .addons { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }

  .burger { display: flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu a { padding: 16px 24px; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .head { margin-bottom: 38px; }
  .topbar .wrap { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .topbar ul { gap: 6px 16px; justify-content: center; }
  .topbar .topbar__addr { display: none; }
  .nav .wrap { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand b { font-size: 1.12rem; }
  .navside .btn { display: none; }
  .hero__acts .btn { flex: 1 1 100%; }
  .hero__checks { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 16px; max-width: none; }
  .facts div { padding: 22px 14px; }
  .facts b { font-size: 1.3rem; }
  .drips, .places, .steps, .why__list, .fgrid { grid-template-columns: 1fr; }
  .addons { padding: 28px 22px; }
  .form { padding: 28px 20px; }
  .map iframe { height: 320px; }
  .cta .wrap { padding-top: 50px; padding-bottom: 50px; }
  .cta__acts, .cta__acts .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }

  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(11, 47, 51, .5);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--coral); color: #fff; font-weight: 800; border-radius: 999px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .drip { transition: none; }
}
