/* ================================================================
   VARIABLES & RESET
================================================================ */
:root {
  --yellow: #FFC107;
  --yellow-dark: #D9A200;
  --navy: #1A4775;
  --navy-light: #122952;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ================================================================
   UTILITIES
================================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

.section-title.left {
  text-align: left;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
}

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

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

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

.btn-white:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.88);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
  border-radius: var(--radius);
}

.btn-submit {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--radius);
  margin-top: 8px;
}

.btn-submit span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}

/* ================================================================
   LOGO IMAGE
================================================================ */
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: opacity var(--transition);
}

.header-phone:hover {
  opacity: 0.7;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, 0.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 600px;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

/* ================================================================
   CE OFERIM
================================================================ */
.ce-oferim {
  padding: 80px 0;
  background: var(--white);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img,
.card-image .img-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11, 32, 67, 0.88);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.card-badge svg {
  width: 13px;
  height: 13px;
}

.card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.card-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ================================================================
   FEATURES STRIP
================================================================ */
.features-strip {
  background: #1A4775;
  padding: 60px 0;
}

.features-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--navy);
}

.feature-icon img {
  width: 28px;
  height: 28px;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.feature-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ================================================================
   DESPRE NOI
================================================================ */
.despre-noi {
  padding: 90px 0;
  background: var(--bg-light);
}

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

.despre-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.despre-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.despre-image img,
.despre-image .img-placeholder {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ================================================================
   CTA BANNER
================================================================ */
.cta-banner {
  background: var(--navy);
  padding: 50px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inner h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  max-width: 500px;
  line-height: 1.3;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ================================================================
   CONTACT SECTION
================================================================ */
.contact-section {
  background: var(--navy);
  padding: 0 0 40px;
}

.contact-inner {
  max-width: 640px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 40px 44px;
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Form layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.half {
  grid-template-columns: 1fr;
  max-width: 50%;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  margin-bottom: 16px;
}

label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

label .required {
  color: #e53935;
  margin-left: 2px;
}

.input-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1) !important;
}

.field-error-msg {
  font-size: 11.5px;
  color: #e53935;
  margin-top: 3px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #9CA3AF;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 32, 67, 0.08);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

/* Phone field */
.phone-field {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-field:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 32, 67, 0.08);
}

.phone-prefix {
  border: none !important;
  border-right: 1.5px solid var(--border) !important;
  border-radius: 0 !important;
  width: 80px;
  flex-shrink: 0;
  padding: 10px 6px 10px 10px;
  background-color: var(--bg-light);
  box-shadow: none !important;
  font-size: 13px;
}

.phone-field input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  box-shadow: none !important;
}

/* Custom select dropdown (Produsul dorit) */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 32, 67, 0.08);
}

.custom-select-trigger .placeholder {
  color: #9CA3AF;
}

.custom-select-trigger .chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #6B7280;
  transition: transform var(--transition);
}

.custom-select.open .chevron {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  overflow: hidden;
}

.custom-select.open .custom-select-dropdown {
  display: block;
}

.custom-select-option {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.custom-select-option:hover {
  background: var(--bg-light);
}

.custom-select-option.active {
  background: rgba(11, 32, 67, 0.05);
  font-weight: 600;
}

.opt-icon {
  display: flex;
  align-items: center;
  color: var(--navy);
}

.opt-icon svg {
  width: 18px;
  height: 18px;
}

/* Add product button */
.btn-add-product {
  width: 100%;
  padding: 13px 20px;
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  transition: background var(--transition);
}

.btn-add-product:hover {
  background: var(--navy-light);
}

.btn-add-icon {
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-add-icon svg {
  width: 14px;
  height: 14px;
  color: var(--navy);
}

/* Product item */
.product-item {
  position: relative;
}

.product-item--extra {
  border-top: 1.5px dashed var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

.product-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-item-number {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}

.btn-remove-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #fee2e2;
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: #e53935;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-remove-item:hover {
  background: #fecaca;
}

.btn-remove-item svg {
  width: 13px;
  height: 13px;
}

/* Conditional fields */
.conditional-fields {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 4px;
  margin-bottom: 16px;
  background: var(--bg-light);
}

.conditional-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.conditional-fields .form-row {
  margin-bottom: 16px;
}

/* GDPR consent row */
.gdpr-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
}

.gdpr-row input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
}

.gdpr-row label {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1.5;
}

.gdpr-row label a {
  color: var(--navy);
  text-decoration: underline;
}

.gdpr-row label a:hover {
  opacity: 0.75;
}

.gdpr-row.input-error label {
  color: var(--error);
}

/* Honeypot — hidden from real users, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Success state */
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  gap: 14px;
}

.success-message svg {
  width: 56px;
  height: 56px;
  color: #22c55e;
}

.success-message h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.success-message p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(11, 32, 67, 0.12);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-contact {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--navy);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--navy-light);
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 768px) {
  .header-phone span,
  .header-phone {
    font-size: 13px;
  }

  .header-right {
    gap: 12px;
  }

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

  .features-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .despre-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-inner h3 {
    max-width: 100%;
  }

  .contact-card {
    padding: 28px 20px 32px;
  }

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

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

  .form-row.half {
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .header-right {
    gap: 10px;
  }

  .header-phone {
    gap: 5px;
    font-size: 0;
  }

  .header-phone svg {
    width: 18px;
    height: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
}
