/* ==========================================================================
   VeraFinance — estimator, destinations, VeraPay, what to bring / send safely.
   Tokens (colours, rules, easing) come from main.css.
   ========================================================================== */

/* Estimator ---------------------------------------------------------------- */
.estimator{
  display:grid; grid-template-columns:minmax(260px, 0.85fr) 1.4fr;
  gap:clamp(40px, 5vw, 88px); align-items:start;
  margin-inline:var(--inset-x);
}
.estimator > *, .verapay > *, .prepare > *{min-width:0;}
.estimator-form{display:flex; flex-direction:column; gap:34px;}
.estimator-form label{
  display:block; font-size:0.66rem; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--ink-mute); margin-bottom:12px;
}
.estimator-money{display:flex; align-items:flex-end; border-bottom:1px solid var(--rule); transition:border-color .35s var(--ease);}
.estimator-money:focus-within{border-bottom-color:var(--gold);}
.estimator-money input{
  flex:1; min-width:0; width:100%; border:0; background:transparent; padding:6px 0 8px;
  font-family:'Cormorant Garamond', Garamond, Georgia, serif;
  font-size:clamp(2.2rem, 4.6vw, 3.1rem); line-height:1.1; color:var(--ink);
  -moz-appearance:textfield; appearance:textfield;
}
.estimator-money input::-webkit-outer-spin-button,
.estimator-money input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
.estimator-money input:focus{outline:none;}
.estimator-money select, .estimator-field select{
  font-family:inherit; color:var(--ink); background:transparent; border:0; border-radius:0;
  -webkit-appearance:none; appearance:none; cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink-mute) 50%),
                   linear-gradient(135deg,var(--ink-mute) 50%,transparent 50%);
  background-size:5px 5px, 5px 5px; background-repeat:no-repeat;
}
.estimator-money select{
  font-size:0.9rem; letter-spacing:0.14em; padding:10px 26px 14px 12px; min-height:44px;
  background-position:calc(100% - 12px) 19px, calc(100% - 7px) 19px;
}
.estimator-field select{
  width:100%; font-size:1rem; padding:10px 28px 10px 0; min-height:44px;
  border-bottom:1px solid var(--rule);
  background-position:calc(100% - 12px) 20px, calc(100% - 7px) 20px;
}
.estimator-field select:focus, .estimator-money select:focus{outline:none; border-bottom-color:var(--gold);}

.estimator-result{
  position:relative; background:var(--paper); border:1px solid var(--rule-soft);
  padding:clamp(28px, 3.4vw, 48px);
}
#main > section.section:nth-of-type(even) .estimator-result{background:var(--bone);}
.estimator-flag{
  display:inline-block; margin:0 0 22px; padding:5px 10px 4px;
  font-size:0.6rem; letter-spacing:0.18em; text-transform:uppercase;
  color:#7A5A12; background:rgba(168,128,44,.12); border:1px solid rgba(168,128,44,.35);
}
.estimator-label{margin:0 0 8px; font-size:0.66rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--ink-mute);}
.estimator-big{
  margin:0; font-family:'Cormorant Garamond', Garamond, Georgia, serif;
  font-size:clamp(2.6rem, 6vw, 4.2rem); line-height:1.05; color:var(--ink);
  word-break:break-word;
}
.estimator-cur{font-size:.45em; letter-spacing:0.14em; color:var(--gold-deep); vertical-align:0.35em;}
.estimator.is-empty .estimator-big{color:var(--ink-mute);}
.estimator-facts{margin:30px 0 0; border-top:1px solid var(--rule);}
.estimator-facts div{
  display:flex; justify-content:space-between; gap:20px; align-items:baseline;
  padding:14px 0; border-bottom:1px solid var(--rule); font-size:0.92rem;
}
.estimator-facts dt{color:var(--ink-soft);}
.estimator-facts dd{margin:0; color:var(--ink); text-align:right;}
.estimator-facts .is-total dt, .estimator-facts .is-total dd{color:var(--ink); font-weight:500;}
.estimator-actions{margin-top:30px; display:flex; flex-wrap:wrap; align-items:center; gap:20px 28px;}
.estimator-small{flex:1 1 260px; margin:0; font-size:0.74rem; line-height:1.7; color:var(--ink-mute);}

/* Destinations ------------------------------------------------------------- */
.corridors{
  display:grid; grid-template-columns:repeat(3, 1fr);
  border-top:1px solid var(--rule); margin-inline:var(--inset-x);
}
.corridor{padding:38px 34px 40px; border-bottom:1px solid var(--rule); border-right:1px solid var(--rule);}
.corridor:nth-child(3n){border-right:0; padding-right:0;}
.corridor:nth-child(3n+1){padding-left:0;}
.corridor-cur{
  display:inline-block; font-size:0.66rem; letter-spacing:0.2em; color:var(--gold-deep);
  border:1px solid rgba(168,128,44,.45); padding:5px 9px 4px; margin-bottom:22px;
}
.corridor h3{font-size:1.5rem; line-height:1.2; font-weight:500; margin-bottom:10px;}
.corridor p{margin:0; color:var(--ink-soft); font-size:0.92rem; line-height:1.75;}
.corridor .corridor-time{margin-top:8px; color:var(--ink-mute); font-size:0.84rem;}

/* VeraPay ------------------------------------------------------------------ */
.verapay{
  display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(40px, 6vw, 110px); align-items:center;
  margin-inline:var(--inset-x);
}
.verapay-copy .label{display:block; margin-bottom:24px;}
.verapay-copy h2{font-size:clamp(2.1rem, 4.2vw, 3.2rem); line-height:1.1; font-weight:500; margin-bottom:24px;}
.verapay-copy h2 em{color:var(--gold-deep);}
.verapay-lede{color:var(--ink-soft); line-height:1.9; margin-bottom:34px; max-width:46ch;}
.verapay-list{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule);}
.verapay-list li{display:flex; gap:22px; align-items:center; padding:22px 0; border-bottom:1px solid var(--rule);}
.verapay-icon{flex:none; width:38px; height:38px;}
.verapay-list span{color:var(--ink-soft); font-size:0.92rem; line-height:1.6;}
.verapay-list strong{display:block; color:var(--ink); font-weight:500; font-size:1rem; margin-bottom:2px;}

/* What to bring / send safely --------------------------------------------- */
.prepare{display:grid; grid-template-columns:1fr 1fr; gap:clamp(48px, 7vw, 120px); margin-inline:var(--inset-x);}
.prepare-col .label{display:block; margin-bottom:22px;}
.prepare-col h2{font-size:clamp(1.9rem, 3.4vw, 2.6rem); line-height:1.12; font-weight:500; margin-bottom:34px;}
.prepare-list{list-style:none; margin:0; padding:0; counter-reset:prep;}
.prepare-list li{
  counter-increment:prep; position:relative; padding:0 0 26px 58px; margin-bottom:26px;
  border-bottom:1px solid var(--rule); color:var(--ink-soft); font-size:0.94rem; line-height:1.8;
}
.prepare-list li:last-child{border-bottom:0; margin-bottom:0;}
.prepare-list li::before{
  content:counter(prep, decimal-leading-zero); position:absolute; left:0; top:-4px;
  font-family:'Cormorant Garamond', Garamond, Georgia, serif; font-size:1.9rem; color:var(--gold-deep);
}
.prepare-list strong{display:block; color:var(--ink); font-weight:500; margin-bottom:4px;}
.safe-list{list-style:none; margin:0; padding:0;}
.safe-list li{
  position:relative; padding:0 0 22px 34px; margin-bottom:22px; border-bottom:1px solid var(--rule);
  color:var(--ink-soft); font-size:0.94rem; line-height:1.8;
}
.safe-list li:last-child{border-bottom:0; margin-bottom:0;}
.safe-list li::before{
  content:""; position:absolute; left:0; top:7px; width:16px; height:16px;
  background:center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 2.5 3.6v4.2c0 3.2 2.4 5.6 5.5 6.7 3.1-1.1 5.5-3.5 5.5-6.7V3.6Z' fill='none' stroke='%238A6624' stroke-width='1.1'/%3E%3Cpath d='m5.6 8 1.7 1.6 3.2-3.3' fill='none' stroke='%238A6624' stroke-width='1.1'/%3E%3C/svg%3E");
}

/* Responsive --------------------------------------------------------------- */
@media (max-width:980px){
  .estimator, .verapay, .prepare{grid-template-columns:1fr; margin-inline:0;}
  .corridors{grid-template-columns:repeat(2, 1fr); margin-inline:0;}
  .corridor, .corridor:nth-child(3n), .corridor:nth-child(3n+1){padding:34px 28px 36px; border-right:1px solid var(--rule);}
  .corridor:nth-child(2n){border-right:0; padding-right:0;}
  .corridor:nth-child(2n+1){padding-left:0;}
}
@media (max-width:620px){
  .estimator-result{padding:26px 20px;}
  .estimator-facts div{flex-direction:column; gap:4px;}
  .estimator-facts dd{text-align:left;}
  .corridors{grid-template-columns:1fr;}
  .corridor, .corridor:nth-child(n){padding:30px 0 32px; border-right:0;}
}
