/* ============ VARIABLES ============ */
:root {
  --blue-dark: #0F2234;
  --blue-mid: #1E4D73;
  --blue-light: #5A9CC5;
  --blue-pale: #A0BCCE;
  --cream: #FAF6F1;
  --cream-dark: #F4EDE4;
  --cream-border: #EDE5D8;
  --brown-dark: #3B2F25;
  --brown-mid: #5A4D3F;
  --brown-light: #7A6B5A;
  --brown-muted: #8A7D6D;
  --warm-accent: #C4956A;
  --white: #fff;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--brown-dark); background: var(--cream); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.nav-wrap {
  background: rgba(250,246,241,0.92); backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--cream-border);
  position: relative; z-index: 100;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1100px; margin: 0 auto;
}
.nav-logo { font-size: 20px; font-weight: 600; color: var(--blue-mid); letter-spacing: 0.3px; }
.nav-logo span { font-weight: 400; color: var(--blue-light); }
.nav-badge { font-size: 11px; font-weight: 500; color: var(--blue-mid); letter-spacing: 1.5px; text-transform: uppercase; background: rgba(30,77,115,0.08); padding: 5px 12px; border-radius: 4px; margin-left: 16px; }
.nav-spacer { flex: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--brown-mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-mid); }
.nav-cta {
  background: var(--blue-mid); color: var(--white) !important;
  padding: 9px 20px; border-radius: 7px; font-weight: 500; font-size: 13px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { width: 22px; height: 2px; background: var(--brown-dark); border-radius: 2px; transition: all 0.3s; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-size: 15px; font-weight: 500; border: none;
  background: var(--blue-light); color: var(--white);
  cursor: pointer; transition: all 0.2s; font-family: var(--font);
}
.btn-primary:hover { background: #4A8CB5; transform: translateY(-1px); }

/* ============ PRICE TABLE ============ */
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th {
  text-align: left; padding: 12px 16px; font-weight: 500; font-size: 13px;
  color: var(--brown-muted); border-bottom: 2px solid var(--cream-border);
}
.price-table td {
  padding: 10px 16px; border-bottom: 0.5px solid var(--cream-border);
  color: var(--brown-dark);
}
.price-table td:first-child { font-weight: 500; }
.price-table td.price { color: var(--blue-mid); font-weight: 600; }
.price-table tr:hover td { background: var(--cream-dark); }
.price-note { font-size: 13px; color: var(--brown-muted); margin-top: 16px; }

/* ============ FOOTER ============ */
.footer { background: #1C1917; padding: 48px 5%; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px;
}
.footer-brand p { font-size: 13px; color: #8A8580; line-height: 1.6; margin-top: 12px; max-width: 260px; }
.footer-col h4 {
  font-size: 11px; color: #6A6560; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 16px; font-weight: 500;
}
.footer-col a { display: block; font-size: 13px; color: #A09890; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-logo { font-size: 20px; font-weight: 600; color: #FAF6F1; }
.footer-logo span { color: #5A9CC5; font-weight: 400; }
.footer-social { display: flex; gap: 16px; margin-top: 12px; }
.footer-social a { color: var(--blue-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 24px; margin-top: 40px;
  border-top: 0.5px solid #332E2A;
  display: flex; justify-content: space-between;
  font-size: 12px; color: #5A5550;
}

/* ============ MOBILE NAV ============ */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(250,246,241,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; color: var(--brown-dark); font-weight: 500; }
.mobile-menu .nav-cta { font-size: 16px; padding: 14px 36px; }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  font-size: 28px; cursor: pointer; color: var(--brown-dark);
  background: none; border: none; font-family: var(--font);
}

/* ============ RESPONSIVE (shared) ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-badge { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .nav { padding: 14px 5%; }
  .nav-logo { font-size: 18px; }
  .btn-primary { padding: 12px 24px; font-size: 14px; }
  .price-table { font-size: 12px; }
  .price-table th, .price-table td { padding: 8px 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============ SERVICE PAGE LAYOUT ============ */
.page-header { padding: 48px 32px 24px; max-width: 1100px; margin: 0 auto; }
.page-header h1 { font-size: 24px; font-weight: 500; color: var(--brown-dark); margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--blue-light); font-weight: 500; margin-bottom: 24px; }

.product-area { max-width: 1100px; margin: 0 auto; padding: 0 32px 48px; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin: 0 auto; }
.product-img { border-radius: 12px; overflow: hidden; }
.product-img img { width: 100%; display: block; }
.product-sub { font-size: 14px; color: var(--brown-muted); margin-bottom: 24px; }
.product-details { min-width: 0; }
.product-area .price-table { margin-bottom: 12px; }
.product-area .price-note { margin-top: 12px; margin-bottom: 0; }

.salon-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--warm-accent); background: rgba(196,149,106,0.1); padding: 8px 16px; border-radius: 8px; margin-bottom: 24px; }
.cta-full { display: block; width: 100%; text-align: center; margin-top: 24px; }
.cta-phone { display: block; width: 100%; text-align: center; margin-top: 12px; padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 500; border: 1px solid var(--cream-border); background: var(--white); color: var(--brown-dark); font-family: var(--font); transition: all 0.2s; }
.cta-phone:hover { border-color: var(--blue-light); background: var(--cream-dark); }

.divider { border: none; border-top: 0.5px solid var(--cream-border); margin: 0 auto; max-width: 1100px; }

/* ============ SEO SECTION ============ */
.seo-section { max-width: 1100px; margin: 0 auto; padding: 48px 32px; }
.seo-section h2 { font-size: 26px; font-weight: 500; color: var(--brown-dark); margin-bottom: 16px; line-height: 1.3; }
.seo-section p { font-size: 15px; color: var(--brown-light); line-height: 1.7; margin-bottom: 16px; max-width: 780px; }

/* ============ SERVICE PAGE SECTIONS ============ */
.section { padding: 0 32px 56px; max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown-muted); margin-bottom: 10px; font-weight: 500; }
.section-heading { font-size: 26px; font-weight: 500; color: var(--brown-dark); margin-bottom: 16px; line-height: 1.25; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 0.5px solid var(--cream-border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer; font-size: 15px; font-weight: 500;
  color: var(--brown-dark); transition: color 0.2s;
}
.faq-q:hover { color: var(--blue-mid); }
.faq-q span { font-size: 20px; color: var(--brown-muted); transition: transform 0.3s; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 14px; color: var(--brown-light); line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 18px; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

/* ============ SERVICES GRID ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 0.5px solid var(--cream-border);
  transition: border-color 0.2s, transform 0.2s; cursor: pointer;
}
.svc-card:hover { border-color: var(--blue-light); transform: translateY(-3px); }
.svc-img { height: 180px; position: relative; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.svc-body { padding: 20px; }
.svc-name { font-size: 15px; font-weight: 500; color: var(--brown-dark); margin-bottom: 5px; }
.svc-price { font-size: 14px; color: var(--blue-mid); font-weight: 600; margin-bottom: 8px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--blue-light); font-weight: 500; transition: gap 0.2s;
}
.svc-card:hover .svc-link { gap: 8px; }

/* ============ SERVICE PAGE RESPONSIVE ============ */
@media (min-width: 768px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 32px; max-width: 100%; }
  .product-img { position: sticky; top: 100px; align-self: start; }
}
@media (max-width: 900px) {
  .page-header { padding: 32px 6% 20px; }
  .product-area { padding: 0 6% 40px; }
  .seo-section { padding: 40px 6%; }
  .section { padding: 0 6% 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-header h1 { font-size: 22px; }
  .product-area { padding: 0 5% 32px; }
  .product-img img { max-height: 280px; object-fit: cover; }
  .seo-section { padding: 32px 5%; }
  .seo-section h2 { font-size: 22px; }
  .section { padding: 0 5% 40px; }
  .section-heading { font-size: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-img { height: 100px; }
}

/* ============ SIZE GRID (shared) ============ */
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.size-grid--2col { grid-template-columns: repeat(2, 1fr); }
.size-card { background: var(--white); border: 1px solid var(--cream-border); border-radius: 10px; padding: 14px 12px; text-align: center; transition: border-color 0.2s; }
.size-card:hover { border-color: var(--blue-light); }
.size-dim { font-size: 15px; font-weight: 500; color: var(--brown-dark); margin-bottom: 4px; }
.size-price { font-size: 16px; font-weight: 600; color: var(--blue-mid); }

/* ============ FORMAT SELECTOR (shared) ============ */
.selector-label { font-size: 13px; font-weight: 500; color: var(--brown-muted); margin-bottom: 8px; }
.format-selector { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.format-btn {
  padding: 10px 18px; border-radius: 8px;
  border: 1px solid var(--cream-border); background: var(--white);
  color: var(--brown-dark); font-size: 14px; font-weight: 500;
  font-family: var(--font); cursor: pointer; transition: all 0.2s;
}
.format-btn:hover { border-color: var(--blue-light); }
.format-btn.active { background: var(--blue-mid); color: var(--white); border-color: var(--blue-mid); }

@media (max-width: 600px) {
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .format-btn { padding: 8px 14px; font-size: 13px; }
}
