/* HerFitFuel: Alivea Natural - Sistem Lateral de Vlăstare & Paletă Bej-Închis cu Subsol Violet */
:root {
  /* Darker Beige Background Palette */
  --hff-bg-base: #DDD2C1;
  --hff-bg-deep: #D0C3B0;
  --hff-surface: #FFFFFF;
  --hff-surface-pure: #FFFFFF;
  --hff-surface-warm: #F8F5F0;
  --hff-border: #C8BAA6;
  --hff-border-dark: #B6A590;
  
  /* Primary & Accent Tones */
  --hff-primary: #2B1810;
  --hff-primary-light: #4A3024;
  --hff-terracotta: #A85138;
  --hff-terracotta-hover: #8E3E27;
  
  /* Violet Footer & Highlights */
  --hff-violet-dark: #230B2B;
  --hff-violet-base: #33133E;
  --hff-violet-card: #451D54;
  --hff-violet-light: #EBDCF2;
  --hff-violet-accent: #C78BEA;
  --hff-gold-accent: #E5C278;

  /* Typography & Shadows - Whiter, cleaner, high-contrast */
  --hff-text-main: #1D1510;
  --hff-text-muted: #4A3E36;
  --hff-text-subtle: #6B5D53;
  --hff-shadow-sm: 0 2px 8px rgba(43, 24, 16, 0.08);
  --hff-shadow-md: 0 10px 28px rgba(43, 24, 16, 0.12);
  --hff-shadow-lg: 0 18px 40px rgba(43, 24, 16, 0.16);
  --hff-radius-sm: 8px;
  --hff-radius-md: 16px;
  --hff-radius-lg: 24px;
  --hff-radius-pill: 9999px;
  --hff-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hff-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--hff-font);
  background-color: var(--hff-bg-base);
  color: var(--hff-text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--hff-terracotta);
}

/* Two-Column App Layout (Side Tabs Sidebar + Workspace) */
.hff-layout-wrapper {
  display: flex;
  min-height: calc(100vh - 200px);
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  gap: 2rem;
}

/* Sidebar Navigation (Side Tabs) */
.hff-side-panel {
  width: 290px;
  flex-shrink: 0;
  position: sticky;
  top: 1.5rem;
  height: fit-content;
  max-height: calc(100vh - 3rem);
  background-color: var(--hff-surface);
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--hff-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hff-side-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--hff-border);
}

.hff-side-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}

.hff-side-brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--hff-primary);
  line-height: 1.2;
}

.hff-side-brand-title span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hff-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lateral Tab Links */
.hff-side-nav-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.hff-side-tab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-radius: var(--hff-radius-md);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--hff-text-muted);
  background-color: transparent;
  transition: var(--hff-transition);
  border: 1px solid transparent;
}

.hff-side-tab-item:hover {
  color: var(--hff-primary);
  background-color: var(--hff-surface-warm);
  border-color: var(--hff-border);
}

.hff-side-tab-item.is-active-tab {
  background-color: var(--hff-primary);
  color: #FFFFFF;
  border-color: var(--hff-primary);
  box-shadow: 0 6px 16px rgba(43, 24, 16, 0.25);
}

.hff-tab-tag-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--hff-radius-pill);
  background-color: var(--hff-terracotta);
  color: #FFFFFF;
  font-weight: 800;
}

.hff-side-contact-mini {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hff-border);
  font-size: 0.84rem;
  color: var(--hff-text-subtle);
}

.hff-side-contact-mini strong {
  display: block;
  color: var(--hff-primary);
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

/* Mobile Header Bar */
.hff-mobile-bar {
  display: none;
  background-color: var(--hff-surface);
  border-bottom: 1.5px solid var(--hff-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.25rem;
  box-shadow: var(--hff-shadow-sm);
}

.hff-mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hff-mobile-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--hff-primary);
}

.hff-mobile-offcanvas {
  display: none;
  background-color: var(--hff-surface);
  border-bottom: 2px solid var(--hff-border);
  padding: 1.25rem 1.5rem;
}

.hff-mobile-offcanvas.is-visible {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Main Content Workspace */
.hff-content-workspace {
  flex: 1;
  min-width: 0;
}

/* Content Cards & Sections - Clean Pure White for High Clarity */
.hff-hero-panel {
  background-color: var(--hff-surface);
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--hff-shadow-md);
  margin-bottom: 2.5rem;
}

.hff-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}

.hff-kicker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #F4ECE1;
  color: var(--hff-terracotta);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--hff-radius-pill);
  margin-bottom: 1.25rem;
}

.hff-h1-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--hff-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hff-paragraph-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--hff-text-muted);
  margin-bottom: 1.75rem;
}

.hff-photo-frame {
  border-radius: var(--hff-radius-md);
  overflow: hidden;
  box-shadow: var(--hff-shadow-lg);
  border: 2px solid #FFFFFF;
}

.hff-photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Buttons */
.hff-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--hff-radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--hff-transition);
  text-align: center;
}

.hff-btn-terracotta {
  background-color: var(--hff-terracotta);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(168, 81, 56, 0.35);
}

.hff-btn-terracotta:hover {
  background-color: var(--hff-terracotta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 81, 56, 0.45);
}

.hff-btn-bordered {
  background-color: transparent;
  color: var(--hff-primary);
  border: 2px solid var(--hff-primary);
}

.hff-btn-bordered:hover {
  background-color: var(--hff-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Story Article Box */
.hff-story-sheet {
  background-color: var(--hff-surface);
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--hff-shadow-md);
  margin-bottom: 2.5rem;
}

.hff-story-sheet h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--hff-primary);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.hff-story-sheet p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--hff-text-main);
  margin-bottom: 1.35rem;
}

.hff-quote-banner {
  background-color: #F8F4EE;
  border-left: 5px solid var(--hff-terracotta);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--hff-radius-md) var(--hff-radius-md) 0;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--hff-primary);
  margin: 2rem 0;
}

/* 3-Cards Grid */
.hff-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.hff-feature-box {
  background-color: var(--hff-surface);
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--hff-shadow-sm);
  transition: var(--hff-transition);
}

.hff-feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--hff-border-dark);
  box-shadow: var(--hff-shadow-md);
}

.hff-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: #F4ECE1;
  color: var(--hff-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.hff-feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hff-primary);
  margin-bottom: 0.65rem;
}

.hff-feature-desc {
  font-size: 0.95rem;
  color: var(--hff-text-muted);
  line-height: 1.6;
}

/* Sequential Tab Continuation Banner */
.hff-continuation-banner {
  background: linear-gradient(135deg, var(--hff-primary), var(--hff-primary-light));
  color: #FFFFFF;
  border-radius: var(--hff-radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 3rem;
  box-shadow: var(--hff-shadow-lg);
}

.hff-continuation-banner h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.hff-continuation-banner p {
  font-size: 1.05rem;
  color: #E7D8C8;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

/* ========================================================
   GOOGLE MAPS SATELLITE CARD COMPONENT (Conform Referință)
   ======================================================== */
.gmap-satellite-card {
  background-color: #0c141d;
  border: 1.5px solid #1e2c3a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  margin: 2rem 0;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.gmap-viewport {
  position: relative;
  width: 100%;
  height: 380px;
  background-image: url('../images/google-satellite-brasov.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.gmap-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
}

.gmap-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  color: #1a73e8;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.gmap-open-pill:hover {
  background-color: #f1f3f4;
  color: #174ea6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.gmap-marker-pin {
  position: absolute;
  top: 40.5%;
  left: 44.6%;
  transform: translate(-50%, -100%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.gmap-pin-badge {
  background-color: rgba(20, 20, 20, 0.88);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.25);
}

.gmap-pin-svg {
  width: 36px;
  height: 50px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.65));
}

.gmap-maptype-toggle {
  position: absolute;
  bottom: 24px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 2px solid #FFFFFF;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  background-color: #e5e3df;
  background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%);
  background-size: 8px 8px;
}

.gmap-fullscreen-btn {
  position: absolute;
  bottom: 24px;
  right: 14px;
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: #5f6368;
}

.gmap-watermark {
  position: absolute;
  bottom: 24px;
  left: 68px;
  height: 20px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.9));
}

.gmap-terms-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  padding: 3px 12px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}

.gmap-bottom-info {
  padding: 16px 20px;
  background-color: #0c141d;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gmap-info-address {
  font-size: 0.95rem;
  color: #e8eaed;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gmap-info-link {
  color: #ff9800;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.gmap-info-link:hover {
  color: #ffa726;
  text-decoration: underline;
}

/* Final Offer Tab Styles (comanda.html) */
.hff-offer-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.hff-product-showcase {
  background-color: var(--hff-surface);
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--hff-shadow-md);
}

.hff-price-ribbon {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.25rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--hff-border);
}

.hff-price-digits {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--hff-primary);
}

.hff-price-note {
  font-size: 0.92rem;
  color: var(--hff-text-muted);
}

.hff-itemized-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hff-itemized-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--hff-text-main);
}

.hff-tick-svg {
  width: 20px;
  height: 20px;
  color: var(--hff-terracotta);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Order Form Box */
.hff-form-card {
  background-color: var(--hff-surface);
  border: 2.5px solid var(--hff-terracotta);
  border-radius: var(--hff-radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--hff-shadow-lg);
}

.hff-form-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--hff-primary);
  margin-bottom: 0.5rem;
}

.hff-form-subtitle {
  font-size: 0.92rem;
  color: var(--hff-text-muted);
  margin-bottom: 1.5rem;
}

.hff-field-group {
  margin-bottom: 1.25rem;
}

.hff-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--hff-primary);
  margin-bottom: 0.45rem;
}

.hff-input-text {
  width: 100%;
  padding: 0.88rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--hff-border);
  border-radius: var(--hff-radius-sm);
  background-color: #FFFFFF;
  transition: var(--hff-transition);
  color: var(--hff-text-main);
}

.hff-input-text:focus {
  outline: none;
  border-color: var(--hff-terracotta);
  box-shadow: 0 0 0 3px rgba(168, 81, 56, 0.18);
}

.hff-input-text.is-invalid {
  border-color: #C02E2E;
  background-color: #FFF6F6;
}

.hff-error-line {
  display: none;
  font-size: 0.82rem;
  color: #C02E2E;
  margin-top: 0.35rem;
  font-weight: 600;
}

.hff-error-line.is-visible {
  display: block;
}

.hff-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--hff-text-muted);
  cursor: pointer;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.5;
}

.hff-checkbox-input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--hff-terracotta);
  cursor: pointer;
  flex-shrink: 0;
}

/* ========================================================
   PURPLE FOOTER PANEL (Subsol Violet)
   ======================================================== */
.hff-purple-bottom-bar {
  background-color: var(--hff-violet-dark);
  color: var(--hff-violet-light);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
  border-top: 4px solid var(--hff-violet-accent);
}

.hff-purple-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hff-purple-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.hff-purple-heading {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.hff-purple-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #D3BCD9;
  margin-bottom: 1.25rem;
}

.hff-purple-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hff-gold-accent);
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hff-purple-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hff-purple-links a {
  color: #E2CEE8;
  font-size: 0.92rem;
}

.hff-purple-links a:hover {
  color: var(--hff-gold-accent);
}

.hff-branch-card {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #D3BCD9;
}

.hff-branch-card strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.hff-purple-disclaimer {
  background-color: #1A0720;
  border: 1px solid #3F194E;
  border-radius: var(--hff-radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #BCA3C4;
  margin-bottom: 2.25rem;
}

.hff-purple-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-top: 1px solid #3F194E;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: #A98EB3;
}

.hff-purple-bottom-row a {
  color: #D3BCD9;
}

.hff-purple-bottom-row a:hover {
  color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hff-layout-wrapper {
    flex-direction: column;
    padding: 1rem;
  }

  .hff-side-panel {
    display: none;
  }

  .hff-mobile-bar {
    display: block;
  }

  .hff-purple-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hff-hero-split,
  .hff-offer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hff-grid-cards {
    grid-template-columns: 1fr;
  }

  .hff-h1-title {
    font-size: 1.95rem;
  }

  .hff-hero-panel,
  .hff-story-sheet,
  .hff-product-showcase,
  .hff-form-card {
    padding: 2rem 1.5rem;
  }
}
