:root{
  --bg:#f7f3f8;
  --surface:#ffffff;
  --surface2:#eef0f4;
  --line:rgba(15,23,42,.12);

  --navy:#0e2f4f;
  --navy2:#163a57;

  --gold:#c7a13b;
  --gold2:#9a7720;

  --redButton:#e63a16;
  --redButton2:#e63a16;

  --olive:#97c63a;
  --olive2:#6f9720;

  --orange:#d6802c;

  --text:#0f172a;
  --muted:#475569;

  --shadow:0 18px 50px rgba(0,0,0,.18);
  --radius:18px;
  --container:1120px;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
}

html,
body{
  background:var(--navy);
}

header,
section{
  position:relative;
  z-index:1;
  background-color:var(--bg);
}

.footer{
  position:relative;
  z-index:1;
}

body,
button,
input,
textarea,
select,
a,
h1,h2,h3,h4,h5,h6,
p,
span,
div,
li{
  font-family:inherit;
}

a{
  color:inherit;
}

img{
  max-width:100%;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 18px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:950;
  border:1px solid rgba(0,0,0,.18);
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  transition:transform .12s ease, filter .12s ease, opacity .12s ease;
}

.btn:hover{
  filter:brightness(1.03);
}

.btn:active{
  transform:translateY(1px);
}

.btn--small{
  padding:9px 12px;
  border-radius:12px;
  font-weight:900;
}

.btn--gold{
  background:linear-gradient(180deg,var(--gold),var(--gold2));
  color:#fff;
}

.btn--orange{
  background:linear-gradient(180deg,var(--orange),var(--orange));
  color:#fff;
}

.btn--olive{
  background:linear-gradient(180deg,var(--olive),var(--olive2));
  color:#fff;
}

.btn--red{
  background:linear-gradient(180deg,var(--redButton),var(--redButton2));
  color:#fff;
}

.btn--primary{
  background:linear-gradient(180deg,var(--olive),var(--olive2));
  color:#10210b;
  border:1px solid rgba(0,0,0,.18);
  box-shadow:0 18px 40px rgba(111,151,32,.25);
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#0b2237;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header::after{
  content:"";
  display:block;
  height:4px;
  background:linear-gradient(90deg,var(--orange),rgba(0,0,0,0));
}

.header__inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:78px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  cursor:pointer;
  flex:0 0 auto;
  min-width:0;
  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
}

.brand img{
  pointer-events:auto;
  -webkit-user-drag:none;
  user-select:none;
}

.brand__logo{
  height:34px;
  width:auto;
  display:block;
}

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

.nav a{
  text-decoration:none;
  font-weight:850;
  color:#fff;
  opacity:.9;
}

.nav a:hover{
  opacity:1;
}

.burger{
  display:none;
  width:44px;
  height:44px;
  padding:0;
  background:transparent;
  border:0;
  cursor:pointer;
  flex:0 0 auto;
}

.burger span{
  display:block;
  width:24px;
  height:3px;
  margin:5px auto;
  border-radius:3px;
  background:#fff;
}

.header__mobile-call{
  display:none;
}

/* Hero */
.hero{
  position:relative;
  min-height:620px;
  overflow:hidden;
}

.hero__viewport{
  position:relative;
  min-height:620px;
}

.hero__track{
  display:flex;
  width:100%;
  height:620px;
  transform:translateX(0);
  transition:transform 700ms ease;
  will-change:transform;
}

.hero__slide{
  position:relative;
  flex:0 0 100%;
  height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.hero__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(12,24,36,.72) 0%, rgba(12,24,36,.48) 55%, rgba(12,24,36,.24) 100%);
}

.hero__content{
  position:relative;
  color:#fff;
  padding:64px 0;
  max-width:760px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  text-align:left;
}

.hero__content h1{
  margin:0;
  font-size:54px;
  line-height:1.05;
  letter-spacing:.01em;
  text-align:left;
}

.hero__content h2{
  margin:10px 0 0;
  font-size:26px;
  font-weight:900;
  opacity:.95;
  text-align:left;
}

.hero__content p{
  margin:14px 0 0;
  font-weight:750;
  opacity:.92;
  max-width:720px;
  font-size:18px;
  line-height:1.6;
  text-align:left;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-start;
  margin-top:22px;
}

.hero__actions .btn{
  min-height:48px;
}

.hero__ghost-btn{
  display:none;
}

.hero__dots{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:5;
}

.hero__dots .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.20);
  cursor:pointer;
}

.hero__dots .dot.is-active{
  background:linear-gradient(180deg,var(--gold),var(--gold2));
  border-color:rgba(0,0,0,.2);
}

/* Sections */
.section{
  position:relative;
  padding:70px 0;
}

.section::before,
.section::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:28px;
  pointer-events:none;
  z-index:0;
}

.section::before{
  top:0;
  background:linear-gradient(180deg, rgba(247,243,248,0), rgba(247,243,248,.55));
  opacity:.55;
}

.section::after{
  bottom:0;
  background:linear-gradient(0deg, rgba(247,243,248,0), rgba(247,243,248,.55));
  opacity:.55;
}

.section + .section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:85%;
  height:3px;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0),
    rgba(15,23,42,.22),
    rgba(0,0,0,0)
  );
}

.section > .container{
  position:relative;
  z-index:1;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:36px;
  font-weight:900;
  color:#0b2237;
  margin:0;
}

.section-title__accent{
  width:80px;
  height:4px;
  margin:18px auto;
  border-radius:999px;
  background:linear-gradient(90deg, var(--orange), rgba(0,0,0,0));
}

.section-title p{
  max-width:700px;
  margin:0 auto;
  font-size:17px;
  color:var(--muted);
  line-height:1.6;
}

/* Services */
.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:22px;
}

.card{
  display:block;
  position:relative;
  background:var(--surface);
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  text-decoration:none;
  box-shadow:var(--shadow);
}

.card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.card--service{
  min-height:240px;
}

.card__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(12,24,36,.18) 0%,
    rgba(12,24,36,.28) 45%,
    rgba(12,24,36,.72) 100%
  );
  z-index:1;
}

.card__body{
  padding:16px;
}

.card__body--overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:18px 20px;
}

.card__body--overlay h3{
  margin:0;
  color:#fff;
  font-size:24px;
  font-weight:900;
  line-height:1.15;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}

/* Team */
.section--team{
  background:linear-gradient(180deg, #f7f3f8 0%, #eef0f4 55%, #f7f3f8 100%);
  padding:90px 0;
}

.section-title--team{
  margin-bottom:46px;
}

.team{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:start;
}

.team__image{
  width:100%;
}

.team__image img{
  width:100%;
  height:100%;
  max-height:520px;
  aspect-ratio:4 / 3.75;
  object-fit:cover;
  object-position:center;
  border-radius:18px;
  box-shadow:var(--shadow);
  display:block;
}

.team__content{
  max-width:560px;
}

.team__title{
  font-size:40px;
  font-weight:700;
  margin:0;
  color:#0f172a;
}

.team__title--logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.logo-text{
  font-family:Arial, Helvetica, sans-serif;
  font-weight:900;
  font-size:40px;
  letter-spacing:-2px;
  color:#0f172a;
  line-height:1;
}

.logo-x{
  color:#E63A16;
  font-weight:900;
}

.team__accent{
  width:80px;
  height:4px;
  background:linear-gradient(180deg, var(--orange), var(--orange));
  margin:18px 0 26px;
  border-radius:999px;
}

.team__lead{
  font-size:18px;
  line-height:1.75;
  color:var(--muted);
  margin-bottom:26px;
}

.team__list{
  list-style:none;
  padding:0;
  margin:0 0 30px;
}

.team__list li{
  position:relative;
  padding-left:24px;
  margin-bottom:14px;
  font-size:18px;
  color:var(--muted);
}

.team__list li::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color:var(--orange);
  font-weight:900;
}

.team__button{
  font-size:16px;
}

/* Testimonials */
.section--testimonials{
  background:linear-gradient(180deg, #f7f3f8 0%, #ffffff 45%, #f7f3f8 100%);
  padding:90px 0;
}

.section-title--testimonials{
  margin-bottom:50px;
}

.section-title--testimonials h2{
  font-size:36px;
  font-weight:900;
  color:#0b2237;
  margin:0;
}

.section-title--testimonials p{
  max-width:720px;
  margin:0 auto;
  font-size:17px;
  line-height:1.7;
  color:var(--muted);
}

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

.t-card{
  margin:0;
  padding:34px 30px 28px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  position:relative;
}

.t-card::before{
  content:"“";
  position:absolute;
  top:16px;
  left:22px;
  font-size:70px;
  line-height:1;
  color:rgba(230,58,22,.10);
  font-weight:900;
}

.t-card blockquote{
  margin:0;
  padding-top:18px;
  font-size:18px;
  line-height:1.75;
  color:rgba(15,23,42,.76);
}

.t-card figcaption{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.t-name{
  font-weight:900;
  font-size:18px;
  color:#0b2237;
}

.t-location{
  font-size:15px;
  color:var(--muted);
}

/* Footer */
.footer{
  background:linear-gradient(180deg, #0b2237, var(--navy));
  color:#e5e7eb;
  padding:60px 0 28px;
}

.footer__top--center{
  text-align:center;
}

.footer__title{
  font-size:32px;
  font-weight:900;
  letter-spacing:.04em;
  margin:0;
  color:#fff;
}

.footer__accent{
  width:70px;
  height:3px;
  margin:12px auto 0;
  background:linear-gradient(180deg, var(--gold), var(--gold2));
  border-radius:999px;
}

.footer__lead{
  margin:22px auto 0;
  max-width:800px;
  font-size:16px;
  line-height:1.6;
  color:rgba(229,231,235,.85);
}

.footer__divider{
  height:1px;
  background:rgba(255,255,255,.15);
  margin:32px 0;
}

.footer__grid--3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
  align-items:start;
}

.footer__col--left{
  text-align:left;
}

.footer__col--center{
  text-align:center;
}

.footer__col--right{
  text-align:right;
}

.footer__heading{
  font-size:18px;
  font-weight:900;
  margin:0 0 14px;
  letter-spacing:.05em;
  color:#fff;
}

.footer__text{
  font-size:15px;
  line-height:1.7;
  color:rgba(229,231,235,.85);
}

.footer__phone{
  color:#cfe3ff;
  text-decoration:none;
  font-weight:700;
}

.footer__phone:hover{
  text-decoration:underline;
}

.footer__emergency{
  margin-top:8px;
  color:var(--olive);
  font-weight:700;
}

.footer__map-wrapper{
  position:relative;
  width:100%;
  max-width:300px;
  margin-left:auto;
}

.footer__map{
  width:100%;
  height:180px;
  border:0;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  display:block;
  background:#10283f;
}

.footer__map-label{
  position:absolute;
  left:14px;
  bottom:12px;
  z-index:2;
  padding:6px 10px;
  font-size:13px;
  font-weight:700;
  color:#fff;
  background:rgba(11,34,55,.85);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
}

.footer__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  margin-top:36px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.15);
  font-size:14px;
  color:rgba(229,231,235,.75);
}

/* Tablet */
@media (max-width:1000px) and (orientation:portrait){
  .brand__logo{
    height:34px;
  }

  .burger{
    display:block;
  }

  .nav .nav__cta{
    display:none !important;
  }

  .nav{
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:18px;
    right:18px;
    background:linear-gradient(180deg,#10283f,#0b2237);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.25);
    padding:14px;
    gap:10px;
    z-index:1200;
  }

  .nav.is-open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }

  .nav a{
    display:block;
    width:100%;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(255,255,255,.03);
    color:#fff;
  }

  .hero,
  .hero__viewport,
  .hero__track,
  .hero__slide{
    min-height:560px;
    height:560px;
  }

  .hero .container{
    padding-left:24px;
    padding-right:24px;
  }

  .hero__content{
    padding:48px 0;
    max-width:560px;
    align-items:flex-start;
    justify-content:flex-start;
    text-align:left;
  }

  .hero__content h1{
    font-size:40px;
  }

  .hero__content h2{
    font-size:22px;
  }

  .hero__content p{
    font-size:16px;
    max-width:500px;
  }

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

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

  .team__content{
    max-width:100%;
  }

  .team__title{
    font-size:34px;
  }

  .team__image img{
    height:360px;
    max-height:none;
    aspect-ratio:auto;
  }

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

  .footer__grid--3{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer__col--left,
  .footer__col--center,
  .footer__col--right{
    text-align:center;
  }

  .footer__map-wrapper{
    margin:0 auto;
  }

  .footer__title{
    font-size:26px;
  }
}

/* Mobile */
@media (max-width:640px) and (orientation:portrait){
  .footer__bottom{
    flex-direction:column-reverse;
    align-items:center;
    text-align:center;
    margin-top:36px;
    padding-top:36px;
    padding-bottom:0;
    gap:0;
  }

  .footer__bottom .btn{
    margin-bottom:36px;
  }

  .footer__bottom div{
    margin:0;
  }

  .header .container{
    padding-left:24px;
    padding-right:24px;
  }

  .header__inner{
    min-height:72px;
    padding:12px 0;
    display:grid;
    grid-template-columns:auto auto 1fr auto;
    align-items:center;
    column-gap:10px;
  }

  .burger{
    display:block;
    order:1;
    margin:0;
    width:44px;
    height:44px;
    justify-self:start;
  }

  .brand{
    order:2;
    margin:0;
    flex:unset;
  }

  .brand__logo{
    height:30px;
    display:block;
  }

  .header__mobile-call{
    display:inline-flex;
    order:4;
    margin:0;
    justify-self:end;
    font-size:13px;
    padding:8px 12px;
    white-space:nowrap;
  }

  .nav__cta{
    display:none;
  }

  .hero,
  .hero__viewport,
  .hero__track,
  .hero__slide{
    min-height:520px;
    height:520px;
  }

  .hero__overlay{
    background:linear-gradient(180deg, rgba(12,24,36,.56) 0%, rgba(12,24,36,.60) 35%, rgba(12,24,36,.74) 100%);
  }

  .hero__content{
    max-width:none;
    align-items:flex-start;
    justify-content:flex-start;
    text-align:left;
  }

  .hero__content{
    width:100vw;
    max-width:none;
    margin-left:calc(50% - 50vw);
    padding-left:24px;
    padding-right:24px;
  }

  .hero__content h1{
    font-size:27px;
    line-height:1.08;
  }

  .hero__content h2{
    font-size:17px;
    line-height:1.35;
  }

  .hero__content p{
    font-size:14px;
    line-height:1.5;
    max-width:100%;
  }

  .hero__actions{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:10px;
    margin-top:18px;
  }

  .hero__actions .btn,
  .team__button{
    padding:9px 12px;
    min-height:auto;
    font-size:13px;
    border-radius:12px;
  }

  .hero__dots{
    bottom:14px;
  }

  .section-title h2,
  .section-title--testimonials h2{
    font-size:28px;
  }

  .section-title p,
  .section-title--testimonials p{
    font-size:16px;
  }

  .card img,
  .card--service{
    height:220px;
    min-height:220px;
  }

  .card__body--overlay h3{
    font-size:20px;
  }

  .team__image img{
    height:280px;
  }

  .team__lead,
  .team__list li{
    font-size:16px;
  }

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

  .t-card{
    padding:28px 22px 24px;
  }

  .t-card blockquote{
    font-size:16px;
  }

  .t-name{
    font-size:17px;
  }
}
