/* =========================================================
   Marius Boulenger Box — theme.css
   Fonts: Syne (headings) + Satoshi (body)
   Palette: #0a0a0a, #E53935 red, #ffffff
   ========================================================= */

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');

:root {
  --black:        #0a0a0a;
  --black-light:  #111111;
  --black-surface:#171717;
  --black-card:   #1c1c1c;
  --red:          #E53935;
  --red-dark:     #c62828;
  --red-glow:     rgba(229, 57, 53, 0.18);
  --red-subtle:   rgba(229, 57, 53, 0.08);
  --white:        #ffffff;
  --white-muted:  #b8b8b8;
  --white-dim:    #707070;
  --border:       rgba(255,255,255,0.07);
  --border-red:   rgba(229, 57, 53, 0.35);
  --radius:       14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

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

/* ---- FADE-IN ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229,57,53,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-2px);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.04em;
}
.nav-logo .logo-icon { color: var(--red); display: flex; }
.nav-logo .logo-accent { color: var(--red); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-contact:hover { color: var(--red); }

.nav-cta {
  padding: 0.55rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 5px;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--red-dark); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.65) 0%, rgba(10,10,10,0.82) 60%, var(--black) 100%),
    url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1600&q=80&fit=crop') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, var(--red-glow) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border-red);
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-subtle);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229,57,53,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 5px transparent; }
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  position: relative;
}
.hero h1 .highlight { color: var(--red); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white-dim);
}
.hero-meta a { color: var(--white-muted); transition: color 0.2s; }
.hero-meta a:hover { color: var(--red); }
.hero-meta .sep { opacity: 0.4; }

.hero-stats {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: 'Syne', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .number .red { color: var(--red); }
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--white-dim);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ---- SECTION SHARED ---- */
section { padding: 6rem 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--white-muted);
  max-width: 580px;
  margin-bottom: 3.5rem;
  line-height: 1.65;
}

/* ---- ADVANTAGES ---- */
.advantages {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.adv-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--black-surface);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.adv-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.adv-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-subtle);
  border: 1px solid var(--border-red);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--red);
}
.adv-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.adv-card p  { font-size: 0.88rem; color: var(--white-dim); line-height: 1.55; }

/* ---- BOXES ---- */
.boxes { background: var(--black); }
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.box-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.5rem;
  background: var(--black-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.box-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.box-card.featured {
  border-color: rgba(229,57,53,0.4);
}
.box-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff7043);
}
.box-promo {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.box-size {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.box-size .unit { font-size: 1.4rem; color: var(--white-dim); }
.box-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.box-desc { font-size: 0.9rem; color: var(--white-muted); line-height: 1.55; flex: 1; }
.box-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--border-red);
  border-radius: 5px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  align-self: flex-start;
}
.box-cta:hover { background: var(--red); color: var(--white); }

/* ---- LOCATIONS ---- */
.locations {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.loc-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--black-surface);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.loc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.loc-card:hover { border-color: var(--border-red); transform: translateY(-3px); }
.loc-card:hover::after { opacity: 1; }
.loc-pin {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-subtle);
  border: 1px solid var(--border-red);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--red);
}
.loc-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.loc-card p  { font-size: 0.9rem; color: var(--white-dim); line-height: 1.6; }

/* ---- PRO ---- */
.pro { background: var(--black); position: relative; }
.pro-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.pro-text .section-title { margin-bottom: 1rem; }
.pro-text p {
  font-size: 1.05rem;
  color: var(--white-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.pro-list { list-style: none; margin-bottom: 2rem; }
.pro-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--white-muted);
}
.pro-list li .check { color: var(--red); font-weight: 700; font-size: 1rem; }

.pro-visual { display: flex; flex-direction: column; gap: 1rem; }
.pro-stat-card {
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--black-card);
  transition: border-color 0.3s;
}
.pro-stat-card:hover { border-color: var(--border-red); }
.pro-stat-card .big {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.pro-stat-card .desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.test-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--black-surface);
  transition: border-color 0.3s, transform 0.3s;
}
.test-card:hover { border-color: var(--border-red); transform: translateY(-2px); }
.test-stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.test-quote {
  font-size: 0.95rem;
  color: var(--white-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.test-author { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--white); }
.test-role   { font-size: 0.8rem; color: var(--white-dim); margin-top: 0.2rem; }

/* ---- CONTACT ---- */
.contact {
  background: var(--black);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-red), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  font-size: 1.05rem;
  color: var(--white-muted);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-subtle);
  border: 1px solid var(--border-red);
  border-radius: 8px;
  color: var(--red);
  flex-shrink: 0;
}
.detail-label { font-size: 0.75rem; color: var(--white-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.detail-value { font-size: 1rem; font-weight: 600; color: var(--white); transition: color 0.2s; }
a.detail-value:hover { color: var(--red); }

/* FORM */
.contact-form-wrap {
  background: var(--black-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-dim);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2.5' 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 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--black-card); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(229,57,53,0.35);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.success-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.form-success p  { font-size: 1rem; color: var(--white-muted); }

/* ---- FOOTER ---- */
.footer {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.footer-brand .footer-logo .red { color: var(--red); }
.footer-brand p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.65; }
.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white-dim);
  margin-bottom: 1rem;
}
.footer-col p,
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--white-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pro-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0.85rem 1.25rem; }
  .nav-logo { font-size: 0.9rem; }
  .nav-cta { display: none; }
  section { padding: 4rem 1.25rem; }
  .hero { padding: 6rem 1.25rem 3rem; min-height: auto; }
  .hero-stats { gap: 2rem; margin-top: 3rem; }
  .hero-stat .number { font-size: 2rem; }
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .closing { padding: 5rem 1.25rem; }
  .contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .box-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-meta { flex-direction: column; gap: 0.35rem; }
  .hero-meta .sep { display: none; }
}
