/* Only the four new country components. Reused blocks use styles.css unchanged. */
.visa-overview.section,.visa-types.section,.visa-pricing.section,.real-messages.section{padding-block:40px}
.country-panel{padding:40px;background:linear-gradient(120deg,#f0f8ff,#eaf6ff);border-radius:22px}
.country-panel .eyebrow{margin-bottom:14px}
.country-panel h2{font-size:clamp(32px,2.1vw,40px);line-height:1.25;letter-spacing:-1.2px}
.country-description{font-size:18px;line-height:1.65;color:var(--secondary);margin-top:14px}
.visa-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:32px 0 0}
.visa-fact{display:flex;align-items:flex-start;gap:16px;padding:0 24px;border-right:1px solid #c8e1ff;min-width:0}
.visa-fact:first-child{padding-left:0}.visa-fact:last-child{padding-right:0;border:0}
.fact-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#fff;color:var(--blue);border:1px solid #dfedff}
.fact-icon .icon{width:29px;height:29px}.visa-fact dt{font-size:14px;line-height:1.5;color:#435e81;font-weight:650;margin-bottom:8px}
.visa-fact dd{margin:0;font-size:23px;line-height:1.35;font-weight:800;letter-spacing:-.6px}
.visa-fact p{font-size:14px;line-height:1.6;color:var(--secondary);margin-top:10px}
.country-disclaimer{font-size:14px;line-height:1.65;color:var(--secondary);margin-top:28px}
.visa-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:28px}
.visa-type{background:#fff;border-radius:16px;overflow:hidden}.visa-type>img{width:100%;height:205px;object-fit:cover;object-position:center 45%}
.visa-type:first-child>img{object-position:center 26%}
.visa-type-body{display:flex;gap:16px;padding:26px 22px 30px}.visa-type-body>.icon{width:32px;height:32px;color:var(--blue)}
.visa-type h3{font-size:23px;letter-spacing:-.5px;line-height:1.4}.visa-type p{font-size:16px;line-height:1.65;color:var(--secondary);margin-top:12px}
.price-panel{display:grid;grid-template-columns:1.65fr 1fr .82fr;gap:36px;align-items:center}
.price-copy h2{font-size:clamp(29px,1.8vw,36px)}.price-copy .country-description{font-size:17px;max-width:610px}
.price-external{display:flex;gap:18px;border-left:1px solid #c8e1ff;padding-left:34px}.price-external h3{font-size:19px;line-height:1.4;letter-spacing:-.3px}.price-external p,.price-note{font-size:15px;line-height:1.65;color:var(--secondary)}.price-external p{margin-top:10px}
.price-note{display:flex;align-items:flex-start;gap:14px;background:#dfedff77;padding:22px;border-radius:14px}.price-note>.icon{color:var(--blue);margin-top:3px}
.message-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px}
.message-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:16px;padding:30px;border-radius:18px;background:#e3effa;min-width:0}
.message-card:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#f1f8ffd9,#f1f8ffcf),var(--message-photo);background-size:cover;background-position:center}
.message-card h3{font-size:21px;line-height:1.4}.message-bubble{background:#fff;padding:18px;border-radius:14px;font-size:16px;line-height:1.6;max-width:95%}
.message-bubble>span{display:block;font-size:11px;font-weight:750;letter-spacing:1px;color:#56728f;margin-bottom:6px}.message-expert{background:#e1f3ff;align-self:flex-end}
.message-outcome{font-size:14px;line-height:1.6;margin-top:auto;font-weight:650}.message-pending .eyebrow{font-size:11px;margin:0}.message-pending-note{font-size:15px;line-height:1.65;color:#435e81}
.message-layout-mark{height:64px;width:84%;background:#ffffffa6;border:1px dashed #97b2d0;border-radius:14px}.message-layout-mark.message-expert{background:#e1f3ffb3;width:90%}
/* Country image accents: preserve the master gradients, layout and responsive behavior. */
.page-country .problems{background-image:linear-gradient(90deg,#eef7fff7 0%,#eef7ffed 27%,#eef7ffca 45%,#eef7ff75 63%,#eef7ff22 82%,transparent 100%),var(--country-background)}
.page-country .final-background{background-image:linear-gradient(90deg,#f0f9fff7 0%,#f0f9ffeb 28%,#f0f9ffbd 48%,#f0f9ff62 68%,#f0f9ff18 100%),var(--country-background)}
.page-country .final-inner::after{background-image:var(--country-background)}
@media(max-width:1680px){.country-panel{padding:32px}.visa-fact{padding-inline:16px;gap:12px}.fact-icon{width:46px;height:46px;flex-basis:46px}.fact-icon .icon{width:25px;height:25px}.visa-fact dd{font-size:21px}.visa-type-grid{gap:20px}.visa-type-body{padding:22px 18px;gap:12px}.visa-type h3{font-size:21px}.price-panel{gap:24px;grid-template-columns:1.4fr 1fr .85fr}.price-external{padding-left:24px;gap:12px}.price-note{padding:18px}.message-card{padding:24px}}
@media(max-width:1280px){.visa-fact{display:block}.visa-fact .fact-icon{margin-bottom:14px}.visa-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visa-type>img{height:195px}.price-panel{grid-template-columns:1.2fr 1fr}.price-note{grid-column:1/-1;align-items:center}.message-grid{gap:18px}.message-card{padding:22px}}
@media(max-width:1024px){.visa-overview.section,.visa-types.section,.visa-pricing.section,.real-messages.section{padding-block:34px}.country-panel{padding:30px}.visa-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 0}.visa-fact:nth-child(3){border:0}.visa-fact:nth-child(4){padding-left:0}.visa-fact{display:flex}.visa-fact .fact-icon{margin:0}.visa-fact dd{font-size:22px}.message-grid{grid-template-columns:1fr}.message-card{padding:28px}.message-bubble{max-width:78%}.message-layout-mark{max-width:75%}}
@media(max-width:700px){.visa-overview.section,.visa-types.section,.visa-pricing.section,.real-messages.section{padding-block:28px}.country-panel{padding:26px 22px;border-radius:18px}.country-panel .eyebrow{font-size:11px;letter-spacing:1.5px}.country-panel h2{font-size:29px;letter-spacing:-.9px;line-height:1.3}.country-description{font-size:16px;margin-top:16px}.visa-facts{grid-template-columns:1fr;gap:22px;margin-top:28px}.visa-fact,.visa-fact:first-child,.visa-fact:last-child{border:0;border-bottom:1px solid #c8e1ff;padding:0 0 22px;gap:17px}.visa-fact:last-child{padding-bottom:0;border:0}.visa-fact:nth-child(3){border-bottom:1px solid #c8e1ff}.visa-fact dt{font-size:14px;margin-bottom:6px}.visa-fact dd{font-size:24px}.visa-fact p{font-size:14px;margin-top:8px}.country-disclaimer{font-size:13px;line-height:1.7;margin-top:24px}.visa-type-grid{grid-template-columns:1fr;gap:20px;margin-top:26px}.visa-type>img{height:185px}.visa-type-body{padding:23px 20px;gap:15px}.visa-type h3{font-size:22px}.visa-type p{font-size:16px}.price-panel{display:flex;flex-direction:column;gap:26px;align-items:stretch}.price-copy h2{font-size:29px;line-height:1.35}.price-copy .country-description{font-size:16px}.price-external{border-left:0;border-top:1px solid #c8e1ff;padding:24px 0 0;gap:15px}.price-external h3{font-size:19px}.price-note{font-size:14px;padding:18px;align-items:flex-start}.message-grid{gap:20px;margin-top:26px}.message-card{padding:22px;gap:16px}.message-card h3{font-size:21px}.message-bubble{max-width:100%;font-size:15px;padding:16px}.message-layout-mark{max-width:100%}.page-country .problems{background:var(--light)}.page-country .final-background{background-image:linear-gradient(180deg,#f0f9ffee,#f0f9ffd9 62%,#f0f9ff75),var(--country-background)}}

/* France: keep the standard section gap, but make it part of the light-blue
   transition instead of a white break before the photographic problems block. */
.page-country .problems.section{
  margin-top:0;
  border-top:40px solid var(--light);
}
.page-country .problems.section::before{
  content:"";
  display:block;
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:76px;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,var(--light) 0%,rgba(238,247,255,.82) 34%,rgba(238,247,255,0) 100%);
}
@media(max-width:1024px){
  .page-country .problems.section{border-top-width:34px}
  .page-country .problems.section::before{height:64px}
}
@media(max-width:700px){
  .page-country .problems.section{border-top-width:28px}
  .page-country .problems.section::before{display:none}
}

/* Mobile country-page fixes: keep new country components readable and prevent horizontal overflow. */
@media(max-width:700px){
  .page-country .country-panel,
  .page-country .visa-facts,
  .page-country .visa-type-grid,
  .page-country .visa-type{
    min-width:0;
    max-width:100%;
  }

  /* Facts: on narrow screens the icon must sit above the text, not steal horizontal space. */
  .page-country .visa-fact,
  .page-country .visa-fact:first-child,
  .page-country .visa-fact:last-child{
    display:block;
  }
  .page-country .visa-fact .fact-icon{
    margin:0 0 12px;
  }
  .page-country .visa-fact>div:last-child{
    min-width:0;
  }
  .page-country .visa-fact dd{
    font-size:22px;
    overflow-wrap:normal;
    word-break:normal;
  }

  /* Visa-type cards: same principle — icon above copy so headings are never clipped. */
  .page-country .visa-type-body{
    display:block;
    min-width:0;
  }
  .page-country .visa-type-body>.icon{
    display:block;
    margin:0 0 13px;
  }
  .page-country .visa-type-body>div{
    min-width:0;
    width:100%;
  }
  .page-country .visa-type h3{
    font-size:20px;
    overflow-wrap:normal;
    word-break:normal;
  }
  .page-country .visa-type p{
    font-size:15px;
  }
  .page-country .visa-type>img{
    object-position:center 38%;
  }
}



/* France hero: travel details over the existing hero photo. */
.page-country .hero{position:relative}
.country-hero-decor{position:absolute;inset:0;z-index:2;pointer-events:none}
.hero-travel-stamp{
  position:absolute;
  top:70px;
  right:6.5vw;
  width:154px;
  height:154px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:3px solid rgba(0,108,253,.78);
  border-radius:50%;
  background:rgba(255,255,255,.34);
  color:rgba(0,91,214,.92);
  transform:rotate(-9deg);
  letter-spacing:1.8px;
  font-size:12px;
  font-weight:850;
  line-height:1.08;
  text-align:center;
  text-shadow:0 1px 2px rgba(255,255,255,.9);
  box-shadow:inset 0 0 0 5px rgba(0,108,253,.14),0 0 0 2px rgba(255,255,255,.52),0 8px 22px rgba(2,17,45,.08);
}
.hero-travel-stamp>span,.hero-travel-stamp>strong{
  display:block;
  max-width:calc(100% - 24px);
  text-align:center;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
}
.hero-travel-stamp::before,.hero-travel-stamp::after{
  content:"";
  position:absolute;
  left:30px;
  right:30px;
  height:1px;
  background:currentColor;
  opacity:.65;
}
.hero-travel-stamp::before{top:47px}
.hero-travel-stamp::after{bottom:47px}
.hero-travel-stamp strong{font-size:19px;letter-spacing:1.5px;margin-top:9px;line-height:1.08}
.hero-handwriting{
  position:absolute;
  top:238px;
  right:4.7vw;
  width:190px;
  color:rgba(0,108,253,.74);
  font:400 42px/1.02 "Segoe Script","Brush Script MT",cursive;
  transform:rotate(-6deg);
  text-align:center;
  text-shadow:0 2px 0 rgba(255,255,255,.22);
}
.hero-visa-card{
  position:absolute;
  right:6.8vw;
  bottom:52px;
  display:flex;
  align-items:center;
  gap:17px;
  min-width:380px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.74);
  border-radius:18px;
  background:rgba(255,255,255,.93);
  box-shadow:0 18px 40px rgba(2,17,45,.12);
  backdrop-filter:blur(10px);
  color:var(--navy);
}
.hero-eu-flag{display:flex;align-items:center;justify-content:center;width:72px;flex:0 0 72px}
.hero-eu-flag svg{display:block;width:72px;height:auto}
.hero-visa-card-copy{display:grid;gap:2px}
.hero-visa-card-copy strong{font-size:19px;line-height:1.35}
.hero-visa-card-copy>span{font-size:14px;line-height:1.5;color:var(--secondary)}

.hero-visa-card-inline{
  position:static;
  right:auto;
  bottom:auto;
  width:max-content;
  min-width:380px;
  margin:0 0 24px;
}

@media(max-width:1500px){
  .hero-handwriting{top:214px;right:2.9vw;width:175px;font-size:37px}
  .hero-travel-stamp{right:4.2vw;width:136px;height:136px;font-size:11px;letter-spacing:1.5px}
  .hero-travel-stamp strong{font-size:17px;letter-spacing:1.2px}
  .hero-visa-card{right:4.2vw;min-width:345px;padding:16px 18px}
}

@media(max-width:1180px){
  .hero-handwriting{display:none}
  .hero-travel-stamp{top:72px;right:28px;width:118px;height:118px;font-size:9.5px;letter-spacing:1px;background:rgba(255,255,255,.50)}
  .hero-travel-stamp>span,.hero-travel-stamp>strong{max-width:92px}
  .hero-travel-stamp strong{font-size:13.5px;letter-spacing:.7px;margin-top:7px}
  .hero-travel-stamp::before{left:24px;right:24px;top:37px}.hero-travel-stamp::after{left:24px;right:24px;bottom:37px}
  .hero-visa-card{right:32px;bottom:32px;min-width:315px}
}

@media(max-width:1024px){
  .page-country .hero-visa-card-inline{
    width:min(100%,480px);
    max-width:100%;
    min-width:0;
  }
  .page-country .hero-visa-card-copy{min-width:0}
  .page-country .hero-visa-card-copy>span{overflow-wrap:anywhere}
}

@media(max-width:900px) and (min-width:701px){
  .hero-travel-stamp{
    top:64px;
    right:20px;
    width:108px;
    height:108px;
    font-size:9px;
  }
  .hero-travel-stamp>span,.hero-travel-stamp>strong{max-width:82px}
  .hero-travel-stamp strong{font-size:12px;letter-spacing:.45px;margin-top:6px}
  .hero-travel-stamp::before{left:22px;right:22px;top:34px}
  .hero-travel-stamp::after{left:22px;right:22px;bottom:34px}
}

@media(max-width:700px){
  .country-hero-decor{inset:auto 0 0;height:310px}
  .hero-travel-stamp,.hero-handwriting{display:none}
  .hero-visa-card{
    right:18px;
    left:18px;
    bottom:18px;
    min-width:0;
    gap:13px;
    padding:14px 15px;
    border-radius:15px;
  }
  .hero-eu-flag{width:54px;flex-basis:54px}
  .hero-eu-flag svg{width:54px}
  .hero-visa-card-copy strong{font-size:16px}
  .hero-visa-card-copy>span{font-size:12px}
}


/* Subtle light veil behind the France hero decorations. */
.country-hero-decor::before{
  content:"";
  position:absolute;
  top:28px;
  right:0;
  width:36%;
  height:360px;
  z-index:-1;
  background:
    radial-gradient(
      ellipse at 78% 34%,
      rgba(255,255,255,.15) 0%,
      rgba(255,255,255,.09) 38%,
      rgba(255,255,255,.035) 58%,
      rgba(255,255,255,0) 76%
    );
}

@media(max-width:1180px){
  .country-hero-decor::before{
    width:42%;
    height:300px;
    background:
      radial-gradient(
        ellipse at 80% 32%,
        rgba(255,255,255,.13) 0%,
        rgba(255,255,255,.07) 42%,
        rgba(255,255,255,0) 76%
      );
  }
}

@media(max-width:700px){
  .country-hero-decor::before{display:none}
}

/* France: visa type cards now carry the essential price and timing information. */
.page-country .visa-types.section{padding-top:40px}
.page-country .visa-types .country-panel{border-radius:22px}
.page-country .visa-type{display:flex;flex-direction:column}
.page-country .visa-type-body{flex:1}
.page-country .visa-type-body>div{display:flex;flex-direction:column;min-width:0;width:100%}
.page-country .visa-type-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:auto;padding-top:22px}
.page-country .visa-type-meta span{display:block;padding-top:13px;border-top:1px solid #d9e8f8;min-width:0}
.page-country .visa-type-meta small{display:block;margin-bottom:4px;color:#68809d;font-size:11px;line-height:1.35;font-weight:650;text-transform:uppercase;letter-spacing:.65px}
.page-country .visa-type-meta strong{display:block;color:var(--navy);font-size:16px;line-height:1.4;font-weight:800;letter-spacing:-.2px}
.page-country .visa-type-note{margin:20px 2px 0;color:var(--secondary);font-size:13px;line-height:1.65}

/* France: card framing for “Что сейчас важно учитывать”, based on the approved example. */
.page-country .important-points{gap:14px}
.page-country .important-points>div{
  min-height:118px;
  padding:20px 22px 20px 82px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 30px rgba(27,74,125,.055);
}
.page-country .important-points .point-icon{
  left:20px;
  top:20px;
  width:44px;
  height:44px;
  background:#eef7ff;
  border:1px solid #e1effd;
}
.page-country .important-points .point-icon .icon{width:25px;height:25px}
.page-country .important-points h3{font-size:20px}
.page-country .important-points p{margin-top:7px;font-size:15px;line-height:1.55}
.page-country .important .still-life img{
  mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 8%,#000 100%);
}

@media(max-width:1280px){
  .page-country .visa-type-meta{grid-template-columns:1fr;gap:8px;padding-top:18px}
  .page-country .visa-type-meta span{padding-top:10px}
}
@media(max-width:1024px){
  .page-country .visa-types.section{padding-top:34px}
  .page-country .important-points>div{min-height:0}
  .page-country .important .still-life img{mask-image:none;-webkit-mask-image:none}
}
@media(max-width:700px){
  .page-country .visa-types.section{padding-top:28px}
  .page-country .visa-types .country-panel{border-radius:18px}
  .page-country .visa-type-body>div{display:block}
  .page-country .visa-type-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;padding-top:0}
  .page-country .visa-type-meta span{padding-top:12px}
  .page-country .visa-type-meta strong{font-size:15px}
  .page-country .visa-type-note{font-size:12px;margin-top:18px}
  .page-country .important-points{gap:14px}
  .page-country .important-points>div{padding:20px 18px 20px 74px;border-radius:16px}
  .page-country .important-points .point-icon{left:18px;top:20px;width:40px;height:40px}
  .page-country .important-points .point-icon .icon{width:23px;height:23px}
}

/* France: align the Important-section photo with the shared quiz photo rail
   and blend the two sections vertically instead of using a left-edge blur. */
@media(min-width:1281px){
  .page-country .quiz + .important{
    background:linear-gradient(180deg,#eaf5ff 0,#eef7ff 104px,#eef7ff 100%);
  }
  .page-country .quiz + .important .still-life{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:31%;
    height:100%;
    max-width:none;
    margin:0;
    overflow:hidden;
  }
  .page-country .quiz + .important .still-life img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 42%;
    border-radius:0;
    box-shadow:none;
    -webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.2) 28px,rgba(0,0,0,.62) 62px,#000 110px);
    mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.2) 28px,rgba(0,0,0,.62) 62px,#000 110px);
  }
}

/* Country-page visual system: one calm page canvas, local white cards, and intentional photo accents. */
.page-country{
  --country-canvas:#f4f9fe;
  --country-canvas-deep:#eaf3fb;
  background:var(--country-canvas);
}
.page-country main{background:var(--country-canvas)}

/* The trust row bridges the hero and the content instead of creating a separate white stripe. */
.page-country .trust-strip{
  position:relative;
  z-index:4;
  margin-top:-20px;
  padding:0 0 50px;
  background:transparent;
}
.page-country .trust-grid{
  gap:18px;
  align-items:stretch;
}
.page-country .trust-item{
  position:relative;
  display:block;
  min-height:156px;
  padding:38px 24px 24px;
  text-align:center;
  background:#fff;
  border:1px solid #dce9f8;
  border-radius:20px;
  box-shadow:0 16px 34px rgba(15,62,115,.10);
}
.page-country .trust-item .line-icon{
  position:absolute;
  top:-24px;
  left:50%;
  width:50px;
  height:50px;
  min-width:50px;
  padding:0;
  transform:translateX(-50%);
  border:5px solid #fff;
  border-radius:50%;
  color:#fff;
  background:var(--blue);
  box-shadow:0 7px 18px rgba(0,108,253,.18);
}
.page-country .trust-item .line-icon .icon{width:25px;height:25px;stroke-width:1.7}
.page-country .trust-item h2{font-size:20px;line-height:1.35}
.page-country .trust-item p{max-width:250px;margin:8px auto 0;font-size:14px;line-height:1.55}

/* Local accent panel: keep the blue treatment only where it has a clear container role. */
.page-country .visa-types.section{
  padding-top:22px;
  padding-bottom:68px;
  background:transparent;
}
.page-country .visa-types .country-panel{
  background:#eaf4fd;
  border:1px solid #e0edf8;
}

/* Quiz and advisory section live on the same canvas. Photos are contained objects, not fake section transitions. */
.page-country .quiz{
  margin:0;
  padding-block:76px;
  background:var(--country-canvas);
}
.page-country .quiz::after{display:none}
.page-country .important{
  background:var(--country-canvas);
  padding-block:76px;
}

@media(min-width:1281px){
  .page-country .quiz::before{
    top:48px;
    right:0;
    bottom:48px;
    width:31%;
    height:auto;
    background-image:var(--quiz-photo);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border-radius:24px 0 0 24px;
    -webkit-mask-image:none;
    mask-image:none;
    opacity:1;
  }
  .page-country .quiz + .important{
    background:var(--country-canvas);
  }
  .page-country .quiz + .important .still-life{
    top:48px;
    right:0;
    bottom:48px;
    width:31%;
    height:auto;
    overflow:hidden;
    border-radius:24px 0 0 24px;
  }
  .page-country .quiz + .important .still-life img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 42%;
    border-radius:24px 0 0 24px;
    box-shadow:none;
    -webkit-mask-image:none;
    mask-image:none;
  }
}

/* One photographic accent is allowed to break the canvas deliberately. */
.page-country .problems.section{
  margin-top:18px;
  border-top:0;
}
.page-country .problems.section::before{display:none}

/* Long informational blocks return to the same neutral canvas instead of alternating white/blue bands. */
.page-country .process,
.page-country .cases,
.page-country .faq{
  background:var(--country-canvas);
}
.page-country .process{padding-block:76px}
.page-country .cases{padding-top:58px;padding-bottom:86px}
.page-country .faq{padding-top:82px;padding-bottom:112px}

/* Finish on a deliberate photo CTA, then one slightly deeper footer tone. */
.page-country .site-footer{background:var(--country-canvas-deep)}

@media(max-width:1280px){
  .page-country .trust-strip{margin-top:-16px;padding-bottom:44px}
  .page-country .trust-item{min-height:148px;padding:34px 18px 22px}
  .page-country .trust-item h2{font-size:18px}
  .page-country .trust-item p{font-size:13px}
  .page-country .quiz,.page-country .important{background:var(--country-canvas)}
}
@media(max-width:1024px){
  .page-country .trust-strip{margin-top:0;padding:28px 0 38px}
  .page-country .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 16px}
  .page-country .trust-item{min-height:132px}
  .page-country .visa-types.section{padding-top:20px;padding-bottom:54px}
  .page-country .quiz,.page-country .important{padding-block:64px}
  .page-country .problems.section{margin-top:0}
}
@media(max-width:700px){
  .page-country .trust-strip{margin-top:0;padding:34px 0 38px}
  .page-country .trust-grid{grid-template-columns:1fr 1fr;gap:28px 12px}
  .page-country .trust-item{min-height:0;padding:31px 13px 18px;border-radius:16px}
  .page-country .trust-item .line-icon{top:-18px;width:42px;height:42px;min-width:42px;border-width:4px}
  .page-country .trust-item .line-icon .icon{width:21px;height:21px}
  .page-country .trust-item h2{font-size:15px;letter-spacing:-.2px}
  .page-country .trust-item p{font-size:12px;line-height:1.5;margin-top:6px}
  .page-country .visa-types.section{padding-bottom:44px}
  .page-country .quiz,.page-country .important{padding-block:54px}
  .page-country .process{padding-block:58px}
  .page-country .cases{padding-block:50px 64px}
  .page-country .faq{padding-block:62px 96px}
}

@media(max-width:1500px){
  .hero-visa-card-inline{position:static;right:auto;bottom:auto}
}
@media(max-width:1180px){
  .hero-visa-card-inline{position:static;right:auto;bottom:auto}
}
@media(max-width:700px){
  .hero-visa-card-inline{
    position:static;
    right:auto;
    left:auto;
    bottom:auto;
    width:100%;
    min-width:0;
    margin-bottom:18px;
  }
}

/* Country pages — tablet/mobile hero safety.
   The master hero stays unchanged on desktop. On tablet the portrait becomes
   a separate visual panel so the recurring traveller never sits on top of copy. */
@media(max-width:1024px) and (min-width:701px){
  .page-country .hero{
    min-height:0;
    display:flex;
    flex-direction:column;
    background:#f1f8ff;
    overflow:hidden;
  }
  .page-country .hero-inner{
    min-height:0;
    order:0;
    position:relative;
    z-index:2;
  }
  .page-country .hero-content{
    width:100%;
    max-width:720px;
    padding:44px 0 36px;
  }
  .page-country .hero h1{
    font-size:clamp(46px,6vw,56px);
    line-height:1.1;
  }
  .page-country .hero-description{max-width:650px}
  .page-country .hero-benefits{max-width:620px}
  .page-country .hero-photo{
    position:relative;
    inset:auto;
    order:1;
    z-index:0;
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:72% top;
  }
  .page-country .hero-wash{
    inset:auto 0 365px;
    width:100%;
    height:72px;
    z-index:1;
    background:linear-gradient(0deg,transparent,#f1f8ff);
    pointer-events:none;
  }
  .page-country .country-hero-decor{z-index:3}
  .page-country .hero-handwriting{display:none}
  .page-country .hero-travel-stamp{
    top:auto;
    right:28px;
    bottom:254px;
    width:126px;
    height:126px;
    border-width:2px;
    background:rgba(255,255,255,.9);
    color:#006cfd;
    transform:rotate(-6deg);
    font-size:9px;
    line-height:1.08;
    letter-spacing:.8px;
    text-shadow:none;
    box-shadow:inset 0 0 0 4px rgba(0,108,253,.12),0 8px 20px rgba(2,17,45,.10);
  }
  .page-country .hero-travel-stamp>span,
  .page-country .hero-travel-stamp>strong{
    max-width:92px;
    padding-inline:2px;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .page-country .hero-travel-stamp>span{
    font-size:9px;
    line-height:1.12;
  }
  .page-country .hero-travel-stamp strong{
    margin-top:8px;
    font-size:12px;
    line-height:1.08;
    letter-spacing:.35px;
  }
  .page-country .hero-travel-stamp::before,
  .page-country .hero-travel-stamp::after{display:none}
}

/* Compact trust cards on narrow phones: icons stay inside the card instead of floating above it. */
@media(max-width:700px){
  .page-country .trust-strip{padding:24px 0 34px;overflow:hidden}
  .page-country .trust-grid{gap:12px}
  .page-country .trust-item{display:block;min-width:0;min-height:118px;padding:13px 12px 14px;text-align:left}
  .page-country .trust-item .line-icon{position:static;transform:none;width:34px;height:34px;min-width:34px;margin:0 0 9px;padding:0;border:0;box-shadow:none}
  .page-country .trust-item .line-icon .icon{width:18px;height:18px}
  .page-country .trust-item h2{font-size:14px;line-height:1.32;letter-spacing:-.15px}
  .page-country .trust-item p{max-width:none;margin:5px 0 0;font-size:11.5px;line-height:1.45}
}
