:root{
  --bg:#070707;
  --surface:#0d0d0d;
  --surface-2:#121212;
  --text:#f7f7f5;
  --muted:#a3a3a3;
  --line:rgba(255,255,255,.14);
  --red:#f12b2f;
  --container:min(1380px,calc(100vw - 48px));
}

*{
  box-sizing:border-box;
}

html{
  background:var(--bg);
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

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

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

button,
input,
textarea{
  font:inherit;
}

button{
  color:inherit;
}

.container{
  width:var(--container);
  margin:auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:100;
  padding:18px 0;
  background:rgba(7,7,7,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  gap:28px;
}

.brand-logo{
  display:block;
  width:168px;
  height:auto;
  max-height:48px;
  object-fit:contain;
  object-position:left center;
}

.desktop-nav{
  display:flex;
  gap:30px;
  margin-left:auto;
}

.desktop-nav a{
  font-size:14px;
  color:#b5b5b5;
  transition:color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active{
  color:#fff;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
  min-height:48px;
  padding:0 21px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

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

.btn-primary:hover{
  background:#ff3b3f;
}

.btn-light{
  background:#fff;
  color:#111;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding:185px 0 90px;
  border-bottom:1px solid var(--line);
  position:relative;
  overflow:hidden;
}

.hero:after{
  content:attr(data-watermark);
  position:absolute;
  right:-2vw;
  top:74px;
  font-size:min(17vw,240px);
  font-weight:800;
  letter-spacing:-.08em;
  color:rgba(255,255,255,.025);
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .65fr;
  gap:90px;
  align-items:end;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#aaa;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.kicker:before{
  content:"";
  width:28px;
  height:1px;
  background:var(--red);
}

h1{
  font-size:clamp(62px,8vw,116px);
  line-height:.88;
  letter-spacing:-.07em;
  margin:24px 0 0;
}

h1 em{
  font-style:normal;
  color:transparent;
  -webkit-text-stroke:1px rgba(255,255,255,.42);
}

.hero-copy{
  color:#b0b0b0;
  font-size:16px;
  line-height:1.75;
  margin:0;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section{
  padding:90px 0;
}

.section-head{
  display:grid;
  grid-template-columns:1fr .7fr;
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}

.section-head h2{
  font-size:clamp(42px,5vw,72px);
  letter-spacing:-.055em;
  line-height:.96;
  margin:13px 0 0;
}

.section-head p{
  color:#aaa;
  line-height:1.75;
  margin:0;
}


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

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

.about-card{
  padding:28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  min-height:245px;
}

.about-card span{
  color:var(--red);
  font-size:12px;
  font-weight:800;
}

.about-card h3{
  font-size:25px;
  letter-spacing:-.04em;
  margin:42px 0 12px;
}

.about-card p{
  color:#aaa;
  line-height:1.7;
  font-size:14px;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.statement{
  padding:0 0 90px;
}

.statement-box{
  border-radius:34px;
  background:var(--red);
  padding:58px;
  display:grid;
  grid-template-columns:1fr .55fr;
  gap:70px;
  align-items:end;
}

.statement-box h2{
  font-size:clamp(44px,5.8vw,82px);
  letter-spacing:-.065em;
  line-height:.93;
  margin:0;
}

.statement-box p{
  color:rgba(255,255,255,.9);
  line-height:1.7;
  margin:0;
}


/* =========================================================
   CONTACTS
   ========================================================= */

.contacts-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:18px;
}

.contact-panel,
.map-panel{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
}

.contact-panel{
  padding:34px;
}

.contact-panel h2{
  font-size:34px;
  letter-spacing:-.045em;
  margin:12px 0 26px;
}

.contact-list{
  display:grid;
  gap:10px;
}

.contact-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}

.contact-item:last-child{
  border-bottom:0;
}

.contact-item span{
  color:#999;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.contact-item strong{
  font-size:15px;
  text-align:right;
}

.contact-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:28px;
}

.map-panel iframe{
  width:100%;
  height:100%;
  min-height:590px;
  border:0;
}

.address-card{
  margin-top:18px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#101010;
}

.address-card span{
  color:#999;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.address-card strong{
  display:block;
  font-size:18px;
  line-height:1.45;
  margin-top:8px;
}


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

.footer{
  border-top:1px solid var(--line);
  padding:32px 0 42px;
}

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

.footer-logo{
  width:150px;
}

.footer p{
  color:#999;
  font-size:12px;
}


/* =========================================================
   LEAD MODAL
   ========================================================= */

.modal{
  position:fixed;
  inset:0;
  z-index:300;
  display:none;
  place-items:center;
  padding:20px;
}

.modal.open{
  display:grid;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(10px);
}

.modal-card{
  position:relative;
  z-index:2;
  width:min(620px,100%);
  background:#111;
  border:1px solid var(--line);
  border-radius:30px;
  padding:38px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  animation:modalIn .28s ease both;
}

.modal-card h2{
  font-size:34px;
  letter-spacing:-.05em;
  margin:16px 0 12px;
}

.modal-card>p{
  color:#b0b0b0;
  line-height:1.6;
  margin:0 0 26px;
}

.modal-close{
  position:absolute;
  right:18px;
  top:18px;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.modal form{
  display:grid;
  gap:16px;
}

.modal label{
  display:grid;
  gap:8px;
}

.modal label span{
  font-size:11px;
  color:#b0b0b0;
}

.modal input,
.modal textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  background:#0c0c0c;
  color:#fff;
  border-radius:14px;
  padding:14px 16px;
  outline:none;
  resize:vertical;
}

.modal input::placeholder,
.modal textarea::placeholder{
  color:#777;
}

.modal input:focus,
.modal textarea:focus{
  border-color:rgba(241,43,47,.8);
}

.btn-submit{
  width:100%;
  margin-top:4px;
}

.form-note{
  font-size:12px;
  line-height:1.5;
  min-height:18px;
  color:#b0b0b0;
}

.form-note.success{
  color:#d9d9d9;
}

@keyframes modalIn{
  from{
    opacity:0;
    transform:translateY(12px) scale(.98);
  }

  to{
    opacity:1;
    transform:none;
  }
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top{
  position:fixed;
  right:28px;
  bottom:28px;
  z-index:9999;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-width:150px;
  height:58px;
  padding:0 22px;

  border:0;
  border-radius:999px;

  background:var(--red);
  color:#fff;

  font:inherit;
  font-size:14px;
  font-weight:800;

  cursor:pointer;

  box-shadow:
    0 12px 32px rgba(0,0,0,.4),
    0 0 24px rgba(241,43,47,.16);

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:translateY(18px);

  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease,
    background .2s ease;
}

.back-to-top.visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.back-to-top:hover{
  background:#ff3b3f;
  transform:translateY(-2px);
}

.back-to-top-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
}

.back-to-top-text{
  white-space:nowrap;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

  :root{
    --container:min(100% - 32px,850px);
  }

  .desktop-nav{
    display:none;
  }

  .hero-grid,
  .section-head,
  .statement-box,
  .contacts-grid{
    grid-template-columns:1fr;
  }

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

  .map-panel iframe{
    min-height:420px;
  }
}


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

@media(max-width:640px){

  :root{
    --container:calc(100% - 28px);
  }

  .site-header{
    padding:13px 0;
  }

  .header-inner>.btn{
    margin-left:auto;
    min-height:42px;
    padding:0 15px;
  }

  .brand-logo{
    width:132px;
    max-height:40px;
  }

  .hero{
    padding:130px 0 60px;
  }

  h1{
    font-size:58px;
  }

  .section{
    padding:65px 0;
  }

  .statement-box{
    padding:32px 24px;
    border-radius:26px;
  }

  .contact-panel{
    padding:25px 20px;
  }

  .contact-item{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }

  .contact-item strong{
    text-align:left;
  }

  .contact-actions{
    grid-template-columns:1fr;
  }

  .footer-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .modal{
    padding:14px;
  }

  .modal-card{
    padding:30px 20px 22px;
    border-radius:24px;
    max-height:calc(100svh - 28px);
    overflow-y:auto;
  }

  .modal-card h2{
    font-size:29px;
  }

  .modal-card>p{
    font-size:13px;
  }

  .modal-close{
    top:14px;
    right:14px;
  }

  .back-to-top{
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom));

    min-width:0;
    width:56px;
    height:56px;
    padding:0;

    border-radius:50%;
  }

  .back-to-top-text{
    display:none;
  }

  .back-to-top-arrow{
    font-size:26px;
  }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.menu-btn,
.mobile-menu {
  display: none;
}

@media (max-width: 760px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #111;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .menu-btn span {
    width: 17px;
    height: 1px;
    background: #fff;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    z-index: 200;
    padding: 12px;
    background: #111;
    border: 1px solid var(--line);
    border-radius: 20px;
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    padding: 14px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }
}
