/* Custom styles moved from index.html */

body{
  font-family:'Poppins', sans-serif;
  background:#f7f7f7;
  color:#0b0b2d;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
}

.container{
  width:100%;
  max-width:min(1680px, 94vw);
  margin:auto;
  padding:20px 25px;
  position:relative;
  z-index:2;
}

/* TOPO */
.hero{
  position:relative;
  padding-bottom:60px;
}
.circle-bg{
  position:absolute;
  left: 300px;
  width: 100%;
  z-index:0;
}
.hero-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  position:relative;
  z-index:2;
}
.left{
  flex:1;
  max-width:520px;
}
.logo{
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:40px;
  margin-bottom:80px;
}
.logo-img{
  width:100%;
  max-width:260px;
  height:auto;
  display:block;
}
.footer-logo-img{
  max-width:220px;
}
.logo-box{
  width:58px;
  height:58px;
  background:#ff1010;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  font-weight:800;
  color:#fff;
  border:4px solid #111;
  box-shadow:0 0 0 3px #ff1010;
}
.logo-text{
  font-size:28px;
  font-weight:700;
  line-height:1.1;
}
.title{
  font-size:clamp(38px, 4vw, 48px);
  line-height:1.2;
  font-weight: bold;
  margin-bottom:30px;
}
.title span{
  color:#ff1010;
  display:block;
}
.description{
  font-size:clamp(17px, 1.7vw, 20px);
  line-height:1.6;
  color:#2d2d45;
  margin-bottom:clamp(80px, 14vw, 150px);
}
.description strong{
  color:#ff1010;
}
.launch{
  display:flex;
  align-items:center;
  gap:20px;
}
.launch-icon{
  width:90px;
  height:90px;
  border-radius:50%;
  background:#ff1010;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:40px;
  box-shadow:0 10px 30px rgba(255,0,0,0.25);
}
.launch small{
  display:block;
  font-size:clamp(18px, 2vw, 28px);
  font-weight:700;
  color:#11163b;
}
.launch h2{
  font-size:clamp(30px, 4vw, 48px);
  color:#ff1010;
  font-weight:800;
}
.mobile-hero-art{
  display:none;
}
/* NOTEBOOK */
.right{
  flex:1;
  position:relative;
  display:flex;
  justify-content:center;
}
.laptop{
  width:100%;
  max-width:580px;
  position:relative;
  z-index:2;
}
.screen{
  background:linear-gradient(180deg,#020a55 0%, #02033b 100%);
  border-radius:22px 22px 10px 10px;
  padding:0;
  border:10px solid #333;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
  text-align:center;
  position:relative;
  overflow:hidden;
  min-height:340px;
}
.screen::after{
  content:"";
  position:absolute;
  width:330px;
  height:220px;
  right:-70px;
  top:20px;
  background-image:radial-gradient(rgba(0,85,255,0.65) 1.6px, transparent 1.6px);
  background-size:14px 14px;
  opacity:0.35;
}
.screen-inner{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  min-height:340px;
  padding:56px 36px 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.triangle{
  width:96px;
  height:86px;
  border:4px solid #ff1010;
  border-radius:18px;
  clip-path:polygon(50% 0%, 2% 98%, 98% 98%);
  margin-bottom:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ff1010;
  font-size:34px;
  font-weight:700;
  line-height:1;
  padding-top:16px;
}
.screen h3{
  color:#fff;
  font-size:48px;
  margin-bottom:8px;
  letter-spacing:0.5px;
}
.screen p{
  opacity:0.9;
  font-size:16px;
  line-height:1.5;
  max-width:360px;
  color:#fff;
}
.screen-mark{
  width:72px;
  height:5px;
  border-radius:999px;
  background:#ff1010;
  margin-top:22px;
}
.screen-waves{
  position:absolute;
  left:-30px;
  right:-30px;
  bottom:-20px;
  height:130px;
  background:
    radial-gradient(120% 95% at 15% 100%, transparent 57%, rgba(255,16,16,0.9) 58%, transparent 59%),
    radial-gradient(120% 95% at 70% 100%, transparent 60%, rgba(255,16,16,0.6) 61%, transparent 62%),
    radial-gradient(140% 100% at 45% 100%, transparent 62%, rgba(255,16,16,0.35) 63%, transparent 64%);
  opacity:0.95;
}
.base{
  width:110%;
  height:18px;
  background:linear-gradient(to right,#d7d7d7,#8f8f8f,#d7d7d7);
  margin-left:-5%;
  border-radius:0 0 20px 20px;
}
/* FEATURES */
.features{
  overflow:hidden;
  background:linear-gradient(180deg,#f8f8fa 0%, #f1f2f5 100%);
  text-align:center;
}
.features .container{
  z-index:1;
}
.features h2{
  font-size:clamp(32px, 3.3vw, 42px);
  margin-bottom:8px;
  font-weight:700;
  letter-spacing:0.5px;
}
.divider{
  width:66px;
  height:3px;
  background:#ff1010;
  margin:16px auto 48px;
  border-radius:20px;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  align-items:stretch;
}
.card{
  background:transparent;
  padding:8px 36px;
  border-radius:0;
  box-shadow:none;
  border:none;
  border-right:1px solid #d7dbe4;
}
.card:last-child{
  border-right:none;
}
.card-icon{
  margin:0 auto 18px;
  line-height:1;
}
.card-icon i{
  font-size:60px;
  color:#e01010;
}
.card h3{
  font-size:clamp(26px, 2.4vw, 31px);
  margin-bottom:10px;
  font-weight:700;
}
.card p{
  color:#212846;
  line-height:1.55;
  font-size:clamp(17px, 1.35vw, 18px);
  max-width:350px;
  margin:0 auto;
}
/* NEWSLETTER */
.newsletter{
  background:#02033b;
  padding:clamp(24px, 3vw, 40px);
  border-radius:25px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:clamp(20px, 3vw, 40px);
  margin:40px 0 80px;
}
.newsletter-left{
  display:flex;
  align-items:center;
  gap:25px;
  color:#fff;
}
.newsletter-icon{
  width:90px;
  height:90px;
  flex:0 0 90px;
  aspect-ratio:1 / 1;
  box-sizing:border-box;
  border:3px solid #ff1010;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:40px;
  color:#fff;
}
.newsletter h2{
  font-size:30px;
  line-height:1.1;
}
.newsletter h2 span{
  color:#ff1010;
}
.newsletter p{
  opacity:0.8;
  margin-top:10px;
  font-size:18px;
}
.newsletter-form{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:15px;
  width:100%;
}
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.newsletter input{
  height:50px;
  border:none;
  border-radius:10px;
  padding:0 20px;
  font-size:18px;
}
.newsletter button{
  height:50px;
  border:none;
  border-radius:10px;
  background:#ff1010;
  color:#fff;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:0.3s;
}
.newsletter button:hover{
  transform:translateY(-2px);
}
.newsletter button:disabled{
  opacity:0.75;
  cursor:not-allowed;
  transform:none;
}
.form-feedback{
  min-height:22px;
  margin:2px 2px 0;
  font-size:14px;
  line-height:1.35;
  color:#ffffff;
}
.form-feedback.is-success{
  color:#8dffb6;
}
.form-feedback.is-error{
  color:#ffb3b3;
}
/* FOOTER */
footer{
  background:#010a47;
  color:#fff;
}
.footer-content{
  display:grid;
  grid-template-columns:1.15fr 1.45fr 1fr;
  gap:0;
  border-bottom:1px solid rgba(255,255,255,0.16);
  padding:18px 0 26px;
}
.footer-col{
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 32px;
}
.footer-col + .footer-col{
  border-left:1px solid rgba(255,255,255,0.18);
}
.footer-logo-wrap .logo{
  margin-bottom:0;
  gap:14px;
}
.footer-brand .footer-logo-img{
  max-width:230px;
}
.footer-title{
  font-size:20px;
  margin-bottom:12px;
  font-weight:700;
  letter-spacing:0.3px;
}
.contact-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-item{
  display:flex;
  align-items:center;
  gap:12px;
  opacity:0.95;
  font-size:18px;
  line-height:1.2;
  color:#fff;
}
.footer-item i{
  width:22px;
  text-align:center;
  color:#ff1010;
  font-size:18px;
  flex:0 0 22px;
}
.socials{
  display:flex;
  gap:18px;
  margin-top:6px;
}
.social{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  font-size:22px;
  color:#fff;
  text-decoration:none;
}
.social i{
  line-height:1;
}
.copyright{
  text-align:center;
  margin-top:14px;
  padding-top:8px;
  opacity:0.82;
  font-size:14px;
}
@media(max-width:992px){
  .hero-content{
    flex-direction:column;
    align-items:flex-start;
  }
  .left{
    max-width:none;
    width:100%;
  }
  .cards{
    grid-template-columns:1fr;
  }
  .card{
    border-right:none;
    border-bottom:1px solid #d7dbe4;
    padding:22px 10px;
  }
  .card:last-child{
    border-bottom:none;
  }
  .features::after{
    width:280px;
    height:280px;
    top:-180px;
    right:-120px;
  }
  .newsletter{
    flex-direction:column;
    align-items:flex-start;
  }
  .newsletter-left{
    width:100%;
  }
  .newsletter-form{
    width:100%;
  }
  .footer-content{
    grid-template-columns:1fr;
  }
  .footer-col + .footer-col{
    border-left:none;
    border-top:2px solid rgba(255,255,255,0.18);
  }
  .footer-col{
    min-height:auto;
    padding:22px 0;
  }
  .footer-title{
    font-size:24px;
  }
  .footer-item{
    font-size:20px;
  }
  .title{
    font-size:44px;
  }
  .launch h2{
    font-size:34px;
  }
  .description{
    margin-bottom:90px;
  }
  .circle-bg{
    display:none;
  }
}
@media(max-width:600px){
  .container{
    padding:24px 20px;
  }
  .hero{
    padding-bottom:18px;
  }
  .logo-img{
    max-width:180px;
  }
  .logo{
    margin-bottom:28px;
    margin-top: 1px;
  }
  .footer-logo-img{
    max-width:165px;
  }
  .title{
    font-size:32px;
    margin-bottom:16px;
  }
  .description{
    font-size:16px;
    line-height:1.5;
    margin-bottom:18px;
  }
  .mobile-hero-art{
    display:block;
    margin:8px -32px 10px;
  }
  .mobile-hero-art img{
    width:calc(100%);
    max-width:none;
    display:block;
    padding: 30px;
  }
  .launch{
    gap:14px;
    justify-content:center;
    margin-top:8px;
  }
  .launch-icon{
    width:56px;
    height:56px;
    font-size:24px;
  }
  .launch small{
    font-size:14px;
  }
  .launch h2{
    font-size:22px;
    line-height:1.1;
  }
  .circle-bg{
    display:none;
  }
  .newsletter h2{
    font-size:24px;
    line-height:1.12;
  }
  .newsletter p{
    font-size:16px;
  }
  .newsletter{
    margin:18px 0 34px;
    border-radius:18px;
  }
  .newsletter-left{
    gap:14px;
    align-items:flex-start;
  }
  .newsletter-icon{
    width:54px;
    height:54px;
    flex:0 0 54px;
    font-size:22px;
    border-width:2px;
  }
  .newsletter input,
  .newsletter button{
    height:46px;
    font-size:16px;
  }
  .features h2{
    font-size:clamp(24px, 7vw, 28px);
    letter-spacing:0;
    text-wrap:balance;
    max-width:10ch;
    margin-inline:auto;
  }
  .divider{
    margin:10px auto 28px;
  }
  .cards{
    gap:0;
  }
  .card h3{
    font-size:24px;
    margin-bottom:8px;
  }
  .card p{
    font-size:17px;
    line-height:1.45;
    max-width:100%;
  }
  .card-icon i{
    font-size:46px;
  }
  .screen h3{
    font-size:26px;
  }
  .footer-logo-wrap .logo-text{
    font-size:24px;
  }
  .footer-title{
    font-size:22px;
    margin-bottom:12px;
  }
  .footer-item{
    font-size:17px;
    line-height:1.3;
  }
  .socials{
    gap:14px;
  }
  .social{
    width:42px;
    height:42px;
    font-size:20px;
    border-radius:14px;
  }
  .copyright{
    margin-top:12px;
    font-size:14px;
  }
}

@media(min-width:1400px){
  .card{
    padding-inline:44px;
  }
}

@media(min-width:1800px){
  body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
  }
  footer{
    margin-top:auto;
  }
  .container{
    max-width:min(1880px, 95vw);
    padding-inline:32px;
  }
  .left{
    max-width:640px;
  }
  .hero-content{
    align-items:flex-start;
    gap:64px;
    min-height:920px;
  }
  .hero{
    overflow:hidden;
    padding-bottom:92px;
  }
  .circle-bg{
    top:0;
    right:0;
    left:auto;
    width:min(66vw, 1620px);
    max-width:none;
    pointer-events:none;
  }
  .circle-bg img{
    width:100%;
    display:block;
  }
  .title{
    font-size:56px;
  }
  .description{
    font-size:24px;
    max-width:600px;
  }
  .launch small{
    font-size:32px;
  }
  .launch h2{
    font-size:56px;
  }
  .features h2{
    font-size:50px;
  }
  .card h3{
    font-size:36px;
  }
  .card p{
    font-size:21px;
    max-width:430px;
  }
}

/* PÁGINA NOSSA HISTÓRIA */
.history-page{
  background:
    radial-gradient(circle at top left, rgba(255, 16, 16, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f1f4f8 100%);
  color:#10193e;
}

.history-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(251, 251, 253, 0.84);
  border-bottom:1px solid rgba(10, 18, 61, 0.08);
}

.history-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:16px;
  padding-bottom:16px;
}

.history-brand{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}

.history-brand img{
  width:100%;
  max-width:220px;
  display:block;
}

.history-nav{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  justify-content:center;
  font-size:15px;
  font-weight:600;
}

.history-nav a{
  color:#10193e;
  text-decoration:none;
  position:relative;
  padding-bottom:6px;
}

.history-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  border-radius:999px;
  background:#ff1010;
  transition:width .25s ease;
}

.history-nav a:hover::after,
.history-nav a:focus-visible::after{
  width:100%;
}

.history-header__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:14px;
  background:#ff1010;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  box-shadow:0 16px 34px rgba(255, 16, 16, 0.24);
  transition:transform .25s ease, box-shadow .25s ease;
}

.history-header__cta:hover,
.history-header__cta:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 20px 40px rgba(255, 16, 16, 0.28);
}

.history-hero{
  position:relative;
  overflow:hidden;
  padding:28px 0 26px;
}

.history-hero::before{
  content:"";
  position:absolute;
  right:-8vw;
  top:0;
  width:min(58vw, 760px);
  height:min(58vw, 760px);
  background:radial-gradient(circle at 35% 35%, rgba(9, 26, 88, 0.98), rgba(7, 18, 64, 0.98));
  border-radius:46% 54% 48% 52% / 44% 46% 54% 56%;
  transform:translateY(4%);
}

.history-hero::after{
  content:"";
  position:absolute;
  right:2vw;
  top:38px;
  width:min(46vw, 640px);
  height:min(46vw, 640px);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 16, 16, 0.18), transparent 26%),
    radial-gradient(circle at 48% 54%, rgba(255,255,255,0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  opacity:0.95;
  pointer-events:none;
}

.history-hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr);
  gap:clamp(28px, 5vw, 72px);
  align-items:center;
  min-height:clamp(560px, 64vw, 760px);
}

.history-hero__copy{
  max-width:640px;
}

.history-kicker,
.section-heading__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#ff1010;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}

.history-hero__copy h1{
  font-size:clamp(46px, 6vw, 80px);
  line-height:.94;
  letter-spacing:-0.03em;
  margin:18px 0 18px;
  max-width:10ch;
}

.history-lead{
  font-size:clamp(18px, 1.8vw, 23px);
  line-height:1.65;
  color:#263059;
  max-width:34ch;
}

.history-lead strong{
  color:#ff1010;
}

.history-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:30px 0 28px;
}

.history-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 22px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.history-button:hover,
.history-button:focus-visible{
  transform:translateY(-2px);
}

.history-button--primary{
  background:#ff1010;
  color:#fff;
  box-shadow:0 18px 34px rgba(255, 16, 16, 0.22);
}

.history-button--ghost{
  border:1.5px solid rgba(16, 25, 62, 0.18);
  background:rgba(255,255,255,0.7);
  color:#10193e;
}

.history-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.history-stat{
  background:rgba(255,255,255,0.88);
  border:1px solid rgba(16, 25, 62, 0.08);
  border-radius:22px;
  padding:18px 18px 20px;
  box-shadow:0 14px 30px rgba(10, 18, 61, 0.06);
}

.history-stat strong{
  display:block;
  font-size:22px;
  line-height:1.15;
  margin-bottom:6px;
}

.history-stat span{
  display:block;
  color:#485276;
  line-height:1.5;
}

.history-hero__visual{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.history-portrait{
  position:relative;
  width:min(100%, 520px);
  min-height:500px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 30px 70px rgba(7, 18, 64, 0.3);
  overflow:hidden;
}

.history-portrait__glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 58% 22%, rgba(255, 141, 92, 0.22), transparent 20%),
    radial-gradient(circle at 58% 40%, rgba(255, 16, 16, 0.16), transparent 24%),
    radial-gradient(circle at 50% 55%, rgba(255,255,255,0.06), transparent 36%);
}

.history-portrait__figure{
  position:absolute;
  inset:auto 9% 0;
  height:84%;
  background:
    radial-gradient(circle at 52% 18%, rgba(8, 12, 25, 0.96) 0 13%, transparent 14%),
    radial-gradient(circle at 52% 33%, rgba(45, 52, 76, 0.98) 0 10%, transparent 11%),
    radial-gradient(circle at 51% 50%, rgba(18, 23, 44, 0.98) 0 24%, transparent 25%),
    linear-gradient(180deg, rgba(13, 18, 41, 0.98) 0%, rgba(17, 24, 48, 0.98) 48%, rgba(11, 16, 37, 0.98) 100%);
  clip-path:polygon(38% 0, 63% 0, 71% 10%, 77% 25%, 81% 42%, 86% 60%, 93% 100%, 7% 100%, 14% 60%, 20% 42%, 24% 26%, 30% 10%);
  opacity:0.95;
}

.history-portrait__badge{
  position:absolute;
  left:24px;
  bottom:24px;
  right:24px;
  padding:18px 20px;
  border-radius:20px;
  background:rgba(255,255,255,0.9);
  color:#10193e;
  box-shadow:0 16px 34px rgba(7,18,64,0.14);
}

.history-portrait__badge span{
  display:block;
  color:#ff1010;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:4px;
}

.history-portrait__badge strong{
  display:block;
  font-size:18px;
  line-height:1.35;
}

.history-hero__note{
  position:absolute;
  left:0;
  bottom:14px;
  transform:translateX(-8%);
  width:min(340px, 78%);
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:18px 20px;
  border-radius:22px;
  background:rgba(255,255,255,0.96);
  color:#10193e;
  box-shadow:0 18px 38px rgba(7,18,64,0.16);
}

.history-hero__note-icon{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#ff1010;
  color:#fff;
  font-size:24px;
}

.history-hero__note strong{
  display:block;
  font-size:18px;
  margin-bottom:4px;
}

.history-hero__note p{
  margin:0;
  color:#50597a;
  line-height:1.5;
}

.section-heading{
  text-align:center;
  max-width:760px;
  margin:0 auto 34px;
}

.section-heading h2,
.history-story__text h2,
.history-cta__intro h2{
  font-size:clamp(30px, 3.5vw, 50px);
  line-height:1.06;
  margin:12px 0 14px;
  letter-spacing:-0.03em;
}

.section-heading p{
  margin:0;
  color:#495276;
  font-size:clamp(16px, 1.5vw, 18px);
  line-height:1.65;
}

.history-values,
.history-story,
.history-cta{
  padding:28px 0 8px;
}

.history-cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.history-card{
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(16, 25, 62, 0.08);
  border-radius:28px;
  padding:28px;
  box-shadow:0 18px 34px rgba(7,18,64,0.08);
}

.history-card__icon{
  width:62px;
  height:62px;
  border-radius:18px;
  background:linear-gradient(180deg, #ff2f2f, #d70f0f);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:18px;
  box-shadow:0 14px 28px rgba(255, 16, 16, 0.18);
}

.history-card h3{
  font-size:26px;
  margin-bottom:12px;
}

.history-card p{
  margin:0;
  color:#4d5676;
  line-height:1.65;
  font-size:17px;
}

.history-story__grid,
.history-cta__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(0, .9fr);
  gap:28px;
  align-items:start;
}

.history-story__text p{
  color:#495276;
  line-height:1.75;
  font-size:18px;
  margin-bottom:18px;
}

.history-quote{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-top:26px;
  padding:22px 24px;
  border-radius:24px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(16, 25, 62, 0.08);
  box-shadow:0 16px 32px rgba(7,18,64,0.06);
}

.history-quote i{
  color:#ff1010;
  font-size:30px;
  line-height:1;
}

.history-quote p{
  margin:0;
  font-size:18px;
  line-height:1.65;
}

.history-timeline{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.history-timeline article{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px 22px;
  border-radius:24px;
  background:rgba(255,255,255,0.88);
  border:1px solid rgba(16, 25, 62, 0.08);
  box-shadow:0 14px 28px rgba(7,18,64,0.06);
}

.history-timeline span{
  width:42px;
  height:42px;
  border-radius:14px;
  flex:0 0 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#10193e;
  color:#fff;
  font-weight:800;
  font-size:18px;
}

.history-timeline h3{
  font-size:22px;
  margin-bottom:6px;
}

.history-timeline p{
  margin:0;
  color:#4d5676;
  line-height:1.6;
}

.history-cta{
  padding-bottom:34px;
}

.history-cta__grid{
  padding:28px;
  border-radius:32px;
  background:linear-gradient(135deg, #10193e 0%, #07113d 52%, #0f1d56 100%);
  color:#fff;
  box-shadow:0 28px 60px rgba(7,18,64,0.18);
}

.history-cta__intro{
  max-width:620px;
}

.history-cta__intro h2,
.history-cta__intro p,
.history-cta__intro .section-heading__eyebrow{
  color:#fff;
}

.history-cta__intro p{
  font-size:18px;
  line-height:1.7;
  margin-bottom:22px;
}

.history-contact-pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.history-contact-pills a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:16px;
  background:rgba(255,255,255,0.09);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

.history-contact-pills a:hover,
.history-contact-pills a:focus-visible{
  background:rgba(255,255,255,0.16);
}

.history-qr{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:18px;
  border-radius:28px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
}

.history-qr__box{
  width:min(100%, 220px);
  aspect-ratio:1;
  border-radius:24px;
  padding:18px;
  background:#fff;
}

.history-qr__pattern{
  width:100%;
  height:100%;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:8px;
}

.history-qr__pattern span{
  background:linear-gradient(180deg, #0d1738 0%, #0d1738 100%);
  border-radius:6px;
}

.history-qr__pattern span:nth-child(1),
.history-qr__pattern span:nth-child(3),
.history-qr__pattern span:nth-child(5),
.history-qr__pattern span:nth-child(7),
.history-qr__pattern span:nth-child(9){
  opacity:0.92;
}

.history-qr__text{
  text-align:center;
  max-width:280px;
}

.history-qr__text strong{
  display:block;
  font-size:20px;
  margin-bottom:6px;
}

.history-qr__text p{
  margin:0;
  color:rgba(255,255,255,0.84);
  line-height:1.55;
}

@media(max-width: 1100px){
  .history-header__inner{
    flex-wrap:wrap;
    justify-content:center;
  }

  .history-header__cta{
    width:100%;
    max-width:320px;
  }

  .history-hero__grid,
  .history-story__grid,
  .history-cta__grid{
    grid-template-columns:1fr;
  }

  .history-hero__visual{
    min-height:460px;
  }

  .history-hero::before{
    right:-16vw;
    width:min(72vw, 720px);
    height:min(72vw, 720px);
  }

  .history-stats,
  .history-cards{
    grid-template-columns:1fr;
  }

  .history-hero__note{
    left:50%;
    transform:translateX(-50%);
    bottom:0;
  }
}

@media(max-width: 680px){
  .history-header__inner{
    justify-content:flex-start;
  }

  .history-nav{
    gap:14px 18px;
    font-size:14px;
    justify-content:flex-start;
  }

  .history-hero{
    padding-top:14px;
  }

  .history-hero__copy h1{
    max-width:none;
  }

  .history-actions{
    flex-direction:column;
  }

  .history-button{
    width:100%;
  }

  .history-portrait{
    min-height:420px;
  }

  .history-hero__note{
    width:min(100%, 360px);
    position:relative;
    left:auto;
    translate:none;
    margin-top:18px;
  }

  .history-card,
  .history-timeline article,
  .history-quote,
  .history-cta__grid{
    border-radius:22px;
  }

  .history-card{
    padding:22px;
  }

  .history-cta__grid{
    padding:20px;
  }

  .history-contact-pills a{
    width:100%;
    justify-content:center;
  }
}
