/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --text: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --accent: #111827;
  --accent-hover: #374151;
  --accent-light: #f3f4f6;
  --border: #e5e7eb;
  --border-dark: #334155;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --font-heading: 'Lora', Georgia, serif;
  --font: 'Rubik', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
  --transition: 0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-muted); line-height: 1.75; }
strong { color: var(--text); font-weight: 600; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-compact { padding: 1.75rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header p { max-width: 560px; margin: 0.5rem auto 0; font-size: 1rem; }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover { background: var(--bg-alt); color: var(--accent); }
.nav-menu > li > a.active { color: var(--accent); }
.nav-cta > a {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px !important;
}
.nav-cta > a:hover { background: var(--accent-hover) !important; }
.dropdown-arrow { font-size: 0.65rem; transition: transform var(--transition); }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem;
  padding-top: 0.75rem;
  margin-top: 4px;
  z-index: 100;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--accent-light); color: var(--accent); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile > ul > li { border-bottom: 1px solid var(--border); }
.nav-mobile > ul > li:last-child { border-bottom: none; margin-top: 0.5rem; }
.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
}
.nav-mobile .mobile-sub {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}
.nav-mobile .mobile-sub a {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.nav-mobile .mobile-cta a {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.hero h1 {
  color: #f1f5f9;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: #f1f5f9; }
.hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--bg-dark);
  padding: calc(var(--nav-h) + 1.5rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border-dark);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.page-hero h1 { color: #f1f5f9; margin-bottom: 0.5rem; }
.page-hero p { color: #94a3b8; max-width: 600px; font-size: 1rem; }
.page-hero .section-label { color: #94a3b8; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: #ffffff; }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.45); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,148,136,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-outline-dark { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #ffffff; color: var(--text); border: 2px solid #ffffff; }
.btn-light:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.85); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: #ffffff; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}
.card-grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.6rem; }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ===== LITHOPHANE OPTION CARDS ===== */
.litho-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1.15rem;
}
.litho-option {
  background: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.litho-option:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.litho-option-featured {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 38px rgba(180, 109, 0, 0.12);
}
.litho-option-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-dark);
}
.litho-option-img::before {
  content: '';
  position: absolute;
  inset: auto 12% -34px;
  height: 82px;
  background: rgba(255, 226, 154, 0.68);
  border-radius: 999px;
  filter: blur(26px);
  z-index: 1;
}
.litho-option-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.38));
  z-index: 2;
}
.litho-option-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.litho-option-keychain .litho-option-img img { object-position: center 66%; }
.litho-option-window .litho-option-img img { object-position: center 100%; }
.litho-price {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  min-width: 74px;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.litho-price span {
  display: block;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.litho-price strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.05;
}
.litho-option-body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.15rem;
}
.litho-option-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}
.litho-option-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.62;
}
.litho-option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.litho-option-tags span {
  min-height: 26px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
.litho-option-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}
.litho-option-footer > span {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}
.litho-option-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.litho-option-link:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== SERVICE CARD (homepage) ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card-img { transform: scale(1.03); }
.service-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; flex: 1; margin-bottom: 1.25rem; }

/* ===== ABOUT SPLIT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { margin-bottom: 1rem; }
.split-content p:last-of-type { margin-bottom: 1.5rem; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.step-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.step-content p { font-size: 0.9rem; margin: 0; }

/* ===== PRICING TABLE ===== */
.pricing-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.pricing-table th, .pricing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.pricing-table th {
  background: var(--bg-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.pricing-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.pricing-table tr:hover td { background: var(--bg-alt); }
.pricing-table td strong { color: var(--text); font-weight: 600; }

/* ===== PRICING CARDS ===== */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.5rem; }
.pricing-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--border); }
.pricing-card.featured { border-color: var(--accent); background: var(--accent-light); }
.pricing-card .price { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; line-height: 1; margin: 0.5rem 0; }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question.open { color: var(--accent); background: var(--accent-light); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: var(--white);
}
.faq-answer.open { display: block; }

/* ===== CONTACT / FORMS ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.contact-item { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item a { font-weight: 600; color: var(--text); }
.contact-item a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.conditional-field[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: center; gap: 0.6rem; }
.form-check input { width: auto; }
.form-check label { margin: 0; font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.4rem; }
.form-submit { width: 100%; padding: 0.85rem; font-size: 1rem; font-weight: 600; background: var(--accent); color: #ffffff; border: none; border-radius: 999px; cursor: pointer; transition: background var(--transition), transform var(--transition); margin-top: 0.5rem; }
.form-submit:hover { background: var(--accent-hover); color: #ffffff; transform: translateY(-1px); }

/* ===== PORTFOLIO ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2rem; }
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover,
.portfolio-card.visible:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.portfolio-card.visible { transition: box-shadow var(--transition), transform var(--transition); }
.portfolio-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover .portfolio-card-img { transform: scale(1.03); }
.portfolio-card-body { padding: 1.5rem; }
.portfolio-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.portfolio-card p { font-size: 0.9rem; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 2rem; }
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card p { font-size: 0.875rem; flex: 1; margin-bottom: 1rem; }
.blog-post { max-width: 720px; margin: 0 auto; }
.blog-post h2 { margin: 2rem 0 0.75rem; }
.blog-post h3 { margin: 1.5rem 0 0.5rem; }
.blog-post p { margin-bottom: 1.25rem; }
.blog-post ul, .blog-post ol { margin: 1rem 0 1.25rem 1.5rem; }
.blog-post ul { list-style: disc; }
.blog-post ol { list-style: decimal; }
.blog-post li { margin-bottom: 0.4rem; color: var(--text-muted); }
.blog-post img { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; }
.blog-post blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  background: var(--accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
}
.blog-post-header { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.post-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.post-categories { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.post-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-dark);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13,148,136,0.15) 0%, transparent 70%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #f1f5f9; margin-bottom: 1rem; }
.cta-banner p { color: #94a3b8; max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ===== INSTALLATION STEPS ===== */
.install-steps { counter-reset: step; display: flex; flex-direction: column; gap: 1rem; }
.install-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  align-items: flex-start;
}
.install-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== STATS / HIGHLIGHTS ===== */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 1.5rem; }
.stat { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ===== ORDER CONFIRMATION ===== */
.success-box {
  text-align: center;
  padding: 3rem;
  background: var(--accent-light);
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: var(--radius-lg);
  max-width: 560px;
  margin: 0 auto;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-box h2 { color: var(--accent); margin-bottom: 0.75rem; }

/* ===== NOTICE BOXES ===== */
.notice {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.notice-info { background: #eff6ff; border-left: 3px solid #3b82f6; color: #1e40af; }
.notice-warn { background: #fffbeb; border-left: 3px solid #f59e0b; color: #92400e; }

/* ===== RICH CONTENT ===== */
.prose h2 { margin: 2rem 0 0.75rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; }
.prose p { margin-bottom: 1.25rem; }
.prose ul { margin: 1rem 0 1.25rem 1.5rem; list-style: disc; }
.prose ol { margin: 1rem 0 1.25rem 1.5rem; list-style: decimal; }
.prose li { margin-bottom: 0.4rem; color: var(--text-muted); }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; filter: brightness(10); opacity: 0.9; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: #64748b; max-width: 260px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #94a3b8;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h4 { color: #e2e8f0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: #64748b; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #475569;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== TOOLTAG PRODUCT PAGE ===== */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}
.product-hero-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); }
.product-hero-img img { width: 100%; object-fit: cover; }
.product-hero-content h1 { margin-bottom: 0.75rem; }
.product-hero-content p { margin-bottom: 1.5rem; }
.product-price-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-price { font-size: 2rem; font-weight: 800; color: var(--text); }
.product-price small { font-size: 0.875rem; font-weight: 400; color: var(--text-muted); }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ===== APPLICATIONS GRID ===== */
.applications-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 1rem; }
.application-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.application-item .app-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.app-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 1rem; }
.app-tag { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.5rem 0.9rem; background: var(--white); border: 1px solid var(--border); border-radius: 999px; font-size: 0.9rem; text-align: center; }

/* ===== COMPARISON SLIDER ===== */
/* Cover modifier - forces both images to fill a fixed aspect-ratio container */
.comparison-slider--cover { aspect-ratio: 2/3; }
.comparison-slider--cover .comp-after { height: 100%; object-fit: cover; object-position: center top; }
.comparison-slider--cover .comp-before-wrap img { width: 100%; object-fit: cover; object-position: center top; }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow-md);
}
.comp-after {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.comp-before-wrap {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}
.comp-before-wrap img {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.comp-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.comp-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.comp-btn {
  width: 38px; height: 38px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 1;
  color: var(--text);
}
.comp-label {
  position: absolute;
  bottom: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.55);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  pointer-events: none;
}
.comp-label-before { left: 0.6rem; }
.comp-label-after { right: 0.6rem; }
.comparison-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-hero { grid-template-columns: 1fr; }
  .product-cta { text-align: center; }
  .app-tags { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero { min-height: 85vh; }
  .product-gallery { grid-template-columns: 1fr 1fr; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== WAVE DIVIDERS ===== */
.has-wave {
  position: relative;
  z-index: 1;
}
.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.wave-bottom svg {
  display: block;
  width: 100%;
  height: 35px;
}
@media (max-width: 640px) {
  .wave-bottom svg { height: 20px; }
}
.wave-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.wave-top svg {
  display: block;
  width: 100%;
  height: 50px;
}
@media (max-width: 640px) {
  .wave-top svg { height: 30px; }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1.5rem);
  background: var(--bg-dark);
  color: var(--white);
  padding: 1.35rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
  border-left: 4px solid #22c55e;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--bg-dark-2); }
