/* WaterNMelon — site styles. No framework; one file. */

:root {
  --pink: #ed2190;
  --pink-dark: #c8187a;
  --pink-soft: #fde7f3;
  --ink: #1f2933;
  --slate: #556270;
  --muted: #6b7b8d;
  --line: #e4e8ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(31, 41, 51, 0.08);
  --header-h: 72px;
  --max: 1140px;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-dark); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 34px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink);
  border-radius: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 8px;
}
.site-nav a:hover { color: var(--pink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--pink); }
.site-nav .nav-cta {
  background: var(--pink); color: #fff; margin-left: 8px;
}
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--pink-dark); color: #fff; }

@media (max-width: 899px) {
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none; padding: 8px 16px 16px;
  }
  .site-nav.is-open { display: block; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 12px 28px; border-radius: 999px; border: 2px solid var(--pink);
  background: var(--pink); color: #fff; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--pink); }
.btn-outline:hover { background: var(--pink); color: #fff; }
.btn-light { background: transparent; border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--pink); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 64px; overflow: hidden;
  background: linear-gradient(160deg, var(--pink-soft) 0%, #fff 55%);
}
.hero-inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 80px 0 88px; } }
.hero-content h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.hero-content .lead { margin-bottom: 1.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-visual { position: relative; aspect-ratio: 5 / 4; }
.hero-shot {
  position: absolute; width: 78%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  box-shadow: 0 18px 48px rgba(31, 41, 51, 0.16);
}
.hero-shot--back { top: 0; right: 0; }
.hero-shot--front { bottom: 0; left: 0; }

/* ---------- Page header (inner pages) ---------- */

.page-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-header h1 { margin: 0; }
.breadcrumbs { list-style: none; margin: 0 0 6px; padding: 0; display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { color: var(--slate); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 44px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 6px;
}
.section-title h2 { margin: 0; }
.lead { font-size: 1.1rem; color: var(--slate); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split h2 { margin-bottom: 0.3em; }
.split h3 { font-weight: 500; color: var(--slate); font-size: 1.2rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ed2190' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.note { font-style: italic; color: var(--slate); }
.center { text-align: center; }

/* ---------- Logos strip ---------- */

.logos { padding: 32px 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--pink-soft); color: var(--pink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.service p { color: var(--slate); margin: 0; }

.portfolio-item { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.portfolio-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.portfolio-item figcaption { padding: 14px 18px; font-family: var(--font-head); font-weight: 600; }

/* ---------- CTA band ---------- */

.cta { background: var(--pink); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { opacity: 0.95; margin-bottom: 1.4em; }

/* ---------- Features page ---------- */

.features-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
@media (max-width: 959px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.benefit img { width: 72px; height: 72px; object-fit: contain; }
.benefit h2 { font-size: 1.2rem; margin-bottom: 0.4em; }
.benefit p { color: var(--slate); }
.benefit .check-list { margin: 0; }
.benefit .check-list li { color: var(--slate); font-size: 15px; margin-bottom: 8px; }
@media (max-width: 479px) { .benefit { grid-template-columns: 1fr; padding: 22px; } .benefit img { width: 60px; height: 60px; } }
.features-more { text-align: center; margin: 40px 0 0; color: var(--slate); }

/* ---------- Pricing ---------- */

.pricing-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px;
}
.plan--featured { border: 2px solid var(--pink); box-shadow: var(--shadow); }
.plan h2 { font-size: 1.3rem; }
.plan-price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--pink); line-height: 1.1; margin: 8px 0 24px; }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan-price--text { font-size: 1.35rem; padding: 14px 0 6px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--slate); }
.plan li:last-child { border-bottom: 0; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative;
  font-family: var(--font-head); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--pink); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 18px; color: var(--slate); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 320px 1fr; gap: 56px; } }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info .service-icon { flex: none; margin: 0; width: 44px; height: 44px; }
.contact-info .service-icon svg { width: 22px; height: 22px; }
.contact-info h2 { font-size: 1rem; margin: 0 0 2px; }
.contact-info p { margin: 0; color: var(--slate); }

.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px;
}
@media (max-width: 479px) { .contact-card { padding: 24px 20px; } }
.contact-card h2 { margin-bottom: 0.3em; }
.contact-card > p { color: var(--slate); }
.contact-email {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 1.6rem); margin-bottom: 18px; word-break: break-all;
}
.contact-card h3 { font-size: 1rem; margin: 28px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-card .check-list { margin: 0; }
.contact-card .check-list li { color: var(--slate); }

/* ---------- Legal page ---------- */

.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--slate); }
.prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 6px; }

/* ---------- Footer ---------- */

.site-footer { background: #1b2229; color: #c1c8d0; font-size: 15px; }
.site-footer a { color: #e2e6ea; }
.site-footer a:hover { color: var(--pink); }
.footer-top { padding-top: 56px; padding-bottom: 40px; display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand img { height: 40px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #2c353e; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
