*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#202431;background:#dfdcdb}button,a{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #ff9b76;outline-offset:3px}.wrap{width:min(1110px,calc(100% - 48px));margin:auto}header{background:#002e5e;color:white;position:relative;z-index:1}.bar,nav{display:flex;align-items:center;gap:18px}.bar{min-height:64px;gap:36px}.bar img{display:block}.bar a{font-weight:600}.active{color:#ff835b;border-bottom:3px solid;align-self:stretch;display:grid;align-items:center}nav{align-self:stretch}.account{margin-left:auto;white-space:nowrap}.account span{color:coral}.menu{display:none}main{position:relative;overflow:hidden;background:#dfdcdb}.hero{position:relative;min-height:calc(100vh - 64px);min-height:calc(100svh - 64px);display:flex;flex-direction:column;justify-content:flex-end;padding:0 0 clamp(30px,6vh,68px)}h1{font-size:clamp(42px,4vw,62px);letter-spacing:-2px;line-height:1.1;margin:auto 0;font-weight:750;position:relative;isolation:isolate}h1:before{content:'';position:absolute;z-index:-1;width:2.8em;height:2.8em;border-radius:50%;background:white;left:-1.4em;top:-1.3em}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.cards button,.tabs button{border:0;background:white;color:#202431;border-radius:8px}.cards button{position:relative;display:grid;gap:7px;text-align:left;padding:21px 26px}.cards button:after{content:'›';position:absolute;right:20px;top:16px;font-size:22px}.cards b{font-size:18px}.cards button:last-child{background:#202431;color:white}svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.cards small{font-size:13px}
@media(max-width:850px){nav{display:none}.menu{display:block;border:0;color:white;background:transparent;font-size:24px}.bar{gap:16px}nav.show{position:absolute;top:100%;left:0;right:0;display:grid;padding:16px 24px;background:#002e5e}.cards{gap:8px}.cards button{padding:16px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.bar{min-height:58px}.bar img{width:110px;height:auto}.hero{min-height:calc(100svh - 58px);padding-bottom:22px}h1{margin:auto 0 24px;font-size:43px}h1:before{width:90px;height:90px;left:-36px;top:-24px}.cards{grid-template-columns:1fr 1fr}.cards button{gap:4px}.cards b{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.stories{background:#fafafa;padding:55px 0 80px}.stories h2{font-size:30px;margin:28px 0 20px}.stories .wrap>div{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stories a{background:white;border-radius:8px;overflow:hidden}.stories img{width:100%;height:clamp(140px,20vw,260px);object-fit:cover;display:block}.stories strong{display:block;padding:18px;font-size:19px}footer{padding:30px 0;background:#002e5e;color:white}footer .wrap{display:flex;align-items:center;justify-content:space-between}@media(max-width:600px){.stories .wrap>div{grid-template-columns:1fr}}
.photo,.photo>div{position:absolute;top:0;right:0;bottom:0;left:0}.photo>div{opacity:0;transition:opacity .85s ease}.photo>div.shown{opacity:1}.photo:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#dfdbda 0%,#dfdbda 25%,transparent 50%)}h1{max-width:5.5em}.cards button:last-child{background:white;color:#202431}.cards button.selected{background:#202431;color:white}@media(max-width:600px){.photo:after{background:linear-gradient(0deg,#dfdbda 5%,#dfdbdade 32%,transparent 70%)}}
.photo picture,.photo img {display:block;width:100%;height:100%}
.photo img {object-fit:cover}

/* Offer and terms share one continuous photo surface. */
dialog {
  border:0; padding:0; border-radius:24px; color:#152c45;
  width:min(1056px,calc(100% - 64px)); max-width:none; max-height:90vh; max-height:90dvh;
  background:#f2f6f6; box-shadow:0 24px 80px #071c3440; overflow:auto;
}
dialog::backdrop {background:rgb(10 28 47 / 54%); backdrop-filter:blur(6px)}
body:has(dialog[open]) {overflow:hidden}
.offer-surface {position:relative; isolation:isolate; min-height:500px; display:flex; flex-direction:column}
.offer-photo {position:absolute; top:0;right:0;bottom:0;left:0; z-index:-1; border-radius:inherit;
  background-image:linear-gradient(90deg,#f2f6f6 0%,#f2f6f6 42%,#f2f6f6ed 51%,#f2f6f666 64%,transparent 76%),var(--offer-image);
  background-repeat:no-repeat; background-size:cover,auto 100%; background-position:center,right center}
.offer-controls {padding:26px 36px 0}
.tabs {width:max-content; max-width:100%; padding:5px; display:flex; gap:2px; border-radius:18px;
 background:#f9fbfceb; box-shadow:0 3px 22px #24354712; backdrop-filter:blur(16px)}
.tabs button {display:flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:8px 15px;
  border:0; border-radius:13px; background:transparent; color:#354d63; font-size:14px; font-weight:600}
.tabs svg {width:19px;height:19px}
.tabs button:hover {background:#e4edf1}
.tabs button[aria-pressed=true] {background:#173c61;color:white}
.offer-surface article {flex:1;display:grid;align-content:center;padding:48px clamp(28px,5vw,68px) 28px}
.offer-copy {width:52%;text-align:center;animation:appear .28s ease both}
.offer-surface h2 {font-size:clamp(36px,4.4vw,62px);line-height:1.02;letter-spacing:-.05em;margin:0 0 22px;text-wrap:balance}
.summary {font-size:clamp(16px,1.6vw,19px);line-height:1.55;margin:0;color:#314b62}
.cta {display:inline-flex;gap:18px;align-items:center;justify-content:center;border-radius:100px;
 background:#123e68;color:white;font-weight:700;font-size:16px;padding:16px 24px;margin-top:28px}
.cta:hover {background:#205781}.cta span {font-size:21px;line-height:1}
.demo-note {display:block;padding:16px 36px 25px;font-size:12px;color:#526b7b}
.terms-view .offer-photo {background-size:cover,auto 100%; background-image:linear-gradient(90deg,#f2f6f6 48%,#f2f6f6f0 58%,#f2f6f650 73%,transparent 85%),var(--offer-image)}
.terms-view article {padding-top:24px;display:block}
.terms-copy {width:60%;animation:appear .28s ease both}
.back {display:inline-flex;align-items:center;gap:9px;min-height:44px;font-weight:600;color:#254f72;margin-bottom:17px}
.back:hover {text-decoration:underline;text-underline-offset:4px}
.service-name {font-size:14px;color:#39708b;font-weight:700;margin:0 0 9px}
.terms-copy h2 {font-size:clamp(32px,3.5vw,46px);margin-bottom:13px}
.terms-copy .summary {font-size:16px}
.steps {margin:23px 0 0;padding:0;list-style:none;display:grid;gap:17px}
.steps li {display:flex;align-items:flex-start;gap:14px}
.step-icon {display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:#e8f1fb;color:#094ab1}
.step-icon svg {width:19px;height:19px}
.steps li:last-child .step-icon {background:#fff1e5;color:#b63c0d}
.steps strong {font-size:17px}.steps p {font-size:15px;line-height:1.45;color:#40566a;margin:4px 0 0}
@keyframes appear {from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.stories {background:#f3f5f5;padding:50px 0 74px}
.stories h2 {font-size:clamp(28px,3.3vw,46px);letter-spacing:-.045em;color:#152d45}
.stories .wrap>div+h2 {margin-top:54px}
.stories a {position:relative;isolation:isolate;border-radius:18px;background:#13283a;color:white}
.stories img {height:auto;aspect-ratio:1.85;transition:transform .45s}
.stories a:hover img {transform:scale(1.035)}
.stories a:after {content:'';position:absolute;top:25%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#0e1d2fe8);pointer-events:none}
.stories strong {position:absolute;bottom:0;left:0;right:0;z-index:1;padding:24px 64px 24px 24px;font-size:clamp(20px,2vw,29px);letter-spacing:-.035em}
.stories strong:after {content:'↗';position:absolute;right:22px;bottom:22px;border:1px solid #fff8;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:19px}
@media(max-width:740px){
 dialog {width:min(520px,calc(100% - 20px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:21px;overscroll-behavior-y:contain}
 .offer-surface {min-height:0}.offer-controls{padding:13px 13px 0}
 .tabs {display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:15px}
 .tabs button {padding:8px 5px;font-size:14px;min-height:44px;overflow-wrap:anywhere}
 .tabs svg {flex:none}
 .offer-photo,.terms-view .offer-photo {background-image:linear-gradient(0deg,#f2f6f6 0%,#f2f6f6 9%,transparent 68%),var(--offer-image);
   top:87px;bottom:auto;height:175px;background-size:cover,cover;background-position:center,70% 50%}
 .offer-controls {order:-1}.offer-surface article {display:block;padding:145px 22px 12px}
 .offer-copy,.terms-copy {width:100%}.offer-surface h2 {font-size:36px;margin-bottom:15px}
 .summary {font-size:16px}.cta{margin-top:20px}.demo-note{padding:12px 20px 19px;text-align:center}
 .terms-view .offer-photo {top:0;height:156px}
 .terms-view article {padding:12px 21px 5px}
 .back {background:#f2f6f6ed;border-radius:30px;padding:6px 15px;font-size:14px;margin-bottom:93px}
 .terms-copy .summary,.steps p {font-size:14px}.steps {gap:14px;margin-top:17px}
}

/* Frame each service photograph independently from the copy column. */
.offer-photo, .terms-view .offer-photo {
  background-image:none;
  overflow:hidden;
}
.offer-photo::before {
  content:""; position:absolute; top:0;right:0;bottom:0;left:40%;
  background:var(--offer-image) 77% center / cover no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 35%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 35%);
}
dialog[data-offer="internet"] .offer-photo::before {background-position:55% 50%}
.terms-view .offer-photo::before {
  left:56%; background-position:50% center;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 26%);
  mask-image:linear-gradient(90deg,transparent,#000 26%);
}
.terms-view[data-offer="transfer"] .offer-photo::before {background-position:45% center}
.terms-view[data-offer="tv"] .offer-photo::before {background-position:54% center}
@media(max-width:740px) {
  .offer-photo::before,.terms-view .offer-photo::before {
    left:0;
    -webkit-mask-image:linear-gradient(0deg,transparent,#000 45%);
    mask-image:linear-gradient(0deg,transparent,#000 45%);
    background-image:var(--offer-image-mobile,var(--offer-image));
    background-position:73% 40%;
  }
  .terms-view .offer-photo::before {background-position:center 35%}
  .terms-view[data-offer="transfer"] .offer-photo::before {background-position:50% 24%}
  .terms-view[data-offer="internet"] .offer-photo::before {background-position:center 47%}
  .terms-view[data-offer="tv"] .offer-photo::before {background-position:center 36%}
  .terms-view .cta {margin-top:20px}
}

html[lang="ka"] body {font-family:Arial,"Noto Sans Georgian",sans-serif}
html[lang="ka"] h1 {max-width:11em;font-size:clamp(34px,3.5vw,54px);line-height:1.24;letter-spacing:-.035em}
html[lang="ka"] .offer-surface h2 {font-size:clamp(29px,3.5vw,46px);line-height:1.22;letter-spacing:-.025em}
html[lang="ka"] .tabs button {white-space:normal}
@media(min-width:851px){.bar{gap:18px}.bar nav{gap:12px;font-size:14px}.account{font-size:14px}}
@media(min-width:851px) and (max-width:1080px){.bar nav{display:none}.menu{display:block;border:0;background:transparent;color:white;font-size:24px}.bar nav.show{display:grid;position:absolute;top:100%;left:0;right:0;padding:16px 24px;background:#002e5e}}
@media(max-width:740px){html[lang="ka"] .cta{max-width:100%;text-align:center}.account{white-space:normal}}

@media(max-width:1080px) {
  .menu {min-width:44px;min-height:44px;flex:none}
  .bar nav.show {
    max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);
    overflow-y:auto;overscroll-behavior-y:contain;gap:0
  }
  .bar nav.show a {display:flex;align-items:center;min-height:44px}
}
@media(max-width:740px) {
  .offer-surface h2,.summary,.steps li>div,.cta,.back {overflow-wrap:anywhere}
  .cta span,.back span {flex:none}
}
@media(max-width:600px) {
  .photo img {object-position:69% center}
  .hero {min-height:calc(100vh - 58px);min-height:calc(100svh - 58px)}
  .bar nav.show {max-height:calc(100vh - 58px);max-height:calc(100dvh - 58px)}
  .cards {grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards button {min-width:0;overflow-wrap:anywhere}
  .stories .wrap>div {grid-template-columns:minmax(0,1fr)}
  .stories h2,.stories strong,footer a {overflow-wrap:anywhere}
  footer .wrap {gap:12px}
  footer img {max-width:45%;height:auto}
}
@media(max-width:360px) {
  .bar {gap:10px}
  .account {font-size:14px}
  .cards button {padding:14px 12px}
}
