/* ============================================================
   CASAMAA brand site - stylesheet
   Palette follows the product itself: graphite body + magenta accent
   ------------------------------------------------------------
   Headings Poppins 700 / body Poppins 400 (self-hosted, works offline)
   Primary --ink #1D1620  accent --magenta #C9377C  body text --body #5D5661
   Light surface #F7F5F7  radius 10px  content width 1240px
   ============================================================ */

@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
}

:root {
  --ink: #1d1620;
  --ink-2: #2c2330;
  --body: #5d5661;
  --bg: #ffffff;
  --bg-2: #f7f5f7;
  --border: #eae5ea;
  --magenta: #c9377c;
  --magenta-deep: #a32a66;
  --magenta-soft: #fbe9f1;
  --radius: 10px;
  --container: 1240px;
  --gutter: 22px;
  --sec: 44px;
}

@media screen and (min-width: 760px) {
  :root { --gutter: 40px; --sec: 72px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 760px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 0.55em;
}
h1 { font-size: 34px; }
h2 { font-size: 27px; }
h3 { font-size: 19px; }
@media screen and (min-width: 760px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  h3 { font-size: 21px; }
}

.shell { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.shell.narrow { max-width: 880px; }
.center { text-align: center; }
.fine { font-size: 13px; color: #8b8490; line-height: 1.7; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--magenta); margin: 0 0 14px;
}

/* ---------------- Top navigation ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.head-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.logo {
  font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--ink);
}
.logo span { color: var(--magenta); }
.logo:hover { text-decoration: none; }
.site-head nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; align-items: center; }
.site-head nav a { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.site-head nav a:hover { color: var(--magenta); text-decoration: none; }
.site-head nav a.on { color: var(--magenta); }
.nav-cta a {
  background: var(--ink); color: #fff !important; padding: 10px 20px; border-radius: 999px;
  transition: background .18s;
}
.nav-cta a:hover { background: var(--magenta); }
.burger { background: none; border: 0; padding: 8px; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }
@media screen and (min-width: 980px) {
  .site-head nav ul { display: flex; }
  .burger { display: none; }
}
body.menu-open .site-head nav ul {
  display: flex; position: absolute; left: 0; right: 0; top: 66px;
  flex-direction: column; background: #fff; padding: 18px var(--gutter) 26px;
  border-bottom: 1px solid var(--border); gap: 14px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background .18s, color .18s, border-color .18s;
}
.btn:hover { text-decoration: none; }
.btn.sm { padding: 10px 20px; font-size: 14px; }
.btn.solid { background: var(--magenta); color: #fff; }
.btn.solid:hover { background: var(--magenta-deep); }
.btn.solid.inv { background: #fff; color: var(--ink); }
.btn.solid.inv:hover { background: var(--magenta); color: #fff; }
.btn.ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn.ghost.inv { border-color: rgba(255,255,255,.6); color: #fff; }
.btn.ghost.inv:hover { border-color: #fff; color: #fff; }

/* ---------------- Hero ---------------- */
.hero { background: linear-gradient(140deg, #1d1620 0%, #2a1f2e 55%, #3a2135 100%); color: #e9e2ec; overflow: hidden; }
.hero-in { display: grid; gap: 34px; padding-top: 58px; padding-bottom: 58px; align-items: center; }
@media screen and (min-width: 980px) { .hero-in { grid-template-columns: 1.05fr 1fr; padding-top: 84px; padding-bottom: 84px; } }
.hero-copy h1 { color: #fff; font-size: 42px; margin-bottom: 18px; }
.hero-copy h1 em { color: #ef9cc3; font-style: normal; }
@media screen and (min-width: 760px) { .hero-copy h1 { font-size: 62px; } }
.hero-copy .eyebrow { color: #ef9cc3; }
.hero-sub { font-size: 17px; color: #cfc4d4; max-width: 34em; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.45); background: #fff;
}
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0 0; padding: 0; font-size: 13.5px; color: #bfb3c6; }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: #ef9cc3; font-weight: 700; }

/* ---------------- Stats bar ---------------- */
.band.strip { background: var(--bg-2); border-bottom: 1px solid var(--border); }
.strip-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
@media screen and (min-width: 760px) { .strip-in { grid-template-columns: repeat(4, 1fr); text-align: left; } }
.strip-in strong { display: block; font-size: 24px; color: var(--magenta); font-weight: 700; }
@media screen and (min-width: 760px) { .strip-in strong { font-size: 30px; } }
.strip-in span { font-size: 13.5px; }

/* ---------------- Sections ---------------- */
.sec { padding: var(--sec) 0; }
.sec.alt { background: var(--bg-2); }
.sec-h { margin-bottom: 10px; }
.sec-x { max-width: 46em; margin: 0 0 34px; }

/* ---------------- Product cards ---------------- */
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media screen and (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media screen and (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.sec.alt .card { border-color: #fff; box-shadow: 0 1px 3px rgba(29,22,32,.06); }
.card:hover { box-shadow: 0 14px 34px rgba(29,22,32,.12); transform: translateY(-3px); }
.card-img { display: block; background: #fff; }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magenta); margin: 0;
}
.card-body h3 { margin: 0; font-size: 20px; }
.card-body h3 a { color: var(--ink); }
.card-meta { font-size: 13.5px; color: #8b8490; margin: 0; }
.card-rate { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); margin: 2px 0; }
.card-rate em { font-style: normal; color: #8b8490; font-size: 13px; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

.stars { letter-spacing: 2px; font-style: normal; }
.st { color: #d9d3da; font-style: normal; font-size: 15px; }
.st.f { color: var(--magenta); }
.st.h { background: linear-gradient(90deg, var(--magenta) 55%, #d9d3da 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- Technology block ---------------- */
.tech-row {
  display: grid; gap: 24px; padding: 30px 0; border-top: 1px solid var(--border);
  align-items: center;
}
@media screen and (min-width: 860px) { .tech-row { grid-template-columns: 0.9fr 1.1fr; gap: 44px; } .tech-row.flip .tech-visual { order: 2; } }
.tech-visual {
  min-height: 170px; border-radius: var(--radius); position: relative;
  background:
    radial-gradient(circle at 78% 30%, rgba(201,55,124,.5), transparent 52%),
    radial-gradient(circle at 22% 75%, rgba(201,55,124,.28), transparent 48%),
    linear-gradient(140deg, #241b28, #382635);
}
.tech-badge {
  position: absolute; left: 26px; bottom: 24px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 21px;
  padding: 12px 20px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.tech-copy h3 { font-size: 23px; }
.tech-copy p { margin: 0; }

/* ---------------- Page header (inner pages) ---------------- */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 52px 0 46px; }
@media screen and (min-width: 760px) { .page-hero { padding: 76px 0 64px; } }
.page-hero h1 { font-size: 38px; max-width: 18em; }
@media screen and (min-width: 760px) { .page-hero h1 { font-size: 50px; } }
.page-hero p { max-width: 44em; margin: 0; }
.crumb { font-size: 13px; color: #8b8490; margin-bottom: 14px; }
.crumb span { margin: 0 6px; }

/* ---------------- Collection page ---------------- */
.dryer-row {
  display: grid; gap: 26px; align-items: center; padding: 36px 0;
  border-top: 1px solid var(--border);
}
@media screen and (min-width: 900px) { .dryer-row { grid-template-columns: 1fr 1.15fr; gap: 52px; } .dryer-row.flip .dryer-img { order: 2; } }
.dryer-img img { border-radius: var(--radius); border: 1px solid var(--border); }
.dryer-copy h2 { font-size: 30px; }
.dryer-copy h2 a { color: var(--ink); }
.tick { list-style: none; margin: 16px 0 0; padding: 0; }
.tick li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.tick li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--magenta-soft);
  color: var(--magenta); font-weight: 700; font-size: 12px; line-height: 20px; text-align: center;
}
.tick.big li { margin-bottom: 14px; }

/* ---------------- Product detail page ---------------- */
.pdp-top { background: var(--bg-2); border-bottom: 1px solid var(--border); }
.pdp-in { display: grid; gap: 34px; padding-top: 42px; padding-bottom: 42px; }
@media screen and (min-width: 980px) { .pdp-in { grid-template-columns: 1.05fr 1fr; } }
.pdp-main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1; display: flex; align-items: center;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gv { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.gv img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gv.on { border-color: var(--magenta); }
.pdp-note { font-size: 12px; color: #8b8490; margin: 10px 0 0; }
.pdp-info h1 { font-size: 36px; }
@media screen and (min-width: 760px) { .pdp-info h1 { font-size: 46px; } }
.pdp-sum { font-size: 16.5px; }
.pdp-info .tick { margin-top: 10px; }

.feat { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
@media screen and (min-width: 860px) { .feat { grid-template-columns: repeat(2, 1fr); gap: 26px 40px; } }
.feat li { border-top: 1px solid var(--border); padding-top: 18px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { margin: 0; font-size: 15px; }

.split-specs { display: grid; gap: 30px; }
@media screen and (min-width: 860px) { .split-specs { grid-template-columns: 1.1fr 0.9fr; } }
.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { color: var(--ink); font-weight: 700; width: 42%; }
.spec td { color: var(--body); }

/* ---------------- FAQ ---------------- */
.faq-wrap { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 16px 0;
  font-weight: 700; color: var(--ink); font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.fq-x { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.fq-x::before, .fq-x::after {
  content: ""; position: absolute; background: var(--magenta); inset: 8px 0 auto 0; height: 2px;
}
.fq-x::after { transform: rotate(90deg); transition: transform .18s; }
.faq[open] .fq-x::after { transform: rotate(0); }
.faq p { margin: 0 0 16px; font-size: 15px; max-width: 46em; }

/* ---------------- Blog ---------------- */
.posts { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media screen and (min-width: 860px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.sec.alt .post-card { border-color: #fff; box-shadow: 0 1px 3px rgba(29,22,32,.06); }
.post-card:hover { box-shadow: 0 14px 34px rgba(29,22,32,.12); transform: translateY(-3px); text-decoration: none; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card > div { padding: 18px 20px 22px; }
.post-meta { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #8b8490; margin: 0 0 8px; }
.post-card h3 { font-size: 19px; margin-bottom: 8px; }
.post-x { font-size: 14.5px; margin: 0 0 12px; }
.readmore { color: var(--magenta); font-weight: 700; font-size: 14px; }

.post { padding: 46px 0 30px; }
.post h1 { font-size: 34px; max-width: 22em; }
@media screen and (min-width: 760px) { .post h1 { font-size: 44px; } }
.post .post-meta { margin-bottom: 22px; }
.post-hero { border-radius: var(--radius); margin: 0 0 30px; }
.post-body h2 { font-size: 24px; margin: 34px 0 10px; }
.post-body p, .post-body li { font-size: 16px; }
.post-body ul { padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-nav { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 44px 0 0; }
.post-nav a { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: inherit; font-size: 13px; }
.post-nav a:hover { text-decoration: none; border-color: var(--magenta); }
.post-nav a span { color: #8b8490; display: block; margin-bottom: 4px; }
.post-nav a strong { color: var(--ink); font-size: 14.5px; line-height: 1.4; display: block; }
.post-cta {
  margin-top: 40px; background: var(--ink); color: #d8cfd9;
  border-radius: var(--radius); padding: 30px; display: flex; flex-wrap: wrap;
  gap: 16px; align-items: center; justify-content: space-between;
}
.post-cta p { margin: 0; font-weight: 700; color: #fff; }

/* ---------------- Split columns ---------------- */
.split { display: grid; gap: 30px; align-items: center; }
@media screen and (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-copy h2 { font-size: 32px; }
.split-visual img { border-radius: var(--radius); border: 1px solid var(--border); }
.stats-li { list-style: none; padding: 0; margin: 18px 0 0; }
.stats-li li { padding: 14px 0 14px 30px; border-top: 1px solid var(--border); position: relative; }
.stats-li li::before { content: "—"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.stats-li strong { color: var(--ink); }

/* ---------------- Inner page prose ---------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 26px; margin: 34px 0 10px; }
.prose p { margin: 0 0 16px; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; gap: 22px; }
@media screen and (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 22px; }
.big-mail a { font-size: 20px; font-weight: 700; }

/* ---------------- Closing CTA ---------------- */
.cta-band { background: linear-gradient(140deg, #1d1620, #3a2135); color: #d8cfd9; }
.cta-in { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.cta-in h2 { color: #fff; font-size: 34px; }
.cta-in .hero-cta { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-foot { background: var(--ink); color: #b7acbc; padding: 54px 0 0; margin-top: 0; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media screen and (min-width: 860px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-logo { color: #fff; font-size: 24px; margin-bottom: 12px; }
.foot-logo span { color: #ef9cc3; }
.foot-tag { font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.foot-mail a { color: #ef9cc3; }
.site-foot h4 { color: #fff; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: #b7acbc; font-size: 14px; }
.site-foot a:hover { color: #fff; }
.foot-base {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 26px;
}
.foot-base p { margin: 0; font-size: 13px; }
