/* Solbeleza — Clean Export Brand Styles */
/* Based on clean-export-brand DESIGN.md */

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --canvas: #ffffff;
  --surface: #fdf8f5;
  --surface-warm: #fff3ec;
  --ink: #1f2937;
  --muted: #64748b;
  --primary: #be185d;
  --primary-hover: #9d174d;
  --accent: #f97316;
  --soft-accent: #fed7aa;
  --border: #e2e8f0;
  --success: #15803d;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1160px;
  --section-gap: 80px;
  --section-gap-mobile: 48px;
}

html {
  font-size: 16px;
  line-height: 1.7;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: Manrope, Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p { margin-bottom: 1rem; }

.text-muted { color: var(--muted); }
.text-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-weight: 600;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--section-gap-mobile) 0; }
}

/* === Header & Navigation === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo:hover { text-decoration: none; color: var(--primary-hover); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-hover);
  text-decoration: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-links.active { display: flex; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* === Hero === */
.hero {
  background: var(--surface);
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { max-width: 520px; }

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-image img { height: 280px; }
}

/* === Product Cards === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-card-image {
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  margin-bottom: 8px;
}

.product-card-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.product-card-features {
  list-style: none;
  margin-bottom: 16px;
}

.product-card-features li {
  font-size: 0.875rem;
  padding: 4px 0;
  color: var(--ink);
}

.product-card-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  margin-right: 8px;
}

.product-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* === Advantages === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-item {
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.advantage-item h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.advantage-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .advantages-grid { grid-template-columns: 1fr; }
}

/* === FAQ === */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* === CTA Section === */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.cta-section h2 { color: #fff; margin-bottom: 16px; }

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-accent {
  background: #fff;
  color: var(--primary);
}

.cta-section .btn-accent:hover {
  background: var(--surface);
}

/* === Page Header === */
.page-header {
  background: var(--surface);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.page-header h1 { margin-bottom: 8px; }

.page-header p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

/* === Product Detail === */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.product-detail-info h1 { margin-bottom: 16px; }

.product-detail-info .text-muted { margin-bottom: 24px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
}

.spec-table tr:nth-child(even) td {
  background: var(--surface);
}

@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-image img { height: 280px; }
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.capability-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.capability-card h4 { margin-bottom: 8px; }

.capability-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--canvas);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-list { list-style: none; }

.contact-info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-list li:last-child { border-bottom: none; }

.contact-info-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  color: var(--ink);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* === Blog === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow); }

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-card h3 { margin-bottom: 8px; font-size: 1.125rem; }

.blog-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* === Thanks === */
.thanks-section {
  text-align: center;
  padding: 120px 0;
}

.thanks-section h1 { margin-bottom: 16px; }

.thanks-section p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* === Footer === */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* === Utilities === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
