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

:root {
  --blue:       #1E6BF1;
  --blue-dark:  #1455C8;
  --blue-light: #EEF4FF;
  --dark:       #0D1117;
  --dark-2:     #1C2333;
  --grey:       #6B7280;
  --grey-light: #F3F4F6;
  --white:      #FFFFFF;
  --accent:     #FF6B35;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --font:       'Inter', system-ui, sans-serif;
  --max-w:      1100px;
  --section-py: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,107,241,.35);
}
.btn--ghost {
  background: transparent;
  color: var(--dark);
  border-color: #D1D5DB;
}
.btn--ghost:hover {
  background: var(--grey-light);
  text-decoration: none;
}
.btn--large { padding: 18px 36px; font-size: 18px; }
.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E7EB;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.logo__icon { font-size: 24px; }
.logo__accent { color: var(--blue); }
.logo__img { height: 48px; width: auto; display: block; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 12px;
  color: var(--grey);
  font-weight: 500;
  border-radius: 8px;
  font-size: 14px;
  transition: color .15s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--dark); text-decoration: none; }
.nav__cta {
  padding: 10px 18px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  font-size: 14px;
  transition: background .15s;
  white-space: nowrap;
  margin-left: 8px;
}
.nav__cta:hover { background: var(--blue-dark); text-decoration: none; }

/* Burger button */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background .15s;
}
.nav__burger:hover { background: var(--grey-light); }
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0D1117 0%, #1C2333 60%, #1E3A6E 100%);
  color: var(--white);
  padding: 80px 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.hero__content { text-align: left; }
.hero__photo {
  position: relative;
}
.hero__photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #FCD34D;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero__badge-link {
  color: #FCD34D;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero__badge-link:hover { color: #fff; }
.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.highlight {
  background: linear-gradient(135deg, #60A5FA, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__sub strong { color: var(--white); }
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__actions .btn--primary {
  font-size: 18px;
  padding: 16px 32px;
}
.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.hero__actions .btn--ghost:hover {
  background: rgba(255,255,255,.1);
}
.hero__trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ===== STATS ===== */
.stats {
  background: var(--dark);
  padding: 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  color: var(--white);
}
.stat:last-child { border-right: none; }
.stat__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__number small { font-size: 20px; opacity: .6; }
.stat__label {
  display: block;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--grey-light); }
.section__header {
  text-align: center;
  margin-bottom: 52px;
}
.section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section__sub {
  font-size: 17px;
  color: var(--grey);
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: all .2s ease;
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}
.service-card--more {
  background: var(--blue-light);
  border-color: var(--blue-light);
}
.service-card--more .service-card__icon {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
}

/* ===== REASONS ===== */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.reason {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.reason__icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.reason h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.reason p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-card__stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 14px;
}
.review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
}
.review-card--highlight {
  background: var(--blue);
  border-color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.review-card--highlight .review-card__rating {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.review-card--highlight .review-card__rating small { font-size: 28px; opacity: .7; }
.review-card--highlight p {
  color: rgba(255,255,255,.9);
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.review-card--highlight .review-card__total {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1E6BF1, #4F46E5);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
}
.cta-section .btn--primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-size: 20px;
}
.cta-section .btn--primary:hover {
  background: var(--grey-light);
  border-color: var(--grey-light);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.contact__item strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--grey);
  margin-bottom: 2px;
}
.contact__item a,
.contact__item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}
.contact__item a:hover { color: var(--blue); }

/* FORM */
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,107,241,.12);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.5);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
}
.footer__social {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.social-link:hover { opacity: .8; transform: translateY(-1px); text-decoration: none; }
.social-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-link--allovoisins { background: transparent; padding: 0; }
.social-link__img { height: 36px; width: auto; display: block; }

.footer__links {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.footer__links a { color: rgba(255,255,255,.5); }
.footer__links a:hover { color: var(--white); }

/* ===== PRICING ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 780px;
  margin: 0 auto 28px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
}
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(30,107,241,.15);
}
.pricing-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.pricing-card__price {
  font-size: 56px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.pricing-card__price span {
  font-size: 28px;
  font-weight: 600;
  color: var(--grey);
}
.pricing-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}
.pricing-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.pricing-card__list li {
  font-size: 15px;
  color: #374151;
}
.pricing__note {
  text-align: center;
  font-size: 15px;
  color: var(--grey);
  font-style: italic;
}

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery__grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery__grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox--open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__photo { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .reasons__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #E5E7EB;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav--open { display: flex; }
  .nav__link {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
  }
  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 14px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  :root { --section-py: 56px; }

  .hero { padding: 60px 0; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 16px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }
  .stat__number { font-size: 28px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 16px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid img { height: 140px; }

  .reasons__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; gap: 20px; }
  .footer__social { justify-content: center; }
  .footer__links { justify-content: center; }
}
