/* =========================================================
   seo-pages.css — Private Nail Studio Alicante
   ---------------------------------------------------------
   NEW FILE. Additive only.
   Does NOT modify or depend on the production style.css.

   Every rule is scoped under body.seo-page, and all custom
   properties are declared on .seo-page rather than :root,
   so nothing can leak into the existing homepage even if
   both stylesheets are loaded on the same document.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Jost:wght@300;400;500&display=swap');

body.seo-page {
  --cream:#fdf8f5; --beige:#f5ede6; --rose:#e8c4b8; --dusty:#c9897d;
  --mauve:#a06860; --dark:#3d2b25; --mid:#6b4c42; --muted:#9e8880;
  --border:#ecddd7; --white:#fff; --wa:#25d366; --wa-dark:#128c4e;
  /* V7.1 — shadow tokens copied verbatim from style.css :root so cards
     cast exactly the same shadow as the homepage service cards */
  --shadow:0 2px 24px rgba(61,43,37,.08);
  --shadow-lg:0 8px 48px rgba(61,43,37,.14);
  --fd:'Cormorant Garamond',Georgia,serif;
  --fb:'Jost',system-ui,-apple-system,sans-serif;

  margin:0; padding:0;
  font-family:var(--fb); font-weight:300; line-height:1.6;
  background:var(--cream); color:var(--dark);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.seo-page *,body.seo-page *::before,body.seo-page *::after{box-sizing:border-box;}
body.seo-page h1,body.seo-page h2,body.seo-page h3{font-family:var(--fd);font-weight:400;line-height:1.15;margin:0;}
body.seo-page p{margin:0 0 18px;}
body.seo-page img{max-width:100%;display:block;}
body.seo-page a{color:inherit;}
body.seo-page :focus-visible{outline:2px solid var(--dusty);outline-offset:3px;}

/* ---------- Nav ---------- */
.seo-page .snav{background:rgba(253,248,245,.97);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);position:sticky;top:0;z-index:500;padding:0 20px;}
.seo-page .snav__in{max-width:1200px;margin:0 auto;height:68px;display:flex;
  align-items:center;justify-content:space-between;gap:14px;}
.seo-page .snav__logo{font-family:var(--fd);font-size:17px;letter-spacing:2px;
  color:var(--dark);text-decoration:none;white-space:nowrap;}
.seo-page .snav__links{display:flex;gap:18px;align-items:center;}
.seo-page .snav__links a{font-size:13px;color:var(--mid);text-decoration:none;transition:color .2s;}
.seo-page .snav__links a:hover{color:var(--dusty);}
.seo-page .snav__cta{background:var(--wa);color:#fff!important;padding:8px 17px;
  border-radius:30px;font-size:13px;white-space:nowrap;}
.seo-page .snav__cta:hover{background:var(--wa-dark);}

/* ---------- Breadcrumb ---------- */
.seo-page .crumb{max-width:1100px;margin:0 auto;padding:18px 24px 0;font-size:12px;color:var(--muted);}
.seo-page .crumb a{color:var(--dusty);text-decoration:none;}
.seo-page .crumb a:hover{text-decoration:underline;}
.seo-page .crumb i{font-style:normal;margin:0 6px;opacity:.45;}

/* ---------- Hero ---------- */
.seo-page .shero{max-width:1100px;margin:0 auto;padding:24px 24px 6px;}
.seo-page .shero__eyebrow{display:inline-block;font-size:10px;letter-spacing:3px;
  text-transform:uppercase;color:var(--dusty);background:rgba(201,137,125,.1);
  border:1px solid rgba(201,137,125,.22);padding:5px 14px;border-radius:20px;margin-bottom:16px;}
.seo-page .shero h1{font-size:clamp(30px,5.2vw,50px);color:var(--dark);margin-bottom:16px;}
.seo-page .shero__lede{font-size:17.5px;line-height:1.75;color:var(--mid);
  margin-bottom:22px;max-width:760px;}
.seo-page .facts{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px;}
.seo-page .fact{display:inline-flex;align-items:center;gap:6px;font-size:13px;
  background:var(--beige);border:1px solid var(--border);padding:7px 15px;
  border-radius:30px;color:var(--mid);}
.seo-page .fact b{color:var(--dark);font-weight:500;}

/* ---------- Body ----------
   Shell widened 860px -> 1100px so it equals .container in style.css and the
   page no longer floats in empty space on desktop. Prose is then re-constrained
   to a 760px measure (~72 characters) for readability, while the gallery, CTA
   and related-service cards use the full shell width.                        */
.seo-page .sbody{max-width:1100px;margin:0 auto;padding:18px 24px 56px;}

/* readable measure for long-form direct children */
.seo-page .sbody > h2,
.seo-page .sbody > h3,
.seo-page .sbody > p,
.seo-page .sbody > .callout,
.seo-page .sbody > .faqs{max-width:760px;margin-left:auto;margin-right:auto;}
.seo-page .sbody > ul,
.seo-page .sbody > ol{max-width:738px;margin-left:auto;margin-right:auto;}
.seo-page .sbody > ul,
.seo-page .sbody > ol{padding-left:22px;}
.seo-page .sbody > .ptable{max-width:900px;margin-left:auto;margin-right:auto;}

/* elements that intentionally span the full shell */
.seo-page .sbody > .lp-fig,
.seo-page .sbody > .cta,
.seo-page .sbody > .rel{max-width:1100px;}
.seo-page .sbody h2{font-size:clamp(23px,3.3vw,33px);color:var(--dark);margin:46px 0 15px;}
.seo-page .sbody h3{font-size:clamp(18px,2.5vw,23px);color:var(--mauve);margin:30px 0 11px;}
.seo-page .sbody p{font-size:16px;line-height:1.85;color:var(--mid);}
.seo-page .sbody ul,.seo-page .sbody ol{margin:0 0 20px 22px;}
/* (direct children re-centred above; nested lists keep this indent) */
.seo-page .sbody li{font-size:15.5px;line-height:1.8;color:var(--mid);margin-bottom:9px;}
.seo-page .sbody strong{color:var(--dark);font-weight:500;}
.seo-page .sbody a{color:var(--dusty);text-decoration:underline;text-underline-offset:2px;}

/* ---------- Gallery figures ----------
   Mirrors .portfolio__grid / .portfolio__item / .portfolio__img in style.css.

   The <figure> carries inline styles from the page generator
   (display:grid; grid-template-columns:repeat(N,1fr); gap:12px; margin:30px 0)
   and the <img> carries width="800" height="1067" attributes.
   Without the rules below the attribute height wins while width shrinks to the
   column, which stretches every photo vertically and gives each a different
   height. Setting width + aspect-ratio + object-fit overrides both.          */

.seo-page .lp-fig{padding:0;}

.seo-page .lp-fig img{
  width:100%;
  height:auto;                 /* neutralises the height="1067" attribute */
  aspect-ratio:3/4;            /* identical to .portfolio__item on the homepage */
  object-fit:cover;            /* never contain, never stretch */
  object-position:center;
  display:block;
  border-radius:16px;          /* .portfolio__item */
  background:var(--beige);     /* .portfolio__item placeholder colour */
  transition:transform .3s;    /* .portfolio__item transition */
}
.seo-page .lp-fig img:hover{transform:scale(1.02);}   /* .portfolio__item:hover */

/* Three-up gallery — gap raised 12px → 14px to equal .portfolio__grid.
   !important is required only because gap is set inline on the <figure>
   and HTML must not be modified in this patch. */
.seo-page .lp-fig.figgrid{gap:14px !important;}

/* Single-image figure: a full-width 3/4 crop would be ~1150px tall in an
   860px column. Capped and centred so it reads like the homepage
   .about__photo, which also sits at 3/4 in roughly half its container. */
.seo-page .lp-fig:not(.figgrid) img{max-width:420px;margin:0 auto;}

/* ---------- Price table ---------- */
.seo-page .ptable{width:100%;border-collapse:collapse;margin:22px 0 26px;font-size:15px;}
.seo-page .ptable caption{text-align:left;font-family:var(--fd);font-size:19px;
  color:var(--mauve);padding-bottom:10px;}
.seo-page .ptable th{text-align:left;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;
  color:var(--muted);font-weight:500;padding:10px 12px;border-bottom:1.5px solid var(--border);}
.seo-page .ptable td{padding:13px 12px;border-bottom:1px solid var(--border);
  color:var(--mid);vertical-align:top;}
.seo-page .ptable td:last-child{text-align:right;white-space:nowrap;font-weight:500;
  color:var(--dusty);font-size:16px;}
.seo-page .ptable .tot td{background:var(--beige);font-weight:500;color:var(--dark);}
.seo-page .ptable .tot td:last-child{color:var(--mauve);}
.seo-page .ptable small{color:var(--muted);font-size:13px;display:block;font-weight:300;}

/* ---------- Steps ---------- */
.seo-page .steps{counter-reset:s;margin:22px 0 26px;padding:0;list-style:none;}
.seo-page .steps li{counter-increment:s;position:relative;padding:0 0 19px 50px;margin:0;}
.seo-page .steps li::before{content:counter(s);position:absolute;left:0;top:-2px;
  width:33px;height:33px;border-radius:50%;background:var(--beige);
  border:1px solid var(--border);color:var(--dusty);font-family:var(--fd);
  font-size:16px;display:flex;align-items:center;justify-content:center;}
.seo-page .steps li b{display:block;color:var(--dark);margin-bottom:3px;font-weight:500;}

/* ---------- Callout ---------- */
.seo-page .callout{background:var(--beige);border-left:4px solid var(--dusty);
  border-radius:14px;padding:20px 23px;margin:30px 0;}
.seo-page .callout p{font-size:15px;margin-bottom:0;}
.seo-page .callout p+p{margin-top:12px;}

/* ---------- FAQ (native details, no JS) ---------- */
.seo-page .faqs{margin:22px 0 6px;}
.seo-page .faqs details{border:1px solid var(--border);border-radius:14px;
  margin-bottom:9px;overflow:hidden;background:var(--white);transition:box-shadow .2s;}
.seo-page .faqs details[open]{box-shadow:var(--shadow);}  /* .faq__item.open */
.seo-page .faqs summary{padding:16px 52px 16px 22px;cursor:pointer;font-size:15.5px;
  color:var(--dark);list-style:none;position:relative;transition:color .2s;}
.seo-page .faqs summary::-webkit-details-marker{display:none;}
.seo-page .faqs summary:hover{color:var(--dusty);}
.seo-page .faqs summary::after{content:'+';position:absolute;right:19px;top:50%;
  transform:translateY(-50%);width:26px;height:26px;border-radius:50%;
  background:var(--beige);color:var(--dusty);font-size:17px;display:flex;
  align-items:center;justify-content:center;transition:transform .25s,background .2s;}
.seo-page .faqs details[open] summary::after{transform:translateY(-50%) rotate(45deg);
  background:var(--dusty);color:#fff;}
.seo-page .faqs details p{padding:0 22px 17px;margin:0;font-size:15px;line-height:1.75;color:var(--mid);}

/* ---------- CTA ---------- */
.seo-page .cta{background:linear-gradient(135deg,#fef5f2 0%,#fdf8f5 100%);
  border:1px solid var(--border);border-radius:20px;padding:32px 28px;
  margin:42px 0;text-align:center;}
.seo-page .cta h2{margin:0 0 12px!important;}
.seo-page .cta p{font-size:15.5px;margin-bottom:20px;}
.seo-page .cta__row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.seo-page .btnwa,.seo-page .btngh{display:inline-flex;align-items:center;gap:8px;
  padding:14px 30px;border-radius:50px;font-size:15px;font-weight:500;
  text-decoration:none!important;transition:all .25s;}
.seo-page .btnwa{background:var(--wa);color:#fff;box-shadow:0 6px 24px rgba(37,211,102,.28);}
.seo-page .btnwa:hover{background:var(--wa-dark);transform:translateY(-2px);}
.seo-page .btngh{background:transparent;border:1.5px solid var(--border);color:var(--dark);}
.seo-page .btngh:hover{background:var(--beige);}

/* ---------- Related ---------- */
.seo-page .rel{margin-top:48px;}
.seo-page .rel h2{margin-top:0!important;}
.seo-page .rel__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:14px;}
/* Matches .service-card in style.css: 18px radius, 1px border, --shadow-lg on
   hover, -4px lift, .25s timing, and the rose→dusty gradient bar that appears
   across the top edge on hover. */
.seo-page .rel__card{display:block;background:var(--white);border:1px solid var(--border);
  border-radius:18px;padding:24px 22px;text-decoration:none!important;
  position:relative;overflow:hidden;
  transition:transform .25s,box-shadow .25s;}
.seo-page .rel__card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--rose),var(--dusty));opacity:0;transition:opacity .25s;}
.seo-page .rel__card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.seo-page .rel__card:hover::before{opacity:1;}
.seo-page .rel__card b{display:block;font-family:var(--fd);font-size:18px;
  color:var(--dark);margin-bottom:4px;font-weight:400;}
.seo-page .rel__card span{font-size:13px;color:var(--muted);line-height:1.6;}

/* ---------- Footer ---------- */
.seo-page .sfoot{background:var(--dark);padding:26px 24px;margin-top:20px;}
.seo-page .sfoot__in{max-width:1000px;margin:0 auto;display:flex;align-items:center;
  justify-content:space-between;flex-wrap:wrap;gap:14px;}
.seo-page .sfoot__logo{font-family:var(--fd);font-size:16px;color:var(--dusty);letter-spacing:1.4px;}
.seo-page .sfoot__nap{font-size:12px;color:rgba(253,248,245,.42);line-height:1.7;}
.seo-page .sfoot__nap a{color:rgba(253,248,245,.62);text-decoration:none;}
.seo-page .sfoot__nap a:hover{color:var(--dusty);}
.seo-page .sfoot__links{display:flex;gap:14px;flex-wrap:wrap;}
.seo-page .sfoot__links a{font-size:12px;color:rgba(253,248,245,.42);text-decoration:none;transition:color .2s;}
.seo-page .sfoot__links a:hover{color:var(--dusty);}

/* ---------- Responsive: 320 / 375 / 390 / 430 / 768 / 1024+ ----------
   Gallery breakpoints mirror .portfolio__grid in style.css exactly:
   3 columns → 2 at 900px → 1 at 480px.
   !important is needed only to override the inline grid-template-columns
   on the <figure>, since HTML is not modified in this patch. */
@media (max-width:900px){
  .seo-page .lp-fig.figgrid{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:480px){
  .seo-page .lp-fig.figgrid{grid-template-columns:1fr !important;}
  .seo-page .lp-fig.figgrid img{max-width:420px;margin:0 auto;}
}

@media (max-width:760px){
  .seo-page .snav__links a:not(.snav__cta){display:none;}
  .seo-page .sbody{padding:14px 18px 44px;}
  .seo-page .shero{padding:20px 18px 4px;}
  .seo-page .crumb{padding:14px 18px 0;}
  .seo-page .cta{padding:26px 18px;}
  .seo-page .ptable{font-size:14px;}
  .seo-page .ptable th,.seo-page .ptable td{padding:10px 6px;}
  .seo-page .sfoot__in{flex-direction:column;align-items:flex-start;}
}
@media (max-width:380px){
  .seo-page .shero h1{font-size:27px;}
  .seo-page .shero__lede{font-size:16px;}
  .seo-page .ptable th:nth-child(2),.seo-page .ptable td:nth-child(2){display:none;}
  .seo-page .fact{font-size:12px;padding:6px 12px;}
  .seo-page .snav__logo{font-size:14px;}
}


/* =========================================================
   BLOG ARTICLES (body.blog-post)
   Separate scope from .seo-page so the two design systems never collide.
   Supplies only the 3:4 image rules the .blog-* classes in style.css lack.
   ========================================================= */
body.blog-post .article-figure{margin:34px auto;max-width:420px;}
body.blog-post .article-figure img{
  width:100%;
  height:auto;                 /* neutralises the height attribute */
  aspect-ratio:3/4;            /* native ratio of every salon photo */
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:16px;          /* = .portfolio__item */
  background:#f5ede6;          /* = var(--beige) */
}
body.blog-post .article-figure figcaption{
  font-size:12.5px;color:#9e8880;margin-top:10px;text-align:center;line-height:1.6;}
body.blog-post .article-figure--wide{max-width:760px;}
body.blog-post .article-figure--wide img{aspect-ratio:4/3;}
@media (max-width:480px){
  body.blog-post .article-figure{max-width:100%;}
}
