
:root{
  --ink:#2d211a;
  --ink-soft:#5d4b40;
  --accent:#FFAC1C;
  --accent-dark:#E69500;
  --accent-soft:#FFF0C2;
  --glass:rgba(255,250,246,.63);
  --glass-strong:rgba(255,250,246,.76);
  --line:rgba(105,67,44,.18);
  --white:#fff;
  --shadow:0 18px 55px rgba(91,55,35,.10);
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#efe7e1}
body{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}

.site{
  min-height:100svh;
  height:100svh;
  position:relative;
  overflow:hidden;
  background-image:url("assets/ransi-taust-tech.png");
  background-size:cover;
  background-position:center;
}
.site::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(255,250,246,.56),rgba(255,246,240,.30)),
    radial-gradient(circle at 50% 44%,rgba(255,255,255,.34),rgba(255,255,255,.05) 54%);
  pointer-events:none;
}

.topbar{
  position:absolute;
  z-index:20;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(1500px,calc(100% - 80px));
  height:118px;
  display:flex;
  align-items:flex-start;
  padding-top:31px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:42px;
  font-size:15px;
  font-weight:650;
  letter-spacing:-.01em;
}
.main-nav a{
  position:relative;
  padding:14px 0 12px;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:4px;
  width:0;
  height:2px;
  border-radius:2px;
  background:var(--accent);
  transition:width .18s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after{width:100%}

.quote-link{
  margin-left:auto;
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:0 28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,252,249,.74);
  backdrop-filter:blur(14px);
  box-shadow:0 12px 32px rgba(90,54,34,.07);
  font-size:15px;
  font-weight:700;
  transition:.18s ease;
}
.quote-link:hover{
  transform:translateY(-1px);
  background:rgba(255,252,249,.90);
  border-color:rgba(184,95,43,.28);
}
.quote-link span{font-size:20px;color:var(--accent)}

.page{
  position:relative;
  z-index:5;
  height:100%;
  width:min(1500px,calc(100% - 80px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:118px 0 44px;
}
.home-copy{
  width:min(900px,100%);
  text-align:center;
  transform:translateY(-1vh);
}
.home-copy h1{
  margin:0 0 8px;
  font-size:clamp(58px,6.4vw,104px);
  line-height:.98;
  letter-spacing:-.055em;
  font-weight:750;
}
.home-copy .sub{
  margin:0 0 18px;
  color:var(--accent);
  font-size:clamp(28px,3.0vw,48px);
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.035em;
}
.home-copy p{
  margin:0 auto;
  max-width:820px;
  color:#3f3027;
  font-size:clamp(17px,1.5vw,23px);
  line-height:1.55;
}

.page-shell{
  width:min(1260px,100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.page-title{
  margin:0 0 38px;
  text-align:center;
  font-size:clamp(54px,6vw,92px);
  line-height:.95;
  font-weight:760;
  letter-spacing:-.055em;
}
.page-title span{color:var(--accent)}

.glass-panel{
  width:100%;
  border:1px solid rgba(255,255,255,.72);
  background:var(--glass);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow);
  border-radius:28px;
}

.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  width:100%;
}
.service-card{
  min-height:320px;
  padding:42px 36px 36px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,250,246,.54);
  backdrop-filter:blur(16px);
  border-radius:28px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.service-icon{
  width:94px;
  height:94px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin-bottom:26px;
  color:var(--accent);
  background:rgba(255,250,246,.76);
  border:1px solid rgba(255,255,255,.82);
}
.service-icon svg{
  width:50px;
  height:50px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h2{
  margin:0 0 14px;
  font-size:28px;
  letter-spacing:-.03em;
}
.service-card p{
  margin:0;
  max-width:290px;
  color:var(--ink-soft);
  font-size:17px;
  line-height:1.55;
}

.price-panel{
  max-width:1080px;
  overflow:hidden;
  padding:18px 20px;
}
.price-head,.price-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:center;
}
.price-head{
  padding:18px 22px;
  color:var(--accent-dark);
  background:rgba(255,245,238,.48);
  border-radius:18px;
  font-size:19px;
  font-weight:800;
}
.price-row{
  min-height:70px;
  padding:16px 22px;
  border-bottom:1px solid var(--line);
}
.price-row:last-child{border-bottom:0}
.price-row .service{
  font-size:17px;
  font-weight:560;
}
.price-row .price{
  font-size:17px;
  line-height:1.45;
}
.price-row .price strong{font-weight:800}

.contact-panel{
  max-width:1040px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  background:transparent;
  border:0;
  box-shadow:none;
  backdrop-filter:none;
}
.contact-card{
  min-height:160px;
  padding:28px 34px;
  border:1px solid rgba(255,255,255,.74);
  background:rgba(255,250,246,.61);
  backdrop-filter:blur(17px);
  border-radius:26px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:76px 1fr;
  gap:22px;
  align-items:center;
}
.contact-icon{
  width:76px;
  height:76px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(246,225,209,.72);
  color:var(--accent);
}
.contact-icon svg{
  width:37px;height:37px;
  stroke:currentColor;fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
}
.contact-card small{
  display:block;
  color:#7A5A18;
  font-size:15px;
  margin-bottom:6px;
}
.contact-card strong{
  display:block;
  color:var(--accent-dark);
  font-size:25px;
  line-height:1.2;
}
.contact-card p{
  margin:5px 0 0;
  color:var(--ink);
  font-size:17px;
}
.contact-card a:hover strong{text-decoration:underline}

.quote-panel{
  max-width:930px;
  padding:34px;
}
.quote-panel h1{
  margin:0 0 8px;
  text-align:center;
  font-size:48px;
  letter-spacing:-.04em;
}
.quote-panel .intro{
  text-align:center;
  margin:0 0 25px;
  color:var(--ink-soft);
}
.form{
  display:grid;
  gap:14px;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.form input,.form textarea{
  width:100%;
  border:1px solid rgba(109,73,49,.18);
  background:rgba(255,255,255,.60);
  border-radius:14px;
  padding:14px 16px;
  color:var(--ink);
  outline:none;
}
.form textarea{min-height:105px;resize:none}
.form input:focus,.form textarea:focus{
  border-color:rgba(184,95,43,.58);
  box-shadow:0 0 0 3px rgba(184,95,43,.09);
}
.file-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:4px 2px;
  color:var(--ink-soft);
  font-size:13px;
}
.submit{
  min-height:52px;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.submit:hover{background:var(--accent-dark)}
.honey{position:absolute!important;left:-9999px!important;opacity:0!important}

.mobile-toggle,.mobile-menu{display:none}

@media(max-width:1100px){
  .topbar,.page{width:calc(100% - 44px)}
  .main-nav{gap:24px;font-size:14px}
  .quote-link{padding:0 22px}
  .service-card{padding:30px 24px;min-height:285px}
  .service-card h2{font-size:24px}
  .service-card p{font-size:15px}
}

@media(max-width:820px){
  body{overflow:auto}
  .site{height:auto;min-height:100svh}
  .topbar{height:88px;padding-top:18px;align-items:flex-start}
  .main-nav,.quote-link{display:none}
  .mobile-toggle{
    display:block;
    margin-left:auto;
    width:44px;height:44px;
    border:0;background:rgba(255,252,249,.72);
    border-radius:50%;
    padding:10px;
  }
  .mobile-toggle span{
    display:block;width:23px;height:2px;background:var(--ink);
    margin:5px auto;border-radius:3px;
  }
  .mobile-menu{
    position:absolute;
    z-index:50;
    top:72px;left:0;right:0;
    padding:10px 18px;
    border:1px solid rgba(255,255,255,.78);
    border-radius:18px;
    background:rgba(255,250,246,.92);
    backdrop-filter:blur(18px);
    box-shadow:var(--shadow);
  }
  .mobile-menu a{
    display:block;
    padding:13px 0;
    border-bottom:1px solid var(--line);
    font-weight:700;
  }
  .mobile-menu a:last-child{border-bottom:0}
  .page{
    height:auto;min-height:100svh;
    width:calc(100% - 28px);
    padding:100px 0 38px;
  }
  .services{grid-template-columns:1fr}
  .service-card{min-height:0}
  .price-panel{padding:10px}
  .price-head{display:none}
  .price-row{
    grid-template-columns:1fr;
    gap:5px;
    padding:14px 12px;
  }
  .contact-panel{grid-template-columns:1fr}
  .contact-card{min-height:135px}
  .form-grid{grid-template-columns:1fr}
}

@media(max-width:520px){
  .home-copy h1{font-size:49px}
  .home-copy .sub{font-size:30px}
  .home-copy p{font-size:16px}
  .page-title{font-size:50px;margin-bottom:25px}
  .service-icon{width:74px;height:74px}
  .service-icon svg{width:40px;height:40px}
  .service-card h2{font-size:23px}
  .contact-card{
    grid-template-columns:60px 1fr;
    padding:22px;
  }
  .contact-icon{width:60px;height:60px}
  .contact-icon svg{width:30px;height:30px}
  .contact-card strong{font-size:21px}
  .quote-panel{padding:24px 18px}
  .quote-panel h1{font-size:38px}
}


.cookie-banner{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:9999;
  width:min(760px,calc(100% - 28px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:18px;
  background:rgba(255,250,246,.94);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 45px rgba(80,45,20,.16);
  color:var(--ink);
}
.cookie-banner[hidden]{display:none!important}
.cookie-banner__text{
  font-size:13px;
  line-height:1.45;
}
.cookie-banner__actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}
.cookie-btn{
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  border:1px solid rgba(109,73,49,.18);
}
.cookie-btn--secondary{
  background:#fff;
  color:var(--ink);
}
.cookie-btn--primary{
  background:#FFAC1C;
  border-color:#FFAC1C;
  color:#2d211a;
}
@media(max-width:640px){
  .cookie-banner{
    align-items:stretch;
    flex-direction:column;
    gap:12px;
  }
  .cookie-banner__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}

/* V5 SEO: service term remains inside H1 without changing the approved visual layout */
.home-copy h1 .h1-sub{
  display:block;
  margin-top:8px;
  color:var(--accent);
  font-size:clamp(28px,3.0vw,48px);
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.035em;
}
.home-copy h1:has(.h1-sub){margin-bottom:18px}
@media(max-width:520px){.home-copy h1 .h1-sub{font-size:30px}}
