/* =============================================================================
   BaristaPOS — Landing Page Stylesheet
   =============================================================================
   Color Palette:
     --bg:           #FDFBD4  (Light Tan / Beige)
     --primary:      #855b5b  (Rich Brown)
     --primary-dark: #6d6666  (Coffee Brown)
     --btn:          #C46A4A  (Terracotta / Dark Orange)
     --secondary:    #5B6B4F  (Olive Green)
     --text:         #2A1A18  (Dark Brown / Black)
   ============================================================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --bg: #FDFBD4;
  --primary: #855b5b;
  --primary-dark: #6d6666;
  --btn: #C46A4A;
  --btn-hover: #a8563a;
  --secondary: #5B6B4F;
  --secondary-dark: #4a5940;
  --text: #2A1A18;
  --white: #ffffff;
  --light: #f5efe3;
  --lighter: #faf7ee;
  --border: #e4dcc8;
  --shadow-sm: 0 2px 8px rgba(42, 26, 24, 0.08);
  --shadow-md: 0 8px 28px rgba(42, 26, 24, 0.13);
  --shadow-lg: 0 18px 50px rgba(42, 26, 24, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1200px;
  --nav-h: 70px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
}

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

.text-center {
  text-align: center;
}

/* Section badge / label */
.section-badge {
  display: inline-block;
  background: rgba(91, 107, 79, 0.12);
  color: var(--secondary);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Section heading + description block */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--primary-dark);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

section {
  padding: 90px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn);
  color: var(--white);
  border-color: var(--btn);
}

.btn-primary:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(196, 106, 74, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--btn);
  color: var(--btn);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 107, 79, 0.35);
}

.btn-large {
  padding: 17px 40px;
  font-size: 1.05rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

/* Checkbox toggle (CSS-only hamburger) */
.nav-toggle-check {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 212, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  /* CSS scroll-driven animation for shadow (modern browsers) */
  animation: header-shadow linear both;
  animation-timeline: scroll();
  animation-range: 0px 100px;
}

@keyframes header-shadow {
  from {
    box-shadow: none;
  }

  to {
    box-shadow: var(--shadow-md);
  }
}

nav.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-accent {
  color: var(--btn);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--btn);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--btn);
}

/* Right side of nav */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger icon (CSS-only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 34px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation when checked */
.nav-toggle-check:checked~.site-header .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-check:checked~.site-header .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle-check:checked~.site-header .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2A1A18 0%, #6d3d3d 45%, #855b5b 100%);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative radial glow blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(196, 106, 74, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 107, 79, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero text content */
.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 106, 74, 0.18);
  border: 1px solid rgba(196, 106, 74, 0.4);
  color: #f5c4a8;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--white);
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-title .accent {
  color: #f5c4a8;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 38px;
  max-width: 470px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* Social proof row */
.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, var(--btn), var(--primary));
  margin-left: -8px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.trust-avatars .trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.trust-text strong {
  color: white;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeInUp 1s 0.7s ease both;
}

.scroll-hint-bar {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollBar 2.2s ease-in-out infinite;
}

@keyframes scrollBar {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---- Phone Mockup (pure CSS) ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.9s 0.25s ease both;
}

.phone-wrapper {
  position: relative;
  animation: float 4.5s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(196, 106, 74, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.phone-mockup {
  width: 260px;
  height: 530px;
  background: #1a1018;
  border-radius: 38px;
  padding: 14px 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.09);
  position: relative;
}

/* Camera notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  background: #0d0a0e;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, #fdfbd4 0%, #f5efe3 100%);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Mock POS header */
.phone-header {
  background: var(--primary);
  padding: 34px 12px 10px;
  color: white;
  flex-shrink: 0;
}

.phone-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.phone-header-badge {
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.55rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* Category pills */
.phone-categories {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-cat {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.52rem;
  font-weight: 700;
  white-space: nowrap;
}

.phone-cat.active {
  background: var(--btn);
  color: white;
}

.phone-cat.inactive {
  background: #e8e0cc;
  color: var(--text);
}

/* Product grid */
.phone-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 8px;
  flex: 1;
  overflow: hidden;
}

.phone-product {
  background: white;
  border-radius: 9px;
  padding: 7px;
  box-shadow: 0 2px 5px rgba(42, 26, 24, 0.09);
}

.phone-product-img {
  height: 34px;
  border-radius: 6px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.phone-product-img.c1 {
  background: linear-gradient(135deg, #f5c4a8, #C46A4A);
}

.phone-product-img.c2 {
  background: linear-gradient(135deg, #c4d8b0, #5B6B4F);
}

.phone-product-img.c3 {
  background: linear-gradient(135deg, #d4c5b0, #855b5b);
}

.phone-product-img.c4 {
  background: linear-gradient(135deg, #c8b8d8, #7b6b8b);
}

.phone-product-name {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.phone-product-price {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--btn);
}

/* Cart bar */
.phone-cart {
  background: var(--btn);
  color: white;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
  margin: 6px 8px 8px;
  border-radius: 12px;
}

.phone-cart-badge {
  background: rgba(255, 255, 255, 0.25);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--primary);
  padding: 0;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.stat-item {
  padding: 30px 20px;
  text-align: center;
  color: var(--white);
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #f5c4a8;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--btn), var(--primary));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 106, 74, 0.2);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(196, 106, 74, 0.12), rgba(133, 91, 91, 0.14));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-4deg);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--primary-dark);
  line-height: 1.68;
  margin: 0;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works {
  background: var(--lighter);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--btn), var(--secondary));
  opacity: 0.35;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--btn), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 24px;
  box-shadow: 0 10px 28px rgba(196, 106, 74, 0.35);
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.step-item:hover .step-number {
  transform: scale(1.08);
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-item p {
  font-size: 0.91rem;
  color: var(--primary-dark);
  line-height: 1.68;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-heading);
  font-size: 6rem;
  color: rgba(196, 106, 74, 0.1);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #f0a500;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.av-1 {
  background: linear-gradient(135deg, #C46A4A, #855b5b);
}

.av-2 {
  background: linear-gradient(135deg, #5B6B4F, #3d7a5f);
}

.av-3 {
  background: linear-gradient(135deg, #6d6666, #2A1A18);
}

.author-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text);
}

.author-role {
  font-size: 0.81rem;
  color: var(--primary-dark);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  background: var(--lighter);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}

.pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover:not(.featured) {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Featured/highlighted pricing card */
.pricing-card.featured {
  background: linear-gradient(160deg, var(--primary) 0%, #4d2a2a 100%);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(133, 91, 91, 0.38);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn);
  color: white;
  padding: 5px 22px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-tier {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-card.featured .pricing-price {
  color: var(--white);
}

.pricing-price sup {
  font-size: 1.4rem;
  margin-right: 2px;
}

.pricing-period {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  opacity: 0.65;
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 26px;
  line-height: 1.55;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

.pricing-card.featured .pricing-divider {
  border-color: rgba(255, 255, 255, 0.18);
}

.pricing-features {
  margin-bottom: 15px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 3px;
  font-size: 0.89rem;
  color: var(--text);
  line-height: 1.45;
}

.pricing-card.featured .pricing-feature {
  color: rgba(255, 255, 255, 0.9);
}

.feature-check {
  width: 20px;
  height: 20px;
  background: rgb(84 195 49 / 17%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.62rem;
  color: var(--secondary);
  margin-top: 1px;
}

.pricing-card.featured .feature-check {
  background: rgba(255, 255, 255, 0.15);
  color: #b8f0b8;
}

/* Pricing button full-width */
.pricing-btn {
  width: 100%;
  justify-content: center;
}

/* Device badge */
.pricing-device-badge {
  display: inline-block;
  background: rgba(91, 107, 79, 0.10);
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.pricing-card.featured .pricing-device-badge {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}

/* "All features in X" inherit line */
.pricing-feature--inherit {
  font-weight: 600;
  font-style: italic;
  opacity: 0.8;
}

/* Muted / disabled feature line (e.g., "no cloud sync") */
.pricing-feature--muted {
  opacity: 0.55;
}

.feature-x {
  width: 20px;
  height: 20px;
  background: rgba(180, 80, 80, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.62rem;
  color: #b45050;
  margin-top: 1px;
}

/* Card footer: CTA button + "View Full Features" link */
.pricing-card-footer {
  margin-top: auto;
  text-align: center;
}

.pricing-details-link {
  display: inline-block;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--btn);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.pricing-details-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.pricing-card.featured .pricing-details-link {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-card.featured .pricing-details-link:hover {
  color: rgba(255, 255, 255, 1);
}

/* Make pricing card a flex column so button stays at bottom */
.pricing-grid--4 .pricing-card {
  display: flex;
  flex-direction: column;
  padding: 32px 22px;
}

.pricing-grid--4 .pricing-price {
  font-size: 2.5rem;
}

.pricing-grid--4 .pricing-price sup {
  font-size: 1.1rem;
}

/* ============================================================
   FEATURE DETAIL MODAL
   ============================================================ */
.feature-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.feature-modal.is-open {
  display: flex !important;
}

.feature-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 15, 0.55);
  backdrop-filter: blur(4px);
}

.feature-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  width: 92%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.feature-modal-plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.feature-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.feature-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.feature-modal-body {
  padding: 24px 28px 30px;
  overflow-y: auto;
  flex: 1;
}

.feature-modal-panel {
  display: none;
}

.feature-modal-intro {
  font-size: 0.92rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.feature-modal-group {
  margin-bottom: 22px;
}

.feature-modal-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.feature-modal-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-modal-group li {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.feature-modal-group li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.75rem;
}

.feature-modal-group li strong {
  color: var(--primary-dark);
}

/* Inherited features list (lighter, compact) */
.feature-modal-inherited li {
  font-size: 0.82rem;
  color: var(--secondary);
  padding: 4px 0 4px 20px;
}

.feature-modal-inherited li::before {
  opacity: 0.5;
}

/* Note block */
.feature-modal-note {
  background: rgba(196, 106, 74, 0.08);
  border-left: 3px solid var(--btn);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.84rem;
  color: var(--primary-dark);
  line-height: 1.55;
}

/* Modal responsive */
@media (max-width: 640px) {
  .feature-modal-content {
    width: 96%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
    align-self: flex-end;
  }

  .feature-modal-body {
    padding: 20px 20px 28px;
  }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

/* Using <details>/<summary> for pure-CSS accordion */
details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

details.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

details.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 106, 74, 0.3);
}

details.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition);
  user-select: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item[open] summary {
  color: var(--btn);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  background: rgba(196, 106, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--btn);
  line-height: 1;
  transition: all var(--transition);
}

details.faq-item[open] .faq-toggle-icon {
  background: var(--btn);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--primary-dark);
  line-height: 1.78;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #2A1A18 0%, #6d3d3d 50%, var(--primary) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(196, 106, 74, 0.2) 0%, transparent 65%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(91, 107, 79, 0.2) 0%, transparent 65%);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  margin-bottom: 38px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input[type="email"] {
  flex: 1;
  padding: 14px 22px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.cta-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-disclaimer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.72;
  margin-bottom: 22px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.65);
}

.social-btn:hover {
  background: var(--btn);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--btn);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--btn);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--btn);
}

/* ============================================================
   PAGE HERO (inner pages: About, Services, Contact)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #2A1A18 0%, #6d3d3d 45%, var(--primary) 100%);
  padding: calc(var(--nav-h) + 70px) 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 106, 74, 0.18) 0%, transparent 65%);
}

/* Curved bottom edge */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.35);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.72;
}

/* ============================================================
   ABOUT PAGE — STORY SECTION
   ============================================================ */
.about-story {
  background: var(--bg);
}

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

.about-visual {
  position: relative;
}

.about-img-box {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.about-stat-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
}

.about-stat-badge .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--btn);
  line-height: 1;
}

.about-stat-badge .lbl {
  font-size: 0.76rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.97rem;
  color: var(--primary-dark);
  line-height: 1.82;
  margin-bottom: 18px;
}

/* ---- About Values ---- */
.about-values {
  background: var(--lighter);
}

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

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.65;
}

/* ---- Team ---- */
.about-team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: white;
}

.ta-1 {
  background: linear-gradient(135deg, #C46A4A, #7a3020);
}

.ta-2 {
  background: linear-gradient(135deg, #5B6B4F, #2d4022);
}

.ta-3 {
  background: linear-gradient(135deg, #855b5b, #4d2a2a);
}

.ta-4 {
  background: linear-gradient(135deg, #6d6666, #2A1A18);
}

.team-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 0.81rem;
  color: var(--btn);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.83rem;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-main {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 106, 74, 0.25);
}

.service-icon-lg {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(196, 106, 74, 0.12), rgba(133, 91, 91, 0.14));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.service-card:hover .service-icon-lg {
  transform: scale(1.08) rotate(-5deg);
}

.service-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-body p {
  font-size: 0.92rem;
  color: var(--primary-dark);
  line-height: 1.72;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tag {
  background: rgba(91, 107, 79, 0.1);
  color: var(--secondary);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 600;
}

/* Platform highlights */
.platform-highlights {
  background: var(--lighter);
}

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

.highlight-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.highlight-emoji {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

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

.highlight-item p {
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.contact-info>p {
  font-size: 0.95rem;
  color: var(--primary-dark);
  line-height: 1.78;
  margin-bottom: 36px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, rgba(196, 106, 74, 0.12), rgba(133, 91, 91, 0.14));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method-title {
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.contact-method-info {
  font-size: 0.87rem;
  color: var(--primary-dark);
  line-height: 1.55;
}

/* Contact Form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card>p {
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--lighter);
  color: var(--text);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--btn);
  box-shadow: 0 0 0 3px rgba(196, 106, 74, 0.12);
  background: var(--white);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
}

.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--btn);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.83rem;
  color: var(--primary-dark);
  line-height: 1.5;
}

.form-check a {
  color: var(--btn);
  font-weight: 600;
}

/* Form validation & submission states */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #d44;
  background: #fff8f8;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(221, 68, 68, 0.12);
}

.form-check.has-error {
  color: #d44;
}

.form-field-error {
  display: block;
  font-size: 0.8rem;
  color: #d44;
  margin-top: 6px;
  line-height: 1.4;
}

.form-error-general {
  background: #fff0f0;
  border: 1.5px solid #d44;
  border-radius: var(--radius-sm);
  color: #d44;
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-success-message {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.form-success-message h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text);
}

.form-success-message p {
  font-size: 0.93rem;
  color: var(--primary-dark);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

.btn-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Office map placeholder */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #e0d8c8 0%, #d0c8b8 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  margin-top: 50px;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.map-placeholder .map-icon {
  font-size: 2.5rem;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(44px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* Stagger utility classes */
.anim-1 {
  animation: fadeInUp 0.7s 0.05s ease both;
}

.anim-2 {
  animation: fadeInUp 0.7s 0.15s ease both;
}

.anim-3 {
  animation: fadeInUp 0.7s 0.25s ease both;
}

.anim-4 {
  animation: fadeInUp 0.7s 0.35s ease both;
}

.anim-5 {
  animation: fadeInUp 0.7s 0.45s ease both;
}

.anim-6 {
  animation: fadeInUp 0.7s 0.55s ease both;
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--btn);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid--4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  /* Nav mobile */
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(253, 251, 212, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links a {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-right .btn.nav-cta {
    display: none;
  }

  .nav-toggle-check:checked~.site-header .nav-links {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 50px) 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  /* Sections */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps-grid::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-badge {
    right: 0;
  }

  .contact-form-card {
    padding: 30px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-inner {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* CTA form */
  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Page hero */
  .page-hero {
    padding: calc(var(--nav-h) + 50px) 0 70px;
  }

  /* Service cards */
  .service-card {
    flex-direction: column;
  }

  .service-icon-lg {
    width: 58px;
    height: 58px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .phone-mockup {
    width: 195px;
    height: 390px;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .pricing-grid--4 {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {

  .site-header,
  footer,
  .hero-visual,
  .cta-section,
  .scroll-hint {
    display: none;
  }

  body {
    background: white;
    font-size: 12pt;
  }

  section {
    padding: 30px 0;
  }
}