:root{
  --green:#0a9d68;
  --green2:#078154;
  --yellow:#ffd447;
  --red:#e52a32;
  --black:#111;
  --blue:#126fc1;
  --white:#fff;
  --text:#171717
}

*{
  box-sizing:border-box
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff
}

a{
  text-decoration:none
}

.container{
  width:min(1180px,92%);
  margin:auto
}

.header{
  position:sticky;
  top:0;
  z-index:30;
  background:#fff;
  border-bottom:1px solid #eee
}

.header-inner{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}

.brand{
  font-weight:900;
  color:#111;
  font-size:1.15rem
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}

.nav>a{
  color:#222;
  font-weight:700;
  font-size:.9rem
}

.btn{
  display:inline-block;
  padding:14px 20px;
  border-radius:8px;
  font-weight:900;
  border:0;
  cursor:pointer
}

.btn-red{
  background:var(--red);
  color:#fff
}

.admin-button{
  background:#111!important;
  color:#fff!important;
  border:2px solid #111;
  padding:11px 14px;
  border-radius:8px
}

.hero{
  background:var(--green);
  color:#fff;
  padding:70px 0 80px
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center
}

.tag{
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.13em;
  margin-bottom:12px
}

.hero h1{
  font-size:clamp(2.6rem,5vw,5rem);
  line-height:.98;
  margin:0 0 20px
}

.hero h2{
  font-size:clamp(1.3rem,2vw,1.8rem);
  margin:0 0 15px
}

.hero-copy>p{
  font-size:1.1rem;
  line-height:1.6;
  max-width:700px
}

.lead-form{
  position:relative;
  z-index:20;
  margin-top:28px;
  background:#fff;
  color:#222;
  padding:24px;
  border-radius:18px;
  box-shadow:0 20px 60px #0003
}

.lead-form label{
  display:block;
  font-weight:700;
  margin-bottom:14px
}

.lead-form input,
.lead-form select{
  width:100%;
  min-width:0;
  padding:14px;
  margin-top:7px;
  border:1px solid #d5d5d5;
  border-radius:8px;
  font:inherit
}

/* =========================================================
   TELEPHONE / SELECTEUR DE PAYS
   ========================================================= */

.phone-line{
  position:relative;
  display:grid;
  grid-template-columns:150px 1fr;
  gap:8px;
  align-items:stretch;
  overflow:visible
}

.country-picker-wrapper{
  position:relative;
  width:150px;
  min-width:150px;
  z-index:100
}

/* Select original conservé pour la logique JS,
   mais rendu invisible */
.country-select-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  padding:0!important;
  margin:0!important;
  opacity:0!important;
  pointer-events:none!important;
  border:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important
}

/* Bouton fermé */
.country-picker{
  width:100%;
  height:52px;
  min-height:52px;
  margin-top:7px;
  padding:0 14px;
  border:1px solid #d5d5d5;
  border-radius:8px;
  background:#fff;
  color:#222;
  font:inherit;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  box-sizing:border-box;
  text-align:left
}

.country-picker:hover{
  border-color:#aaa
}

.country-picker:focus{
  outline:none;
  border-color:#222;
  box-shadow:0 0 0 2px rgba(0,0,0,.08)
}

/* Indicatif uniquement */
.country-picker-value{
  display:block;
  font-weight:700;
  white-space:nowrap
}

.country-picker-arrow{
  flex:0 0 auto;
  font-size:15px;
  line-height:1;
  margin-left:auto
}

/* Menu déroulant */
.country-dropdown{
  position:absolute;
  top:calc(100% + 3px);
  left:0;
  width:350px;
  max-width:min(350px,80vw);
  background:#fff;
  border:1px solid #d5d5d5;
  border-radius:10px;
  box-shadow:0 12px 35px rgba(0,0,0,.20);
  overflow:hidden;
  z-index:99999
}

/* Barre de recherche */
.country-search-wrapper{
  position:relative;
  padding:10px;
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  z-index:2
}

.country-search{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #d5d5d5!important;
  border-radius:7px!important;
  background:#fff;
  color:#222;
  font:inherit;
  box-sizing:border-box
}

.country-search::placeholder{
  color:#888
}

.country-search:focus{
  outline:none;
  border-color:#222!important;
  box-shadow:0 0 0 2px rgba(0,0,0,.06)
}

/* Liste */
.country-options{
  max-height:310px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain
}

/* Scrollbar */
.country-options::-webkit-scrollbar{
  width:8px
}

.country-options::-webkit-scrollbar-track{
  background:#f3f3f3
}

.country-options::-webkit-scrollbar-thumb{
  background:#aaa;
  border-radius:8px
}

.country-options::-webkit-scrollbar-thumb:hover{
  background:#888
}

/* Ligne d'un pays */
.country-option{
  width:100%;
  min-height:44px;
  margin:0!important;
  padding:10px 14px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff;
  color:#222;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  text-align:left;
  cursor:pointer;
  font:inherit;
  box-sizing:border-box
}

.country-option:hover{
  background:#f2f2f2
}

.country-option:focus{
  outline:none;
  background:#e9e9e9
}

.country-option-name{
  min-width:0;
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:400
}

.country-option-code{
  flex:0 0 auto;
  font-weight:700;
  white-space:nowrap
}

.country-no-result{
  padding:18px;
  text-align:center;
  color:#777;
  font-size:.9rem
}

/* =========================================================
   CHECKBOX / FORMULAIRE
   ========================================================= */

.check{
  display:flex!important;
  gap:8px;
  font-weight:400!important;
  font-size:.9rem
}

.check input{
  width:auto!important;
  margin-top:3px
}

.full{
  width:100%
}

.status{
  min-height:20px;
  margin-top:10px;
  font-size:.9rem
}

/* =========================================================
   VIDEO
   ========================================================= */

.video-area{
  text-align:center
}

.phone{
  position:relative;
  width:min(360px,78vw);
  aspect-ratio:9/18.5;
  background:#111;
  border:11px solid #111;
  border-radius:48px;
  padding:5px;
  margin:auto;
  box-shadow:0 30px 80px #0005;
  overflow:hidden
}

.phone video{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:35px;
  background:#222
}

.speaker{
  position:absolute;
  z-index:4;
  top:7px;
  left:50%;
  transform:translateX(-50%);
  width:32%;
  height:22px;
  background:#111;
  border-radius:0 0 15px 15px
}

.video-area>p{
  font-size:.9rem
}

/* =========================================================
   BANDES
   ========================================================= */

.black-band{
  background:var(--black);
  color:#fff;
  text-align:center;
  padding:24px 15px;
  font-weight:900;
  font-size:clamp(1.3rem,2.5vw,2rem)
}

/* =========================================================
   BENEFITS
   ========================================================= */

.benefits{
  background:var(--blue);
  color:#fff;
  padding:70px 0
}

.benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.benefit-grid article{
  padding:30px;
  border:1px solid #ffffff44;
  background:#ffffff12;
  border-radius:16px
}

.benefit-grid span{
  font-size:2.5rem;
  font-weight:900;
  opacity:.65
}

.benefit-grid h3{
  font-size:1.6rem
}

.benefit-grid li{
  margin:12px 0;
  line-height:1.45
}

/* =========================================================
   TEMOIGNAGES
   ========================================================= */

.yellow{
  background:var(--yellow);
  padding:70px 0
}

.section-title{
  text-align:center
}

.section-title span{
  font-weight:900;
  font-size:.8rem;
  letter-spacing:.12em
}

.section-title h2{
  font-size:clamp(2rem,4vw,3.3rem);
  margin-top:8px
}

.testimonials{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}

.testimonials article{
  background:#fff;
  padding:28px;
  border-radius:16px
}

.avatar{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#111;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  margin-bottom:18px
}

/* =========================================================
   ABOUT
   ========================================================= */

.about{
  padding:80px 0;
  background:#f5f5f5
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center
}

.about-image,
.final-image{
  min-height:350px;
  border-radius:20px;
  background:linear-gradient(135deg,#ddd,#aaa);
  display:grid;
  place-items:center;
  font-weight:900;
  color:#555
}

.about h2,
.final h2{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.05
}

.whatsapp{
  background:#159447;
  color:#fff;
  margin-top:10px
}

/* =========================================================
   FINAL
   ========================================================= */

.final-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  background:#111;
  color:#fff;
  text-align:center;
  padding:30px 15px
}

.footer a{
  display:inline-block;
  margin-top:12px;
  color:#fff;
  font-weight:700;
  opacity:.8
}

.footer a:hover{
  opacity:1
}

/* =========================================================
   MEDIA DYNAMIQUE
   ========================================================= */

.about-image.has-media,
.final-image.has-media{
  overflow:hidden;
  padding:0
}

.about-image.has-media img,
.final-image.has-media img,
.about-image.has-media video,
.final-image.has-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

.about-image.has-media video,
.final-image.has-media video{
  background:#111
}

/* =========================================================
   CAROUSEL TEMOIGNAGES
   ========================================================= */

.testimonial-carousel{
  position:relative;
  max-width:900px;
  margin:0 auto;
  padding:10px 54px 42px
}

.testimonial-viewport{
  overflow:hidden;
  min-height:235px;
  border-radius:18px
}

.testimonial-track{
  display:flex;
  width:100%;
  min-height:235px;
  transition:transform .75s cubic-bezier(.22,.61,.36,1);
  will-change:transform
}

.testimonial-slide{
  flex:0 0 100%;
  width:100%;
  box-sizing:border-box;
  background:#fff;
  border-radius:18px;
  padding:28px 34px;
  min-height:235px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  text-align:left;
  box-shadow:0 8px 24px rgba(0,0,0,.06)
}

.testimonial-person{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 20px
}

.testimonial-person img,
.testimonial-person .avatar{
  width:64px;
  height:64px;
  min-width:64px;
  border-radius:50%;
  object-fit:cover;
  margin:0
}

.testimonial-person .avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111;
  color:#fff;
  font-size:22px;
  font-weight:800
}

.testimonial-person div:last-child{
  display:flex;
  flex-direction:column;
  text-align:left
}

.testimonial-person strong{
  font-size:19px;
  line-height:1.2
}

.testimonial-person span{
  font-size:13px;
  color:#777;
  margin-top:4px
}

.testimonial-slide p{
  font-size:19px;
  line-height:1.5;
  max-width:100%;
  margin:0
}

.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2
}

.carousel-arrow.prev{
  left:3px
}

.carousel-arrow.next{
  right:3px
}

.testimonial-dots{
  position:absolute;
  bottom:7px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:8px
}

.testimonial-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  border:0;
  background:#aaa;
  padding:0;
  cursor:pointer
}

.testimonial-dot.active{
  background:#111;
  transform:scale(1.2)
}

/* =========================================================
   RESPONSIVE TABLETTE
   ========================================================= */

@media(max-width:850px){

  .header-inner{
    align-items:flex-start;
    padding:14px 0
  }

  .nav{
    justify-content:flex-end
  }

  .nav>a:not(.btn):not(.admin-button){
    display:none
  }

  .hero-grid,
  .about-grid,
  .final-grid{
    grid-template-columns:1fr
  }

  .video-area{
    order:-1
  }

  .benefit-grid,
  .testimonials{
    grid-template-columns:1fr
  }

  .phone-line{
    grid-template-columns:125px 1fr
  }

  .country-picker-wrapper{
    width:125px;
    min-width:125px
  }

  .country-dropdown{
    width:320px;
    max-width:calc(100vw - 30px)
  }

  .hero{
    padding:45px 0 55px
  }
}

/* =========================================================
   RESPONSIVE TEMOIGNAGES
   ========================================================= */

@media(max-width:700px){

  .testimonial-carousel{
    padding:10px 38px 40px
  }

  .testimonial-viewport,
  .testimonial-track{
    min-height:230px
  }

  .testimonial-slide{
    padding:24px 22px;
    min-height:230px
  }

  .testimonial-person img,
  .testimonial-person .avatar{
    width:58px;
    height:58px;
    min-width:58px
  }

  .testimonial-slide p{
    font-size:17px
  }

  .carousel-arrow{
    width:36px;
    height:36px;
    font-size:24px
  }

  .carousel-arrow.prev{
    left:0
  }

  .carousel-arrow.next{
    right:0
  }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media(max-width:450px){

  .container{
    width:94%
  }

  .hero h1{
    font-size:2.45rem
  }

  .admin-button{
    font-size:.8rem;
    padding:10px
  }

  .phone-line{
    grid-template-columns:1fr 1.35fr;
    gap:7px
  }

  .country-picker-wrapper{
    width:100%;
    min-width:0
  }

  .country-picker{
    padding:0 12px
  }

  .country-dropdown{
    width:calc(100vw - 36px);
    max-width:none;
    left:0
  }

  .country-options{
    max-height:280px
  }

  .country-option{
    padding:10px 12px!important
  }

  .country-option-name{
    font-size:.94rem
  }

  .country-option-code{
    font-size:.94rem
  }

  .lead-form{
    padding:18px
  }
}

/* =========================================================
   TRES PETITS ECRANS
   ========================================================= */

@media(max-width:350px){

  .phone-line{
    grid-template-columns:1fr
  }

  .country-picker-wrapper{
    width:100%
  }

  .country-dropdown{
    width:calc(100vw - 28px)
  }

}


/* Sélecteur de langue — Ayadine Digital */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: inherit;
}

.language-switcher label {
  color: #555;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#language-selector {
  appearance: none;
  -webkit-appearance: none;
  min-width: 145px;
  max-width: 100%;
  padding: 11px 38px 11px 14px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background-color: #fff;
  color: #171717;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

#language-selector:hover {
  border-color: #e92732;
  background-color: #fffafa;
}

#language-selector:focus-visible {
  border-color: #e92732;
  box-shadow: 0 0 0 3px rgba(233, 39, 50, 0.14);
}

@media (max-width: 768px) {
  .language-switcher {
    gap: 7px;
    width: 100%;
  }

  .language-switcher label {
    font-size: 12px;
  }

  #language-selector {
    flex: 1;
    min-width: 0;
    padding: 10px 32px 10px 11px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .language-switcher {
    flex-wrap: wrap;
  }
}

/* =========================================================
   AYADINE DIGITAL — PUBLIC SITE REDESIGN
   ========================================================= */
:root {
  --green: #087a58;
  --green2: #0d9b70;
  --yellow: #f5c84c;
  --red: #d84a4d;
  --black: #14221c;
  --blue: #153e49;
  --white: #fff;
  --text: #18251f;
  --muted: #65746d;
  --surface: #fff;
  --page: #f6f8f6;
  --line: #e4ebe6;
  --shadow: 0 18px 50px rgba(24, 44, 34, .09);
}

html { scroll-padding-top: 86px; }
body { color: var(--text); background: var(--page); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { width: min(1160px, calc(100% - 48px)); }

.header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(226,234,228,.85); box-shadow: 0 5px 22px rgba(18,39,28,.035); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #1a2b23; font-size: 1rem; letter-spacing: .075em; white-space: nowrap; }
.brand::before { content: attr(data-brand-initial); display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #0da779, #08714f); color: #fff; font-size: 1rem; box-shadow: 0 6px 14px rgba(8,122,88,.2); }
.nav { gap: clamp(10px, 1.8vw, 24px); }
.nav > a { display: inline-flex; align-items: center; min-height: 42px; color: #43534b; font-size: .88rem; font-weight: 650; transition: color .18s ease, background .18s ease, transform .18s ease; }
.nav > a:not(.btn):hover { color: var(--green); }
.nav > a.btn { min-height: 42px; padding: 10px 16px; border-radius: 10px; }
.language-switcher { width: auto; }
#language-selector { min-width: 130px; min-height: 42px; border-color: var(--line); border-radius: 10px; background-color: #fff; }
#language-selector:hover, #language-selector:focus-visible { border-color: var(--green); background-color: #f7fcf9; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 11px; font-size: .94rem; font-weight: 750; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, #e05754, #ca393f); color: #fff; box-shadow: 0 8px 18px rgba(200,55,63,.2); }
.btn-red:hover { background: linear-gradient(135deg, #ce4548, #b82e36); box-shadow: 0 11px 22px rgba(200,55,63,.24); }
.whatsapp { background: #12875b; color: #fff; box-shadow: 0 8px 18px rgba(18,135,91,.18); }
.whatsapp:hover { background: #096d49; }

.hero { position: relative; overflow: hidden; padding: clamp(54px, 7vw, 92px) 0 clamp(62px, 8vw, 104px); background: radial-gradient(ellipse at 78% 30%, rgba(48,177,128,.36), transparent 38%), linear-gradient(125deg, #123e32 0%, #087956 54%, #08694d 100%); color: #fff; }
.hero::before, .hero::after { position: absolute; z-index: 0; content: ""; pointer-events: none; }
.hero::before { width: 460px; height: 460px; top: -280px; right: 5%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.02); }
.hero::after { width: 270px; height: 270px; bottom: -220px; left: 30%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(34px, 6vw, 80px); align-items: center; }
.hero-copy { min-width: 0; }
.hero .tag { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #c1f2da; font-size: .73rem; letter-spacing: .18em; }
.hero .tag::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: #a2e6bf; }
.hero h1 { max-width: 720px; margin: 0 0 17px; font-size: clamp(2.55rem, 5.2vw, 4.65rem); font-weight: 780; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.hero h2 { margin: 0 0 12px; color: #d8f4e5; font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.35; }
.hero-copy > p { max-width: 600px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.03rem; line-height: 1.72; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 27px; padding: 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; background: #fff; color: var(--text); box-shadow: 0 22px 58px rgba(3,30,20,.24); }
.lead-form > label:nth-of-type(3), .lead-form > .check, .lead-form > button, .lead-form > .status { grid-column: 1 / -1; }
.lead-form label { margin: 0 0 12px; color: #36463e; font-size: .81rem; font-weight: 700; }
.lead-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; margin-top: 6px; padding: 11px 12px; border: 1px solid #dce5df; border-radius: 9px; background: #fbfcfb; color: var(--text); font: inherit; font-size: .9rem; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.lead-form input:not([type="checkbox"]):focus { outline: 0; border-color: var(--green2); background: #fff; box-shadow: 0 0 0 3px rgba(13,155,112,.11); }
.lead-form input::placeholder { color: #98a49d; }
.lead-form .phone-line { grid-template-columns: 128px minmax(0,1fr); gap: 8px; }
.lead-form .country-picker-wrapper { width: 128px; min-width: 128px; }
.lead-form .country-picker { height: 46px; min-height: 46px; margin-top: 6px; border-color: #dce5df; border-radius: 9px; font-size: .89rem; }
.lead-form .country-picker:hover, .lead-form .country-picker:focus { border-color: var(--green2); box-shadow: 0 0 0 3px rgba(13,155,112,.1); }
.lead-form .country-search { margin: 0 !important; }
.lead-form .check { display: flex; align-items: flex-start; gap: 9px; margin: 1px 0 15px; color: #64726b; font-size: .78rem; font-weight: 500; line-height: 1.45; }
.lead-form .check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--green); }
.lead-form .btn { width: 100%; min-height: 48px; }
.status { color: #8d3437; font-weight: 600; }

.video-area { min-width: 0; text-align: center; }
.phone { width: min(340px, 82vw); border: 9px solid #17241e; border-radius: 39px; padding: 5px; background: #17241e; box-shadow: 0 28px 80px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.16); }
.phone video { border-radius: 29px; object-fit: cover; }
.speaker { top: 5px; height: 19px; border-radius: 0 0 13px 13px; }
.video-area > p { max-width: 340px; margin: 17px auto 0; color: rgba(255,255,255,.76); font-size: .86rem; }

.black-band { position: relative; z-index: 1; padding: 20px 18px; background: #14221c; color: #f3faf6; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: -.015em; }
.benefits { padding: clamp(56px, 7vw, 86px) 0; background: #f5f8f6; color: var(--text); }
.benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.benefit-grid article { position: relative; overflow: hidden; min-width: 0; padding: 28px 27px 26px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(24,44,34,.045); transition: transform .2s ease, box-shadow .2s ease; }
.benefit-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-grid span { display: inline-grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: #e8f6ef; color: var(--green); font-size: 1rem; letter-spacing: -.04em; opacity: 1; }
.benefit-grid h3 { margin: 19px 0 10px; color: #1b2a23; font-size: 1.25rem; letter-spacing: -.025em; }
.benefit-grid ul { margin: 0; padding-left: 19px; color: #66756d; }
.benefit-grid li { margin: 8px 0; padding-left: 2px; line-height: 1.5; }
.benefit-grid li::marker { color: var(--green2); }

.yellow { padding: clamp(58px, 7vw, 90px) 0; background: linear-gradient(180deg, #fffdf6, #f9f7ef); }
.section-title { max-width: 760px; margin: 0 auto 25px; text-align: center; }
.section-title span { color: var(--green); font-size: .72rem; letter-spacing: .18em; }
.section-title h2 { margin: 8px 0 0; color: #1a2922; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.testimonial-carousel { max-width: 920px; padding: 14px 58px 48px; }
.testimonial-viewport { min-height: 245px; border: 1px solid #eee9d9; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.testimonial-track { min-height: 245px; }
.testimonial-slide { min-height: 245px; padding: clamp(24px, 4vw, 38px); border-radius: 20px; background: #fff; box-shadow: none; }
.testimonial-person { margin-bottom: 18px; }
.testimonial-person img, .testimonial-person .avatar { border: 3px solid #eaf4ee; }
.testimonial-person strong { color: #26372e; font-size: 1.02rem; }
.testimonial-person span { color: var(--muted); }
.testimonial-slide p { color: #526159; font-size: clamp(1rem, 2vw, 1.13rem); line-height: 1.7; }
.carousel-arrow { width: 40px; height: 40px; background: #fff; color: #304239; font-size: 25px; box-shadow: 0 5px 15px rgba(24,44,34,.12); }
.carousel-arrow:hover { background: var(--green); color: #fff; }
.testimonial-dot { background: #cad4ce; }
.testimonial-dot.active { background: var(--green); }

.about { padding: clamp(58px, 8vw, 100px) 0; background: #fff; }
.about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 76px); }
.about-image, .final-image { min-height: clamp(260px, 36vw, 430px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 25% 25%, #d7eee1, transparent 46%), linear-gradient(135deg, #e8f1eb, #cddbd2); color: #527061; box-shadow: var(--shadow); }
.about .tag, .final .tag { color: var(--green); font-size: .73rem; letter-spacing: .17em; }
.about h2, .final h2 { margin: 8px 0 16px; color: #192820; font-weight: 760; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
.about p, .final p { max-width: 570px; color: #64736b; font-size: 1.02rem; line-height: 1.75; }
.whatsapp { margin-top: 8px; }

.final { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 20%, rgba(255,255,255,.16), transparent 32%), linear-gradient(120deg, #eaf5ed 0%, #f8f5e8 100%); }
.final-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 72px); }
.final .btn { margin-top: 9px; }
.final-image { min-height: 330px; }
.footer { padding: 27px 18px; background: #13211b; color: #c5d2ca; font-size: .84rem; }

@media (max-width: 1000px) {
  .container { width: min(100% - 40px, 900px); }
  .header-inner { min-height: 70px; }
  .nav { gap: 12px; }
  .nav > a { font-size: .82rem; }
  #language-selector { min-width: 115px; }
  .hero-grid { gap: 34px; }
  .lead-form { padding: 18px; }
}

@media (max-width: 850px) {
  .header-inner { align-items: center; flex-wrap: wrap; padding: 12px 0; }
  .nav { justify-content: flex-end; flex: 1 1 100%; gap: 8px 16px; }
  .nav > a:not(.btn):not(.admin-button) { display: inline-flex; }
  .hero { padding: 52px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy { max-width: 680px; margin: auto; }
  .hero h1 { max-width: 650px; }
  .video-area { order: initial; }
  .phone { width: min(320px, 75vw); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid article:last-child { grid-column: 1 / -1; }
  .about-grid, .final-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-image, .final-image { min-height: 300px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 34px); }
  .header-inner { gap: 10px; }
  .brand { font-size: .88rem; }
  .brand::before { width: 31px; height: 31px; }
  .nav { justify-content: flex-start; gap: 7px; }
  .nav > a { min-height: 38px; font-size: .78rem; }
  .nav > a.btn { min-height: 38px; padding: 9px 12px; }
  .language-switcher { width: auto; margin-left: auto; }
  #language-selector { min-width: 112px; min-height: 38px; padding: 8px 30px 8px 10px; font-size: .77rem; }
  .hero { padding: 43px 0 50px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.3rem); line-height: 1.02; }
  .hero h2 { font-size: 1.2rem; }
  .hero-copy > p { font-size: .94rem; }
  .lead-form { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 22px; padding: 17px; border-radius: 14px; }
  .lead-form > label, .lead-form > label:nth-of-type(3), .lead-form > .check, .lead-form > button, .lead-form > .status { grid-column: 1; }
  .lead-form .phone-line { grid-template-columns: 115px minmax(0, 1fr); }
  .lead-form .country-picker-wrapper { width: 115px; min-width: 115px; }
  .phone { width: min(285px, 78vw); border-width: 8px; border-radius: 34px; }
  .phone video { border-radius: 25px; }
  .black-band { padding: 17px 16px; }
  .benefits, .yellow, .about { padding: 52px 0; }
  .benefit-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .benefit-grid article, .benefit-grid article:last-child { grid-column: auto; padding: 23px; }
  .benefit-grid h3 { margin-top: 14px; }
  .section-title { margin-bottom: 20px; }
  .testimonial-carousel { padding: 10px 32px 42px; }
  .testimonial-viewport, .testimonial-track, .testimonial-slide { min-height: 270px; }
  .testimonial-slide { padding: 23px 19px; }
  .testimonial-person { gap: 11px; margin-bottom: 14px; }
  .testimonial-person img, .testimonial-person .avatar { width: 52px; height: 52px; min-width: 52px; }
  .testimonial-slide p { font-size: .97rem; }
  .carousel-arrow { width: 34px; height: 34px; font-size: 22px; }
  .about-image, .final-image { min-height: 240px; border-radius: 16px; }
  .about h2, .final h2 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .about p, .final p { font-size: .95rem; }
  .footer { padding: 23px 14px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 26px); }
  .header-inner { align-items: flex-start; }
  .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nav > a, .nav > a.btn { justify-content: center; }
  .language-switcher { grid-column: 1 / -1; justify-self: stretch; margin: 0; }
  #language-selector { width: 100%; }
  .lead-form .phone-line { grid-template-columns: 105px minmax(0, 1fr); gap: 6px; }
  .lead-form .country-picker-wrapper { width: 105px; min-width: 105px; }
  .testimonial-carousel { padding-right: 27px; padding-left: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
