
:root{
  --navy:#0c2947;--navy2:#163f69;--gold:#c5a158;--goldsoft:#f8f1e4;--bg:#f3f6f9;
  --ink:#15263a;--muted:#6d7b8b;--line:#dbe4ec;--good:#18725a;--danger:#b63e45;
  --shadow:0 18px 45px rgba(15,39,65,.09);--radius:22px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink)}
button,input,select,textarea{font:inherit}button{cursor:pointer}
.app-shell{min-height:100vh;display:grid;grid-template-columns:285px 1fr}
.sidebar{background:linear-gradient(180deg,var(--navy),#081d32);padding:28px 22px;color:#fff;position:sticky;top:0;height:100vh}
.brand{display:flex;gap:13px;align-items:center;padding:4px 6px 28px}
.brand-mark{width:48px;height:48px;border:1.5px solid var(--gold);border-radius:14px;display:grid;place-items:center;color:var(--gold);font-family:"Playfair Display",serif;font-size:20px}
.brand-name{font-weight:800;font-size:17px}.brand-sub{font-size:12px;color:#b9c8d7;margin-top:3px}
.steps{display:flex;flex-direction:column;gap:8px}.step{border:0;background:transparent;color:#dbe5ef;text-align:left;border-radius:15px;padding:12px;display:flex;gap:12px;align-items:center;width:100%}
.step>span{width:31px;height:31px;border-radius:50%;border:1px solid #6c8298;display:grid;place-items:center;font-weight:700;font-size:12px}
.step div{display:flex;flex-direction:column;gap:3px}.step b{font-size:13px}.step small{font-size:11px;color:#97aabf}
.step.active{background:rgba(255,255,255,.10)}.step.active>span{background:var(--gold);color:#16263a;border-color:var(--gold)}.step.active small{color:#dbe5ef}
.sidebar-note{position:absolute;bottom:24px;left:22px;right:22px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(255,255,255,.05)}
.sidebar-note b{font-size:13px}.sidebar-note p{font-size:11px;line-height:1.55;margin:8px 0 0;color:#b7c5d3}
.content{padding:30px 42px 60px;max-width:1500px;width:100%}
.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.topbar h1{margin:0;font-size:30px}.topbar p{margin:6px 0 0;color:var(--muted)}
.top-actions,.inline-actions{display:flex;gap:10px}.panel{display:none;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.panel.active{display:block}
.panel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:28px}.panel-head h2{font-size:24px;margin:5px 0 7px}.panel-head p{margin:0;color:var(--muted)}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--gold)}
.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.field{display:flex;flex-direction:column;gap:8px}.field>span{font-size:12px;font-weight:700;color:#405064}
.field input,.field select,.field textarea{border:1px solid #d5e0e8;border-radius:12px;padding:13px 14px;background:#fff;color:var(--ink);outline:none;width:100%}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#8ba8c4;box-shadow:0 0 0 4px rgba(47,98,148,.08)}
.btn{border:1px solid #ccd7e2;background:#fff;padding:11px 17px;border-radius:12px;font-weight:700;color:var(--navy)}.btn.primary{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.primary:hover{background:var(--navy2)}.btn.small{padding:8px 12px;font-size:12px}.btn.big{padding:13px 20px}.btn:disabled{opacity:.55;cursor:not-allowed}
.footer-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:28px;padding-top:22px}
.children-box,.markup-box{margin:24px 0;border:1px solid var(--line);border-radius:17px;padding:18px;background:#fbfcfd}.markup-box{border-color:#eadfc6;background:linear-gradient(180deg,#fffdf8,#fbfcfd)}
.section-row{display:flex;justify-content:space-between;gap:15px;align-items:center}.section-row h3{margin:0;font-size:15px}.section-row p{margin:5px 0 0;font-size:12px;color:var(--muted)}
.children-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.child-chip{display:flex;gap:6px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 8px}.child-chip input{width:90px;border:0;outline:none}.child-chip button{border:0;background:#eef2f6;border-radius:8px;width:26px;height:26px}
.markup-preview{padding:9px 13px;border-radius:10px;background:var(--navy);color:#fff;font-size:12px;font-weight:800}
.upload-zone{border:2px dashed #c5d2de;border-radius:20px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(180deg,#fbfdff,#f7fafc);transition:.2s}.upload-zone:hover,.upload-zone.drag{border-color:var(--gold);background:#fffdf8}.upload-zone input{display:none}.upload-icon{width:52px;height:52px;border-radius:16px;background:var(--navy);color:#fff;font-size:26px;display:grid;place-items:center;margin-bottom:12px}.upload-zone h3{margin:0;font-size:16px}.upload-zone p{margin:7px 0 0;color:var(--muted);font-size:12px}
.screen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:18px}.screen-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;position:relative}.screen-card img{display:block;width:100%;height:150px;object-fit:cover}.screen-card footer{padding:10px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen-card button{position:absolute;right:8px;top:8px;border:0;border-radius:50%;width:28px;height:28px;background:rgba(0,0,0,.68);color:#fff}
.analysis-box{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;border:1px solid #eadfc6;background:#fffcf5;border-radius:16px;padding:18px}.analysis-box b{font-size:14px}.analysis-box p{margin:5px 0 0;color:#6b6659;font-size:12px;line-height:1.5}
.progress-wrap{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:14px}.hidden{display:none!important}.progress-top{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.progress{height:9px;background:#e9eef3;border-radius:20px;overflow:hidden}.progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold),#d7b978);transition:.25s}
.error-box{margin-top:16px;border:1px solid #efc7ca;background:#fff7f7;color:#8b2830;border-radius:13px;padding:14px;font-size:12px;line-height:1.5}
.empty-state{text-align:center;padding:50px 20px;border:1px dashed #ccd8e3;border-radius:18px;background:#fbfcfd}.empty-state b{font-size:16px}.empty-state p{font-size:12px;color:var(--muted)}
.hotels-list{display:flex;flex-direction:column;gap:22px}.hotel-editor{border:1px solid var(--line);border-radius:20px;padding:18px;background:#fbfcfd}
.hotel-head{display:grid;grid-template-columns:265px 1fr;gap:20px}.hotel-photo-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;align-self:start}.hotel-photo{width:100%;height:190px;object-fit:cover;display:none}.photo-placeholder{height:190px;display:grid;place-items:center;background:linear-gradient(135deg,#e8eef3,#dce6ee);color:#7b8b9a;font-size:11px}.hotel-photo-card small{display:block;padding:9px 10px;color:var(--muted);font-size:10px}
.hotel-title-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.hotel-index{font-weight:800;font-size:15px}.source-name{display:block;color:var(--muted);margin-top:4px}.ai-badge{font-size:10px;font-weight:800;color:var(--good);background:#e9f6f1;border-radius:30px;padding:7px 10px}
.hotel-fields{grid-template-columns:minmax(0,1fr) 120px;margin-bottom:14px}
.rooms-title-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding-top:17px}.rooms-title-row h3{margin:0;font-size:14px}.rooms-title-row p{margin:4px 0 0;color:var(--muted);font-size:11px}
.rooms-list{display:flex;flex-direction:column;gap:10px;margin-top:13px}.room-editor{display:grid;grid-template-columns:1.35fr 1fr .9fr .68fr .72fr 36px;gap:10px;align-items:end;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.room-editor .field>span{font-size:10px}.room-editor input{padding:11px 10px}.remove-room{height:42px;border:0;border-radius:10px;background:#f5e9ea;color:var(--danger);font-size:18px}.room-calc{grid-column:1/-1;background:var(--goldsoft);border-radius:9px;padding:8px 10px;font-size:10px;color:#74654a}
.offer-paper{background:#fff;max-width:950px;margin:0 auto;min-height:1100px;box-shadow:0 20px 60px rgba(11,31,50,.15);border-radius:3px;overflow:hidden}
.offer-cover{background:linear-gradient(130deg,#0d2743 0%,#173f68 72%,#254f77 100%);color:#fff;padding:42px 48px 36px;position:relative}.offer-cover:after{content:"";position:absolute;right:-80px;top:-120px;width:330px;height:330px;border:1px solid rgba(199,164,93,.45);border-radius:50%}
.offer-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.offer-brand .mark{width:44px;height:44px;border:1.5px solid var(--gold);border-radius:12px;display:grid;place-items:center;color:var(--gold);font-family:"Playfair Display",serif;font-size:18px}.offer-brand b{font-size:15px}.offer-brand small{display:block;color:#c5d2de;margin-top:3px}
.offer-title{position:relative;z-index:1;margin-top:50px}.offer-title .kicker{color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.16em}.offer-title h1{font-family:"Playfair Display",serif;font-size:38px;margin:8px 0}.offer-title p{margin:0;color:#dbe5ef}
.offer-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px;position:relative;z-index:1}.summary-box{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:12px}.summary-box small{display:block;color:#aebfd0;font-size:10px;margin-bottom:4px}.summary-box b{font-size:12px}
.offer-body{padding:34px 48px 44px}.offer-intro{display:flex;justify-content:space-between;gap:20px;align-items:end;padding-bottom:20px;border-bottom:1px solid var(--line)}.offer-intro h2{font-size:22px;margin:0}.offer-intro p{font-size:12px;margin:6px 0 0;color:var(--muted)}.offer-date{font-size:11px;color:var(--muted)}
.offer-hotel{display:grid;grid-template-columns:235px 1fr;gap:22px;padding:26px 0;border-bottom:1px solid var(--line);break-inside:avoid}.offer-hotel img{width:235px;height:175px;object-fit:cover;border-radius:15px}.offer-hotel .placeholder{width:235px;height:175px;border-radius:15px;background:linear-gradient(140deg,#e8eef4,#dbe4ec);display:grid;place-items:center;color:#8192a3;font-size:12px}
.offer-hotel h3{font-size:20px;margin:0}.offer-stars{color:var(--gold);font-size:14px;letter-spacing:2px;margin-top:4px}.offer-hotel-note{font-size:11px;color:var(--muted);margin:7px 0 12px}
.offer-room-table{width:100%;border-collapse:collapse;font-size:10px}.offer-room-table th{text-align:left;color:#758291;font-size:9px;padding:7px 8px;border-bottom:1px solid var(--line)}.offer-room-table td{padding:9px 8px;border-bottom:1px solid #edf1f4}.offer-room-table td:last-child{text-align:right;font-weight:800;color:var(--navy);font-size:12px;white-space:nowrap}
.offer-note{margin-top:26px;background:#f6f8fa;border-radius:14px;padding:15px 17px;font-size:10px;color:#62707d;line-height:1.6}.offer-footer{display:flex;justify-content:space-between;gap:20px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:10px;color:#788491}.offer-footer b{color:var(--navy)}
@media(max-width:1050px){.grid.three{grid-template-columns:1fr 1fr}.hotel-head{grid-template-columns:1fr}.hotel-photo-card{max-width:420px}.room-editor{grid-template-columns:1fr 1fr}.remove-room{grid-column:2;justify-self:end;width:42px}.room-calc{grid-column:1/-1}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.content{padding:20px}.grid.two,.grid.three{grid-template-columns:1fr}.offer-summary{grid-template-columns:1fr 1fr}.offer-hotel{grid-template-columns:1fr}.offer-hotel img,.offer-hotel .placeholder{width:100%;height:240px}.analysis-box{align-items:flex-start;flex-direction:column}.room-editor{grid-template-columns:1fr}}
@media print{
  @page{size:A4;margin:0}
  body{background:#fff}.sidebar,.topbar,.no-print,#panel1,#panel2,#panel3{display:none!important}.content{padding:0;max-width:none}.panel{display:block!important;border:0;box-shadow:none;padding:0;border-radius:0}#panel4{display:block!important}.offer-paper{width:210mm;max-width:none;min-height:297mm;box-shadow:none;margin:0;border-radius:0}.offer-cover,.offer-note{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

.analysis-cost{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid #d9e7df;
  background:#f4faf7;
  border-radius:14px;
  padding:14px 16px;
}
.analysis-cost>div:first-child{display:flex;align-items:baseline;gap:12px}
.analysis-cost span{font-size:11px;font-weight:800;color:#4b665b;text-transform:uppercase;letter-spacing:.06em}
.analysis-cost strong{font-size:22px;color:var(--good)}
.cost-meta{font-size:10px;color:var(--muted);text-align:right;line-height:1.5}

.panel-head-actions{display:flex;align-items:center;gap:10px}
.last-cost{padding:9px 12px;border-radius:11px;background:#f4faf7;border:1px solid #d9e7df;color:#4b665b;font-size:11px}
.last-cost strong{color:var(--good)}


/* V3.4 – logo agenție + PDF pagination fix */
.offer-logo-box{width:88px;height:52px;display:flex;align-items:center;justify-content:flex-start}
.agency-logo{max-width:88px;max-height:52px;object-fit:contain;display:block}
.offer-logo-fallback{width:44px;height:44px}

.offer-title p b{color:#fff;letter-spacing:.04em}

.offer-hotel{display:block;padding:26px 0;border-bottom:1px solid var(--line)}
.offer-hotel-top{display:grid;grid-template-columns:235px 1fr;gap:22px;align-items:start;margin-bottom:14px;break-inside:avoid;page-break-inside:avoid}
.offer-hotel img{width:235px;height:175px;object-fit:cover;border-radius:15px}
.offer-hotel .placeholder{width:235px;height:175px;border-radius:15px;background:linear-gradient(140deg,#e8eef4,#dbe4ec);display:grid;place-items:center;color:#8192a3;font-size:12px}
.offer-hotel-info h3{font-size:20px;margin:0}
.offer-room-table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}
.offer-room-table thead{display:table-header-group}
.offer-room-table tr{break-inside:avoid;page-break-inside:avoid}
.offer-room-table th:nth-child(1), .offer-room-table td:nth-child(1){width:44%}
.offer-room-table th:nth-child(2), .offer-room-table td:nth-child(2){width:18%}
.offer-room-table th:nth-child(3), .offer-room-table td:nth-child(3){width:18%}
.offer-room-table th:nth-child(4), .offer-room-table td:nth-child(4){width:20%}
.offer-room-table td:last-child{text-align:right;font-weight:800;color:var(--navy);font-size:12px;white-space:nowrap}

@media(max-width:850px){
  .offer-hotel-top{grid-template-columns:1fr}
  .offer-hotel img,.offer-hotel .placeholder{width:100%;height:240px}
}

@media print{
  .offer-cover{min-height:auto}
  .offer-brand .agency-logo{max-width:82px;max-height:48px}
  .offer-hotel{display:block !important;break-inside:auto;page-break-inside:auto;padding:20px 0}
  .offer-hotel-top{display:grid;grid-template-columns:165px 1fr;gap:16px;align-items:start;margin-bottom:8px;break-inside:avoid;page-break-inside:avoid}
  .offer-hotel img,.offer-hotel .placeholder{width:165px;height:118px}
  .offer-hotel-info h3{font-size:18px}
  .offer-stars{margin-top:2px}
  .offer-room-table{font-size:9px}
  .offer-room-table th{font-size:8px;padding:5px 6px}
  .offer-room-table td{padding:7px 6px;vertical-align:top}
  .offer-room-table td:last-child{font-size:11px}
  .offer-footer{break-inside:avoid;page-break-inside:avoid}
}

/* V3.4.1 – sigla reală Vacanțe de Vis inclusă în pachet */
.brand-with-logo{display:block;padding-top:2px}
.sidebar-logo-wrap{
  background:#fff;
  border-radius:14px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:190px;
  min-height:92px;
  margin-bottom:8px;
}
.sidebar-logo{
  display:block;
  width:170px;
  max-height:82px;
  object-fit:contain;
}
.brand-sub-only{
  font-size:11px;
  color:#b9c8d7;
  padding-left:5px;
}

.offer-brand{
  display:flex;
  align-items:center;
  position:relative;
  z-index:1;
}
.offer-logo-box{
  width:180px;
  height:96px;
  background:#fff;
  border-radius:14px;
  padding:7px 9px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 25px rgba(0,0,0,.10);
}
.agency-logo{
  width:160px;
  max-width:160px;
  max-height:82px;
  object-fit:contain;
  display:block;
}
@media print{
  .offer-logo-box{
    width:150px;
    height:78px;
    padding:5px 7px;
  }
  .offer-brand .agency-logo{
    width:136px;
    max-width:136px;
    max-height:67px;
  }
}

/* V3.5 – oferte salvate 90 zile */
.save-offer-btn{background:#f8f1e4;border-color:#e6d5ae;color:#745a25}
.modal-backdrop{
  position:fixed;inset:0;background:rgba(4,18,32,.58);z-index:9999;
  display:flex;align-items:center;justify-content:center;padding:24px;
}
.modal-card{
  width:min(920px,96vw);max-height:88vh;overflow:hidden;background:#fff;
  border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.25);display:flex;flex-direction:column;
}
.modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px 26px 18px;border-bottom:1px solid var(--line)}
.modal-head h2{margin:5px 0 6px}.modal-head p{margin:0;color:var(--muted);font-size:12px}
.modal-close{border:0;background:#eef2f5;width:38px;height:38px;border-radius:12px;font-size:24px;color:var(--navy)}
.saved-toolbar{display:flex;gap:10px;padding:16px 26px;border-bottom:1px solid var(--line)}
.saved-toolbar input{flex:1;border:1px solid #d5e0e8;border-radius:12px;padding:12px 14px;outline:none}
.saved-list{overflow:auto;padding:16px 26px 26px;display:flex;flex-direction:column;gap:10px}
.saved-empty{text-align:center;padding:45px 20px;color:var(--muted);font-size:13px}
.saved-row{
  display:grid;grid-template-columns:1.25fr 1.25fr .85fr .85fr auto;
  gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fbfcfd;
}
.saved-row .main b{display:block;font-size:13px}.saved-row .main small,.saved-row .meta small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.saved-row .meta b{font-size:11px}
.saved-actions{display:flex;gap:7px}
.saved-actions button{border:1px solid #ccd7e2;background:#fff;color:var(--navy);border-radius:9px;padding:8px 10px;font-size:11px;font-weight:700}
.saved-actions .delete{color:#a8383f;background:#fff7f7;border-color:#efd0d2}
.toast{
  position:fixed;right:24px;bottom:24px;z-index:10000;background:#0d2743;color:#fff;
  padding:13px 16px;border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.22);font-size:12px;font-weight:700;
}
@media(max-width:850px){
  .saved-row{grid-template-columns:1fr}
  .saved-actions{justify-content:flex-start}
}

/* V3.7 – descrieri hotel 5–6 rânduri din web */
.describe-btn{
  background:#f7f1e5;
  border-color:#e4d2aa;
  color:#725926;
}
.describe-btn:hover{background:#f2e7d1}
.hotel-description-field{margin-top:14px}
.hotel-description-field textarea{
  min-height:128px;
  resize:vertical;
  line-height:1.55;
}
.description-progress{
  margin-top:18px;
  border:1px solid #d9e7df;
  background:#f4faf7;
  border-radius:14px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.description-progress b{font-size:12px;color:#315b4a}
.description-progress p{margin:4px 0 0;font-size:11px;color:var(--muted)}
.description-progress span{font-size:18px;font-weight:800;color:var(--good)}
.offer-description{
  margin:10px 0 13px;
  font-size:11px;
  color:#5d6a78;
  line-height:1.55;
}
@media print{
  .offer-description{
    font-size:9.5px;
    line-height:1.45;
    margin:7px 0 10px;
  }
}


/* V3.8 – copertă nouă aprobată */
.offer-cover.cover-v38{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 52%, rgba(40,93,142,.30), transparent 34%),
    linear-gradient(135deg,#082b50 0%,#0b3765 52%,#123f6b 100%);
  color:#fff;
  padding:0 34px 24px;
  min-height:575px;
}
.offer-cover.cover-v38::before{
  content:"";
  position:absolute;
  right:-95px;
  bottom:78px;
  width:420px;
  height:240px;
  opacity:.14;
  background-image:radial-gradient(circle, rgba(255,255,255,.55) 2px, transparent 2.6px);
  background-size:18px 18px;
  transform:rotate(-9deg);
}
.offer-cover.cover-v38::after{display:none}

.cover-top{
  position:relative;
  height:225px;
  margin:0 -34px;
}
.cover-logo-panel{
  position:absolute;
  left:0;
  top:0;
  z-index:3;
  width:50%;
  height:205px;
  background:#fff;
  border-bottom-right-radius:55% 42%;
  display:flex;
  align-items:flex-start;
  padding:24px 0 0 44px;
}
.cover-logo-panel::after{
  content:"";
  position:absolute;
  right:-10px;
  bottom:-8px;
  width:58%;
  height:12px;
  border-radius:50%;
  background:linear-gradient(90deg,#c59637,#f0ce7b);
  transform:rotate(8deg);
}
.cover-agency-logo{
  width:205px;
  max-height:120px;
  object-fit:contain;
  position:relative;
  z-index:2;
}
.cover-photo-wrap{
  position:absolute;
  top:0;
  right:0;
  width:57%;
  height:225px;
  overflow:hidden;
  border-bottom-left-radius:54% 48%;
  border-bottom:5px solid #d5ae59;
}
.cover-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 44%;
  display:block;
}
.cover-content{
  position:relative;
  z-index:2;
  margin-top:6px;
  max-width:66%;
}
.cover-kicker{
  color:#d8ad51;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  margin-bottom:9px;
}
.cover-kicker::after{
  content:"";
  display:block;
  width:42px;
  height:2px;
  background:#d8ad51;
  margin-top:8px;
}
.cover-destination{
  font-family:"Playfair Display",serif;
  font-size:40px;
  line-height:1.03;
  margin:0;
  color:#fff;
  max-width:650px;
}
.cover-tagline{
  margin-top:4px;
  color:#e5b95b;
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-size:24px;
}
.cover-client{
  margin-top:13px;
  font-size:15px;
  color:#fff;
}
.cover-client strong{
  font-size:14px;
  letter-spacing:.05em;
  margin-right:8px;
}
.cover-summary{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
  margin-top:22px;
}
.cover-summary .summary-box{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.27);
  border-radius:14px;
  padding:11px 12px;
}
.cover-summary .summary-box small{
  color:#d4ddea;
  font-size:9px;
  margin-bottom:5px;
}
.cover-summary .summary-box b{
  font-size:11px;
  line-height:1.25;
}
.summary-icon{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border:1px solid #d9ad50;
  border-radius:50%;
  display:grid;
  place-items:center;
}
.summary-icon svg{
  width:20px;height:20px;
  stroke:#e5b95b;
  stroke-width:1.7;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.cover-thanks{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:14px;
  align-items:center;
  margin:20px auto 0;
  max-width:650px;
  text-align:center;
}
.cover-thanks>span{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(218,174,82,.75));
}
.cover-thanks>span:last-child{
  background:linear-gradient(90deg,rgba(218,174,82,.75),transparent);
}
.cover-thanks strong{
  display:block;
  color:#e5b95b;
  font-size:12px;
}
.cover-thanks small{
  display:block;
  color:#e4ebf3;
  font-size:9px;
  margin-top:4px;
}

@media(max-width:850px){
  .offer-cover.cover-v38{min-height:auto;padding:0 20px 22px}
  .cover-top{height:190px;margin:0 -20px}
  .cover-logo-panel{width:58%;height:170px;padding:20px 0 0 24px}
  .cover-agency-logo{width:155px}
  .cover-photo-wrap{width:60%;height:190px}
  .cover-content{max-width:100%;margin-top:10px}
  .cover-destination{font-size:31px}
  .cover-tagline{font-size:20px}
  .cover-summary{grid-template-columns:1fr 1fr}
}

@media print{
  .offer-cover.cover-v38{
    min-height:122mm;
    padding:0 12mm 6mm;
  }
  .cover-top{
    height:47mm;
    margin:0 -12mm;
  }
  .cover-logo-panel{
    width:51%;
    height:43mm;
    padding:5mm 0 0 11mm;
  }
  .cover-agency-logo{
    width:44mm;
    max-height:25mm;
  }
  .cover-photo-wrap{
    width:58%;
    height:47mm;
    border-bottom-width:1.2mm;
  }
  .cover-content{
    margin-top:1mm;
    max-width:68%;
  }
  .cover-kicker{
    font-size:8pt;
    margin-bottom:1.5mm;
  }
  .cover-kicker::after{
    width:10mm;
    height:.5mm;
    margin-top:1.2mm;
  }
  .cover-destination{
    font-size:25pt;
    line-height:1.02;
  }
  .cover-tagline{
    margin-top:.7mm;
    font-size:14pt;
  }
  .cover-client{
    margin-top:2.5mm;
    font-size:10pt;
  }
  .cover-client strong{font-size:9pt}
  .cover-summary{
    gap:2.5mm;
    margin-top:4mm;
  }
  .cover-summary .summary-box{
    min-height:16mm;
    border-radius:3mm;
    padding:2.2mm 2.5mm;
    gap:2mm;
  }
  .summary-icon{
    width:8mm;height:8mm;
  }
  .summary-icon svg{width:4.7mm;height:4.7mm}
  .cover-summary .summary-box small{font-size:6.5pt}
  .cover-summary .summary-box b{font-size:7.5pt}
  .cover-thanks{
    margin-top:4mm;
    max-width:125mm;
    gap:3mm;
  }
  .cover-thanks strong{font-size:8pt}
  .cover-thanks small{font-size:6.5pt}
}
