/*
Theme Name: Servino
Theme URI: https://theservino.com
Author: AUM Solutions
Author URI: https://theservino.com
Description: Servino - The all-in-one business management platform designed for tradespeople, field service teams, and growing businesses.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: servino
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  /* Brand Colors */
  --color-primary:       #e85d3a;   /* Orange-red CTA */
  --color-primary-dark:  #c94a28;
  --color-accent:        #2d2663;   /* Deep purple/navy */
  --color-accent-light:  #3d3580;

  /* Neutrals */
  --color-bg:            #f7f7f5;   /* Off-white background */
  --color-surface:       #ffffff;
  --color-surface-alt:   #f2f2ef;
  --color-border:        #e8e8f0;
  --color-dark:          #1a1a2e;
  --color-footer-bg:     #1c1c2e;

  /* Text */
  --color-text:          #1a1a2e;
  --color-text-muted:    #6b6b80;
  --color-text-light:    #9b9baa;

  /* Pricing table */
  --color-table-header:  #2d2663;
  --color-table-row-alt: #f8f8f6;
  --color-highlight:     #f0eff9;

  /* Status */
  --color-green:         #22c55e;
  --color-green-bg:      #dcfce7;

  /* Typography */
  --font-display:        'Sora', sans-serif;
  --font-body:           'DM Sans', sans-serif;

  /* Spacing */
  --section-pad:         5rem 0;
  --container-max:       1200px;
  --border-radius:       12px;
  --border-radius-lg:    20px;
  --border-radius-pill:  100px;

  /* Shadows */
  --shadow-card:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-card-hover:   0 8px 40px rgba(0,0,0,0.14);
  --shadow-cta:          0 8px 32px rgba(232,93,58,0.35);

  /* Transitions */
  --transition:          0.22s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--color-text-muted); line-height: 1.7; }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-pad); }

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

.section-label {
  display: inline-block;
  background: var(--color-surface);
  border: 1px solid #e85d3a;
  border-radius: var(--border-radius-pill);
  padding: 0.35rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.section-title { margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1.05rem; color: var(--color-text-muted); max-width: 560px; margin: 0 auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.8rem;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232,93,58,0.45);
}

.btn-dark {
  background: var(--color-accent);
  color: #fff;
}
.btn-dark:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid #d0d0dc;
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,247,245,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-logo svg { color: var(--color-primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text);
  background: rgba(0,0,0,0.05);
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-actions .btn-book {
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid #d0d0dc;
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.nav-actions .btn-book:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */
.page-hero {
  background: var(--color-bg);
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.page-hero .section-label { margin-bottom: 1.5rem; }
.page-hero h1 { max-width: 700px; margin: 0 auto 1rem; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* =========================================================
   PROMO BANNER
   ========================================================= */
.promo-banner {
  background: var(--color-accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
}

.promo-banner .strikethrough {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 0.5rem;
}

.promo-banner .highlight-text {
  color: #f9c74f;
  font-weight: 700;
}

.pricing-promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-height: 54px;
}

.pricing-promo-muted {
  color: rgba(255,255,255,0.62);
}


/* ---------------------------------------
   5. Devices Section (Screenshot 264)
----------------------------------------*/
.devices-section {
    background: var(--color-accent-light);
    color: #fff;
    border-radius: 24px;
    width: calc(100% - 3rem);
    max-width: 1500px;
    margin: 3rem auto;
    padding: 36px 24px 42px;
}

.devices-section h2,
.devices-section .tag-red {
    color: #fff;
}

.devices-section h2 {
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.devices-section .section-subtitle {
    color: rgba(255,255,255,0.78);
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.14rem;
    line-height: 1.45;
}

.device-icons {
    display: flex;
    justify-content: center;
    gap: 42px;
    margin: 26px 0 0;
}

.device-item {
    background: rgba(255,255,255,0.12);
    color: #fff;
    width: 108px;
    height: 108px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
}

.device-item svg {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
}

.btn-download {
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 12px 40px;
    font-size: 18px;
    margin-bottom: 50px;
}

.pricing-cta-bottom {
    padding-top: 50px;
}

@media (max-width: 768px) {
    .devices-section {
        width: calc(100% - 2rem);
        margin: 2.5rem auto;
        padding: 32px 20px 36px;
        border-radius: 20px;
    }

    .devices-section .section-subtitle {
        font-size: 1.05rem;
    }

    .device-icons {
        gap: 18px;
        margin-top: 22px;
    }

    .device-item {
        width: 96px;
        height: 96px;
        font-size: 14px;
    }

    .device-item svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .devices-section {
        padding: 30px 16px 34px;
    }

    .device-icons {
        gap: 12px;
    }

    .device-item {
        width: 88px;
        height: 88px;
        border-radius: 14px;
        font-size: 13px;
    }

    .device-item svg {
        width: 26px;
        height: 26px;
        margin-bottom: 7px;
    }
}

/* =========================================================
   PRICING PAGE
   ========================================================= */

/* Volume Table */
.pricing-volume-section {
  padding: 4rem 0;
  background: var(--color-surface);
}

.pricing-volume-section .section-subtitle {
  margin-bottom: 2.5rem;
}

.pricing-table-wrap {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #e8e8f0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

.pricing-table thead tr {
  background: var(--color-table-header);
  color: #fff;
}

.pricing-table thead th {
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pricing-table thead th:first-child { text-align: left; }

.pricing-table thead .badge-popular {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.4rem;
  font-weight: 700;
}

.pricing-table thead .badge-free {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-green);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.4rem;
  font-weight: 700;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #eeeef4;
  transition: background var(--transition);
}

.pricing-table tbody tr:hover { background: var(--color-highlight); }
.pricing-table tbody tr:last-child { border-bottom: none; }

.pricing-table tbody td {
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
}

.pricing-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}

.pricing-table .price-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-table .price-period {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-table .savings-row td {
  background: var(--color-table-row-alt);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 0.65rem 1.5rem;
  font-style: italic;
}

.pricing-table .savings-row .save-green {
  color: var(--color-green);
  font-weight: 700;
  font-style: normal;
}

.pricing-footnote {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Billing Cycle Cards */
.billing-section {
  padding: 4.5rem 0;
  background: var(--color-bg);
}

.billing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.billing-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1.5px solid #e8e8f0;
  transition: all var(--transition);
  position: relative;
}

.billing-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.billing-card.popular {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-card);
}

.billing-card .card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.billing-card.popular .card-badge { background: var(--color-accent); }
.billing-card.best .card-badge { background: #b5864a; }

.billing-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.billing-card .card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.billing-card .starting-from {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-weight: 600;
}

.billing-card .big-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
  margin: 0.3rem 0 0.1rem;
}

.billing-card .big-price .currency { font-size: 1.6rem; vertical-align: super; }

.billing-card .price-period-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.billing-card .volume-list { margin-bottom: 1.8rem; }

.billing-card .volume-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f5;
  font-size: 0.88rem;
}

.billing-card .volume-row:last-child { border-bottom: none; }

.billing-card .volume-row .vol-label { color: var(--color-text-muted); }
.billing-card .volume-row .vol-price { font-weight: 700; color: var(--color-text); }

.billing-card .vol-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.4rem;
}

.vol-badge.save { background: #fef3c7; color: #92400e; }
.vol-badge.best { background: #dcfce7; color: #166534; }
.vol-badge.free-months { background: #dbeafe; color: #1e40af; }

/* Interactive Pricing Calculator */
.pricing-calculator-section {
  padding: 4.5rem 0;
  background: var(--color-bg);
}

.pricing-launch-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--border-radius);
  background: rgba(232,93,58,0.08);
  border: 1px solid rgba(232,93,58,0.22);
}

.pricing-launch-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-launch-old {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.pricing-launch-new {
  font-size: 0.92rem;
  font-weight: 700;
  color: #92400e;
}

.pricing-region-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-region-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.pricing-region-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-region-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 82px;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border: 1.5px solid #d8d8e4;
  border-radius: var(--border-radius-pill);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-region-pill:hover,
.pricing-region-pill.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.pricing-region-symbol {
  font-weight: 800;
}

.pricing-calculator-heading {
  margin-bottom: 2.25rem;
}

.pricing-calculator-heading .section-subtitle {
  margin-top: 0.5rem;
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pricing-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--color-surface);
  border: 1.5px solid #e8e8f0;
  border-radius: var(--border-radius-lg);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.pricing-plan-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.pricing-plan-card.is-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-card);
}

.pricing-card-badge {
  position: static;
  transform: none;
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-radius: 0;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-plan-card.is-accent .pricing-card-badge {
  background: #b5864a;
}

.pricing-plan-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.pricing-plan-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin: 0 auto 1.5rem;
  min-height: 3.4em;
  max-width: 320px;
  text-align: center;
}

.pricing-card-head {
  padding: 2.2rem 1.7rem 1.8rem;
}

.pricing-card-body {
  padding: 1.8rem 1.7rem 2rem;
  border-top: 1px solid #eeeef4;
}

.pricing-starting,
.pricing-volume-label,
.pricing-card-total-row span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-starting {
  text-align: center;
  margin-bottom: 0.4rem;
}

.pricing-total-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  color: var(--color-text);
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.pricing-total {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-unit {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-left: 0.2rem;
}

.pricing-subline {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  margin: 0.4rem 0 0;
  text-align: center;
}

.pricing-volume-label {
  margin-bottom: 0.9rem;
}

.pricing-volume-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pricing-volume-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: #f8f8f8;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-volume-row.is-best {
  background: #eeeef2;
}

.pricing-volume-row strong {
  font-size: 0.95rem;
}

.pricing-tier-badge {
  border-radius: var(--border-radius-pill);
  padding: 0.18rem 0.48rem;
  background: rgba(181,134,74,0.16);
  color: #9a6b31;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-card-divider {
  height: 1px;
  margin: 1.35rem 0 1.1rem;
  background: #eeeef4;
}

.pricing-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.8rem;
  border-radius: var(--border-radius);
  background: var(--color-bg);
  border: 1px solid #e3e3ed;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
}

.pricing-card-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  margin: 1rem 0 1.5rem;
  border-radius: var(--border-radius);
  background: #f3f3f6;
}

.pricing-card-savings {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.22);
  color: #23863e;
  text-align: center;
}

.pricing-card-savings strong,
.pricing-card-savings span {
  display: block;
}

.pricing-card-savings strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.pricing-savings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  flex-shrink: 0;
}

.pricing-card-savings span {
  margin-top: 0.25rem;
  color: #52b96b;
  font-size: 0.86rem;
  font-weight: 600;
}

.pricing-card-total-row strong {
  font-size: 1.1rem;
  color: var(--color-text);
}

.pricing-card-total-row small {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.pricing-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pricing-qty-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #cfcfdd;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-qty-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.pricing-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pricing-qty-value {
  min-width: 1.4rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
}

.pricing-savings,
.pricing-savings-placeholder {
  min-height: 58px;
  margin-bottom: 1.2rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--border-radius);
  font-size: 0.78rem;
}

.pricing-savings {
  background: var(--color-green-bg);
  border: 1px solid rgba(34,197,94,0.28);
  color: #166534;
  text-align: center;
}

.pricing-savings strong,
.pricing-savings span {
  display: block;
}

.pricing-savings span {
  margin-top: 0.15rem;
  opacity: 0.85;
}

.pricing-savings-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f6;
  border: 1px solid #eeeef4;
  color: var(--color-text-muted);
  text-align: center;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #eeeef4;
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.pricing-card-features li::before {
  content: "✓";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-green-bg);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
}

.pricing-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

.pricing-modal-overlay.is-open {
  display: flex;
}

.pricing-modal-overlay[hidden] {
  display: none;
}

.pricing-modal-box {
  width: min(100%, 460px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: var(--border-radius-lg);
  background: var(--color-surface);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.pricing-modal-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.pricing-modal-body {
  padding: 1.8rem 2rem 2rem;
}

.pricing-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.pricing-modal-header h2 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.pricing-modal-header p {
  font-size: 0.85rem;
}

.pricing-modal-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-modal-close:hover {
  color: var(--color-text);
  background: #ececf4;
}

.pricing-modal-plan-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  background: var(--color-bg);
  border: 1px solid #e3e3ed;
}

.pricing-modal-plan-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.pricing-modal-plan-info {
  min-width: 0;
  flex: 1;
}

.pricing-modal-plan-name {
  font-weight: 800;
  color: var(--color-text);
  font-size: 0.94rem;
}

.pricing-modal-plan-meta {
  margin-top: 0.05rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.pricing-modal-total-col {
  text-align: right;
  flex-shrink: 0;
}

.pricing-modal-total {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.pricing-modal-period {
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.pricing-modal-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.9rem;
  border-radius: var(--border-radius);
  background: rgba(45,38,99,0.04);
  border: 1px solid rgba(45,38,99,0.1);
  font-size: 0.86rem;
  font-weight: 600;
}

.pricing-modal-savings {
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--border-radius);
  background: var(--color-green-bg);
  border: 1px solid rgba(34,197,94,0.28);
  color: #166534;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-modal-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text);
}

.pricing-modal-email {
  width: 100%;
  height: 46px;
  padding: 0 0.9rem;
  border: 1.5px solid #d8d8e4;
  border-radius: var(--border-radius);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  transition: all var(--transition);
}

.pricing-modal-email:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45,38,99,0.08);
}

.pricing-modal-email.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.servino-country-picker {
  position: relative;
}

.servino-country-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-surface);
  cursor: pointer;
  text-align: left;
}

.servino-country-selected::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.servino-country-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 1005;
  display: none;
  padding: 0.55rem;
  border: 1.5px solid #d8d8e4;
  border-radius: var(--border-radius);
  background: var(--color-surface);
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
}

.servino-country-picker.open .servino-country-dropdown {
  display: block;
}

.servino-country-search {
  width: 100%;
  height: 38px;
  padding: 0 0.75rem;
  border: 1px solid #d8d8e4;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.servino-country-search:focus {
  border-color: var(--color-accent);
}

.servino-country-results {
  max-height: 190px;
  margin-top: 0.45rem;
  overflow-y: auto;
}

.servino-country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.45rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}

.servino-country-option:hover {
  background: var(--color-bg);
}

.servino-country-option span {
  min-width: 3rem;
  font-weight: 800;
}

.servino-country-option small {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.servino-country-empty {
  padding: 0.7rem 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.pricing-modal-error {
  min-height: 1.35rem;
  margin-top: 0.25rem;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-modal-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Everything Included */
.features-included-section {
  padding: 3.5rem 0 4rem;
  background: var(--color-surface);
}

.features-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem 2rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid #e8e8f0;
  border-radius: var(--border-radius-lg);
}

.features-included-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  color: var(--color-text);
}

.features-included-grid .feature-item .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-green-bg);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* Trust Bar */
.features-included-section .trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #eeeef4;
  border-bottom: 1px solid #eeeef4;
  flex-wrap: wrap;
}

.features-included-section .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.features-included-section .trust-item .trust-icon { color: var(--color-green); font-size: 1rem; }

/* =========================================================
   SERVINO-S PAGE
   ========================================================= */

/* Features Grid */
.features-grid-section {
  padding: 4rem 0;
  background: var(--color-surface);
}

.features-6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  padding: 30px;
  border: 1px solid #e8e8f0;
  border-radius: 16px;
  background: var(--color-surface);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  background-color: rgba(255, 96, 71, 0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.feature-card .feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
  border: 0;
}

.feature-card .feature-icon svg {
  display: block;
  flex-shrink: 0;
}

.feature-card .feature-icon.icon-quotation { background: #FF9B71; }
.feature-card .feature-icon.icon-invoicing { background: #5570FF; }
.feature-card .feature-icon.icon-expense { background: #FF5570; }
.feature-card .feature-icon.icon-workorder { background: #6A5ACD; }
.feature-card .feature-icon.icon-analytics { background: #FF3A3A; }
.feature-card .feature-icon.icon-secure { background: #5E527F; }

.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* Screenshots Showcase */
.screenshots-section {
  padding: 4rem 0;
  background: var(--color-accent);
  color: #fff;
}

.screenshots-section .section-eyebrow {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.screenshots-section h2 { color: #fff; }
.screenshots-section p { color: rgba(255,255,255,0.7); }

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.screenshot-item {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition);
}

.screenshot-item:hover {
  transform: scale(1.03);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.screenshot-placeholder {
  background: rgba(255,255,255,0.06);
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.screenshot-caption {
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* CTA Section */
.cta-box-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.cta-box {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  border: 1px solid #e8e8f0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cta-box h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.cta-box .cta-subtitle { margin-bottom: 1.5rem; }

.cta-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; }

.cta-list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-list-item .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-green-bg);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
}

.cta-perfect-for h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* --- CTA SECTION ALIGNMENT --- */
.cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically centers the right card with the left text */
  gap: 80px; /* Spacing between the two sections */
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-dark);
}

/* The Grey Box on the Right */
.cta-perfect-card {
  flex: 0 0 400px; /* Exact width for the box */
  background-color: #f8f8f6; /* Light grey from image */
  padding: 40px;
  border-radius: 24px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* List Item Layout */
.cta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.check-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #22c55e; /* Green checkmark */
  border-radius: 50%;
  flex-shrink: 0;
}



/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { color: #fff; margin-bottom: 0.75rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.footer-brand .product-of {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-brand .product-of a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

.footer-brand .footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.6rem;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }

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

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
}

/* =========================================================
   PRIVACY POLICY
   ========================================================= */
.privacy-policy-section {
  background: #f4f7fb;
}

.privacy-policy-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem;
  background: #fff;
  border: 1px solid #d9e2ef;
  box-shadow: 0 18px 48px rgba(19,36,64,0.1);
}

.privacy-policy-content h2 {
  margin: 2.35rem 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #dbe7f5;
  color: #174f92;
  font-size: 1.35rem;
  line-height: 1.35;
}

.privacy-policy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-policy-content h3 {
  margin: 1.55rem 0 0.65rem;
  color: #245f9f;
  font-size: 1.05rem;
  line-height: 1.4;
}

.privacy-policy-content p {
  margin-bottom: 0.85rem;
  color: #202938;
  font-size: 0.96rem;
  line-height: 1.75;
}

.privacy-policy-content .privacy-lead {
  margin-bottom: 1.35rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #174f92;
  background: #eef5fc;
  color: #18314f;
}

.privacy-list {
  margin: 0.2rem 0 1.15rem 1.25rem;
  color: #202938;
}

.privacy-list li {
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
  line-height: 1.65;
}

.privacy-table-wrap {
  width: 100%;
  margin: 1.15rem 0 1.35rem;
  overflow-x: auto;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #c7d3e1;
  background: #fff;
  color: #151c27;
  font-size: 0.9rem;
  line-height: 1.45;
}

.privacy-table th,
.privacy-table td {
  padding: 0.7rem 0.75rem;
  border: 1px solid #c7d3e1;
  text-align: left;
  vertical-align: top;
}

.privacy-table thead th {
  background: #dfeaf6;
  color: #174f92;
  font-weight: 800;
}

.privacy-table tbody tr:nth-child(even) td,
.privacy-table tbody tr:nth-child(even) th {
  background: #e8f0fa;
}

.privacy-table-keyvalue tbody th {
  width: 25%;
  background: #dfeaf6;
  color: #174f92;
  font-weight: 800;
}

.privacy-table-3col th,
.privacy-table-3col td,
.privacy-table-4col th,
.privacy-table-4col td {
  min-width: 180px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .billing-cards { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .pricing-plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .features-6-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3rem 0; }

  .nav-menu, .nav-actions .btn-book { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid #e8e8f0;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .nav-menu.open .nav-item-dropdown {
    width: 100%;
  }

  .nav-menu.open .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-menu.open .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-top: 0.35rem;
  }

  .nav-menu.open .dropdown-inner {
    padding: 0.25rem 0 0.4rem 0.75rem;
  }

  .pricing-calculator-section { padding: 3.5rem 0; }
  .pricing-launch-banner { margin-bottom: 1.5rem; }
  .billing-cards { grid-template-columns: 1fr; max-width: 420px; margin: 2rem auto 0; }
  .features-6-grid { grid-template-columns: 1fr; }
  .features-included-grid { grid-template-columns: 1fr 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-included-section .trust-bar { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .pricing-plan-card { padding: 1.5rem; }
  .pricing-total { font-size: 2.55rem; }
  .pricing-quantity-row { align-items: flex-start; flex-direction: column; }
  .pricing-quantity-controls { width: 100%; justify-content: space-between; }
  .pricing-modal-body { padding: 1.35rem 1.25rem 1.5rem; }
  .pricing-modal-header h2 { font-size: 1.18rem; }
  .pricing-modal-plan-row { align-items: flex-start; }
  .pricing-modal-qty-row { align-items: flex-start; flex-direction: column; }
  #servino-signup-fields [style*="grid-template-columns:110px"] { grid-template-columns: 96px minmax(0,1fr) !important; }
  .features-included-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .privacy-policy-content { padding: 1.5rem; }
  .pricing-table thead th, .pricing-table tbody td { padding: 0.8rem 0.75rem; }
  
}


/* Dropdown Container */
.nav-item-dropdown {
    position: relative;
}

/* Hide menu by default and position it */
/* --- Dropdown Container --- */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

/* Invisible bridge to keep menu open while moving mouse */
.nav-item-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

/* --- The Menu Card --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    /* Soft shadow to match "Expect" image */
    box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
    padding: 10px;
}

/* --- Item Styling (No Icons) --- */
.dropdown-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background: #f8f9fa; /* Very light subtle hover */
}

.text-box {
    display: flex;
    flex-direction: column;
}

.text-box .title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-accent); /* Deep Navy/Purple from your palette */
    line-height: 1.2;
}

.text-box .desc {
    font-size: 0.8rem;
    color: var(--color-text-muted); /* Muted grey from your palette */
    margin-top: 4px;
}

/* --- Footer --- */
.dropdown-footer {
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
    padding: 12px 16px 8px;
}

.dropdown-footer a {
    color: var(--color-primary) !important; /* Servino Orange */
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
}

.dropdown-footer a:hover {
    text-decoration: underline;
}

/* --- Chevron Rotation --- */
.chevron {
    transition: transform 0.2s;
    margin-left: 6px;
    opacity: 0.6;
}

.nav-item-dropdown:hover .chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
    opacity: 1;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS - REFINED SIDE-BY-SIDE
   ═══════════════════════════════════════════ */
.how-it-works-grid {
    display: flex;
    align-items: center; /* Centers phone vertically against text */
    justify-content: space-between;
    gap: 60px;
}

/* --- TEXT STEPS SIDE --- */
.how-steps {
    flex: 1;
}

.how-step { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 28px; 
}

.how-step-num { 
    background: var(--color-primary); 
    color: #fff; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    font-weight: bold; 
    font-size: 1rem;
}

.how-step-body h4 {
    margin-bottom: 6px;
    font-size: 1.1rem;
    color: var(--color-text);
}

.how-step-body p {
    margin: 0;
    font-size: 0.95rem;
}

/* --- PHONE SLIDER SIDE --- */
.how-slider {
    flex: 0 1 380px;
    width: min(100%, 380px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-slider {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1.05;
    overflow: visible;
    margin-bottom: 12px;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,35,0.14);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: #ffffff;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: translateX(28px) scale(0.985);
    transition: opacity 0.55s ease, transform 0.55s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.phone-notch {
    display: none;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15,23,35,0.12);
    backdrop-filter: blur(8px);
    z-index: 4;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    padding: 0;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, width 0.25s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--color-primary);
}

.how-caption {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.screenshots-slider {
    width: min(100%, 520px);
    margin: 2.5rem auto 0;
}

.screenshots-slider .phone-slider {
    max-width: 520px;
    aspect-ratio: 1268 / 1307;
    margin-bottom: 16px;
}

.screenshots-slider .phone-screen {
    border-radius: 24px;
}

.screenshots-slider .slider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshots-slider .slide {
    box-sizing: border-box;
    padding: 0 18px;
    object-fit: contain;
    object-position: center top;
    transform: translateX(18px) scale(0.995);
}

.screenshots-slider .slide.active {
    transform: translateX(0) scale(1);
}

.screenshots-slider .slider-dots {
    bottom: 18px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .how-it-works-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .how-slider {
        width: min(100%, 380px);
        margin: 40px auto 0;
    }
    .phone-slider {
        max-width: none;
    }

    .screenshots-slider {
        width: min(100%, 460px);
    }
}

@media (max-width: 640px) {
    .how-slider {
        width: min(100%, 100%);
        margin-top: 24px;
    }

    .phone-slider {
        aspect-ratio: 1 / 1.02;
    }

    .phone-screen {
        border-radius: 14px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .screenshots-slider {
        width: min(100%, 100%);
        margin-top: 2rem;
    }

    .screenshots-slider .phone-slider {
        aspect-ratio: 1268 / 1307;
    }

    .screenshots-slider .phone-screen {
        border-radius: 18px;
    }

    .screenshots-slider .slide {
        padding: 0 12px;
    }
}
