
:root{
  --navy:#062e52;
  --blue:#005d85;
  --deep:#004d73;
  --orange:#ff6b00;
  --orange2:#ff9f1c;
  --cream:#fff8ee;
  --cream2:#fff2df;
  --text:#062e52;
  --muted:#2b4a66;
  --card:#ffffff;
  --shadow:0 14px 36px rgba(12,39,64,.12);
  --radius:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--cream);
}
a{text-decoration:none;color:inherit}
.container{width:min(1320px, calc(100% - 80px));margin:0 auto}

/* Header */
.topbar{
  min-height:78px;background:#fff;display:flex;align-items:center;
  box-shadow:0 1px 0 rgba(0,0,0,.05);position:relative;z-index:10;
}
.nav{display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--navy);font-size:26px;letter-spacing:-.4px;white-space:nowrap}
.logo-icon{width:74px;height:54px;flex:0 0 74px}
.menu{display:flex;align-items:center;gap:31px;font-size:14px;color:#001f3f;font-weight:700}
.menu a{padding:30px 0 24px;position:relative}
.menu a.active:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:3px;background:var(--orange);border-radius:99px}

/* Hero homepage */
.hero{
  position:relative;min-height:610px;color:#fff;overflow:hidden;
  background:
    linear-gradient(90deg, rgba(0,55,87,.96) 0%, rgba(0,74,108,.86) 36%, rgba(0,91,130,.36) 58%, rgba(0,71,108,.05) 100%),
    url("../img/croatia-hero.jpg");
  background-size:cover;background-position:center right;
}
.hero-inner{padding-top:52px}
.script-title{
  font-family:"Comic Sans MS","Trebuchet MS",cursive;color:var(--orange2);font-size:26px;font-weight:700;
  display:inline-block;padding-bottom:6px;border-bottom:3px solid var(--orange2);margin-bottom:22px;transform:rotate(-1deg)
}
.hero h1{
  margin:0;font-size:72px;line-height:.98;letter-spacing:-3px;font-weight:1000;color:#fff;
  text-shadow:0 4px 0 rgba(0,0,0,.12);max-width:690px
}
.hero h1 .orange{color:var(--orange)}
.hero-sub{margin:28px 0 0;font-size:20px;line-height:1.35;font-weight:500;max-width:650px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.28)}
.hero-buttons{display:flex;gap:24px;margin-top:28px;align-items:center;flex-wrap:wrap}
.btn{
  min-height:62px;display:inline-flex;align-items:center;gap:14px;padding:0 30px;border-radius:9px;
  font-weight:900;font-size:18px;box-shadow:0 10px 22px rgba(0,0,0,.12)
}
.btn-orange{background:var(--orange);color:#fff}
.btn-outline{color:#fff;border:2px solid rgba(255,255,255,.9);background:rgba(0,35,55,.16);box-shadow:none}
.trust-row{display:flex;gap:44px;margin-top:42px;flex-wrap:wrap}
.trust-item{display:flex;gap:14px;align-items:flex-start;color:#fff;min-width:210px}
.trust-icon{width:34px;height:34px;flex:0 0 34px}
.trust-item strong{display:block;font-size:16px;margin-bottom:4px}
.trust-item span{font-size:14px;opacity:.96;color:#fff}
.wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:95px;display:block}

/* Inner page hero */
.page-hero{
  position:relative;color:#fff;overflow:hidden;min-height:360px;
  background:
    linear-gradient(90deg, rgba(0,60,92,.96), rgba(0,83,121,.8), rgba(0,83,121,.22)),
    url("../img/croatia-hero.jpg");
  background-size:cover;background-position:center center;
}
.page-hero .page-inner{padding:52px 0 100px;max-width:780px}
.page-hero h1{font-size:54px;line-height:1.02;margin:16px 0;letter-spacing:-2px;color:#fff}
.page-hero p{font-size:22px;line-height:1.35;max-width:690px;margin:0}

/* Homepage tools */
.tools-section{
  position:relative;
  background:
    radial-gradient(circle at top right, rgba(255,139,0,.14), transparent 30%),
    linear-gradient(180deg,var(--cream) 0%, #fff6e9 100%);
  padding:34px 0 40px;
  overflow:visible;
}
.tools-section:before{
  content:"";
  position:absolute;
  top:-86px;
  right:0;
  width:420px;
  height:170px;
  background:linear-gradient(180deg,var(--cream) 0%, #fff6e9 100%);
  border-top-left-radius:100% 80px;
  z-index:0;
}
.sun-big{position:absolute;top:-46px;right:9%;width:170px;height:118px;z-index:2}
.section-heading{text-align:center;margin:0 auto 28px;position:relative;z-index:2}
.section-heading h2{margin:0;color:var(--navy);font-size:32px;font-weight:950;letter-spacing:-.7px}
.section-heading p{margin:9px 0 0;color:#213c58;font-size:18px}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;position:relative;z-index:2}
.tool-card{
  background:#fff;border-radius:13px;min-height:192px;padding:28px 28px 24px;
  display:grid;grid-template-columns:82px 1fr;gap:20px;align-items:flex-start;box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.7);transition:transform .2s ease, box-shadow .2s ease
}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(12,39,64,.16)}
.tool-icon{width:72px;height:72px}
.tool-card h3{margin:0 0 13px;color:var(--navy);font-size:23px;line-height:1.08;letter-spacing:-.3px}
.tool-card p{margin:0;color:#12304c;font-size:14px;line-height:1.55}
.use-link{display:inline-block;margin-top:18px;color:var(--orange);font-size:14px;font-weight:900}

/* Content pages */
.page-main{background:linear-gradient(180deg,var(--cream) 0%,#fff7ed 100%);padding:0 0 60px}
.content-grid{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);gap:24px;align-items:start;margin-top:-55px;position:relative;z-index:2
}
.card{
  background:#fff;border-radius:16px;padding:28px;box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.75)
}
.calculator{background:linear-gradient(180deg,#fffdf8,#fff);border:1px solid #f3dfbf}
.side-card{position:sticky;top:22px}
h2{color:var(--navy);font-size:31px;line-height:1.08;letter-spacing:-.6px;margin:0 0 14px}
h3{color:var(--navy);font-size:22px;line-height:1.15;margin:28px 0 9px}
p{color:#12304c;line-height:1.62}
label{display:block;font-weight:900;color:var(--navy);margin:14px 0 7px}
input,select{
  width:100%;height:48px;border:1px solid #d7e1ea;border-radius:10px;background:#fff;padding:0 13px;font-size:16px;color:var(--navy)
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
button.calculate{
  width:100%;min-height:54px;border:0;border-radius:9px;background:var(--orange);color:#fff;
  font-weight:900;font-size:17px;margin-top:20px;cursor:pointer;box-shadow:0 10px 22px rgba(255,107,0,.25)
}
.result{display:none;margin-top:20px;background:#fff;border:1px solid #cce9df;border-radius:14px;padding:18px}
.result strong{display:block;color:#087f5b;font-size:34px;margin-top:4px}
.breakdown{list-style:none;padding:0;margin:14px 0 0}
.breakdown li{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #edf2f7;padding:8px 0;color:#12304c}
.note{font-size:14px;color:#58708a}
.side-card a{display:block;padding:10px 0;color:var(--blue);font-weight:900;border-bottom:1px solid #edf2f7}
.pillbox{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 22px}
.pill{background:#e7f6fb;color:#064665;border:1px solid #c5e9f3;border-radius:999px;padding:8px 12px;font-weight:900;font-size:14px}
.info-card{margin-top:24px}
table{width:100%;border-collapse:separate;border-spacing:0;margin:18px 0;border:1px solid #e4e8ee;border-radius:12px;overflow:hidden}
th,td{padding:12px;border-bottom:1px solid #e4e8ee;text-align:left;vertical-align:top;color:#12304c}
th{background:#f8fafc;color:var(--navy)}
tr:last-child td{border-bottom:0}
.cta-box{
  margin:26px 0;background:linear-gradient(135deg,#004b72,#006c9d);color:#fff;border-radius:14px;padding:22px
}
.cta-box p,.cta-box a{color:#fff}
.warning{background:#fff1f0;border:1px solid #ffccc7;border-radius:14px;padding:14px;color:#7a271a;font-weight:900;margin-top:14px}

/* Smart section */
.smart-section{background:linear-gradient(180deg,#fff6e9 0%,#fff7ed 100%);padding:22px 0 58px}
.smart-grid{display:grid;grid-template-columns:440px 1fr;gap:70px;align-items:center}
.photo-card{
  position:relative;height:285px;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);
  background:url("../img/croatia-cove.jpg");
  background-size:cover;background-position:center
}
.stamp{
  position:absolute;left:-28px;bottom:12px;width:126px;height:126px;border-radius:50%;border:4px solid #074268;background:rgba(255,248,238,.9);
  display:flex;align-items:center;justify-content:center;color:#074268;font-weight:900;transform:rotate(-14deg);font-size:16px;text-align:center;line-height:1.1
}
.stamp:before{content:"⚓";display:block;position:absolute;font-size:42px;top:34px;left:42px}
.stamp span{position:relative;top:35px}
.smart-copy h2{margin:0;color:var(--navy);font-size:34px;line-height:1.05;letter-spacing:-.7px;font-weight:950}
.smart-copy .script{font-family:"Comic Sans MS","Trebuchet MS",cursive;color:var(--orange);font-size:34px;display:block;margin-top:2px;transform:rotate(-1deg)}
.smart-copy p{margin:20px 0 32px;color:#12304c;font-size:16px;line-height:1.55;max-width:520px}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.benefit{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start;border-right:1px dashed rgba(6,46,82,.28);padding-right:14px}
.benefit:last-child{border-right:0}
.benefit-icon{width:38px;height:38px}
.benefit strong{display:block;color:var(--navy);font-size:14px}
.benefit span{display:block;color:#12304c;font-size:13px;line-height:1.35;margin-top:4px}

/* Footer */
.footer{position:relative;background:linear-gradient(135deg,#004b72 0%,#003e61 100%);color:#fff;padding:70px 0 24px;overflow:hidden}
.footer-wave{position:absolute;left:0;top:-1px;width:100%;height:72px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1.2fr 1.6fr;gap:46px;align-items:start}
.footer-brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:21px}
.footer-brand svg{width:58px;height:42px}
.footer p{margin:18px 0 18px;font-size:15px;line-height:1.5;color:#fff}
.socials{display:flex;gap:12px}
.socials span{width:28px;height:28px;border:1.5px solid rgba(255,255,255,.85);border-radius:50%;display:grid;place-items:center;font-size:14px}
.footer h3{margin:0 0 18px;font-size:17px;color:#fff}
.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:10px 36px;font-size:15px}
.newsletter{display:flex;margin-top:18px;max-width:430px}
.newsletter input{flex:1;height:50px;border:0;border-radius:7px 0 0 7px;padding:0 18px;font-size:14px}
.newsletter button{width:120px;border:0;background:var(--orange);color:#fff;font-weight:900;border-radius:0 7px 7px 0;cursor:pointer}
.copyright{text-align:center;margin-top:35px;font-size:13px;opacity:.95;color:#fff}

/* Responsive */
@media(max-width:1050px){
  .container{width:min(100% - 32px,1120px)}
  .menu{gap:16px;font-size:13px}
  .hero h1{font-size:58px}
  .page-hero h1{font-size:46px}
  .tools-grid{grid-template-columns:1fr 1fr}
  .smart-grid{grid-template-columns:1fr;gap:34px}
  .photo-card{max-width:520px}
  .benefits{grid-template-columns:1fr}
  .benefit{border-right:0}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
  .topbar{height:auto;padding:14px 0}
  .nav{align-items:flex-start;gap:14px;flex-direction:column}
  .menu{gap:14px;flex-wrap:wrap;line-height:1.2}
  .menu a{padding:0}
  .menu a.active:after{display:none}
  .hero{min-height:auto;background-position:center}
  .hero-inner{padding:42px 0 110px}
  .script-title{font-size:21px}
  .hero h1{font-size:44px;letter-spacing:-1.5px}
  .hero-sub{font-size:20px}
  .btn{width:100%;justify-content:center}
  .trust-row{gap:20px}
  .trust-item{min-width:100%}
  .sun-big{display:none}
  .tools-grid{grid-template-columns:1fr}
  .tool-card{grid-template-columns:70px 1fr;padding:22px}
  .content-grid{grid-template-columns:1fr;margin-top:-45px}
  .side-card{position:static}
  .page-hero .page-inner{padding:42px 0 92px}
  .page-hero h1{font-size:38px;letter-spacing:-1.2px}
  .page-hero p{font-size:19px}
  .form-row{grid-template-columns:1fr}
}
@media(max-width:560px){
  .container{width:min(100% - 24px,1120px)}
  .logo{font-size:21px}
  .logo-icon{width:58px;height:42px;flex-basis:58px}
  .menu{font-size:13px}
  .hero h1{font-size:39px}
  .hero-sub{font-size:18px}
  .tool-card{grid-template-columns:58px 1fr;gap:16px}
  .tool-icon{width:56px;height:56px}
  .tool-card h3{font-size:20px}
  .card{padding:22px}
  .smart-copy h2{font-size:30px}
  .smart-copy .script{font-size:30px}
  .newsletter{display:block}
  .newsletter input,.newsletter button{width:100%;border-radius:7px}
  .newsletter button{height:50px;margin-top:8px}
}


/* --- Alignment correction patch --- */
.hero .hero-sub,
.hero .hero-sub *,
.hero .trust-item,
.hero .trust-item span,
.hero .trust-item strong{
  color:#fff;
}

.hero-inner{
  margin-left:auto !important;
  margin-right:auto !important;
}

@media(max-width:1050px){
  .container{width:min(100% - 32px,1120px)}
}

@media(max-width:820px){
  .hero{
    background:
      linear-gradient(180deg, rgba(0,55,87,.88) 0%, rgba(0,65,95,.78) 55%, rgba(0,65,95,.70) 100%),
      url("../img/croatia-hero.jpg");
    background-size:cover;
    background-position:center center;
  }

  .hero-inner{
    max-width:100%;
  }

  .tools-section:before{
    display:none;
  }
}

@media(max-width:560px){
  .container{width:min(100% - 24px,1120px)}
  .hero-inner{padding-top:36px}
  .hero h1{font-size:38px;line-height:1.03}
  .hero-sub{font-size:18px;line-height:1.45}
}


/* --- Wave / trust row / cream patch fix --- */

/* Keep hero text content above decorative wave */
.hero-inner{
  position:relative;
  z-index:2;
  padding-bottom:135px;
}

/* The wave should stay decorative, not cover the trust row */
.hero .wave{
  z-index:1;
  height:76px;
  bottom:-1px;
}

/* Give the trust row enough breathing room above the wave */
.trust-row{
  margin-top:38px;
  margin-bottom:32px;
  position:relative;
  z-index:3;
}

/* Make the cream background continue behind the sun/waves mark */
.tools-section{
  margin-top:-1px;
}

.tools-section:before{
  top:-112px;
  right:0;
  width:520px;
  height:220px;
  background:linear-gradient(180deg,var(--cream) 0%, #fff6e9 100%);
  border-top-left-radius:100% 120px;
  z-index:1;
}

.sun-big{
  z-index:3;
}

/* Keep heading/cards above the cream patch */
.section-heading,
.tools-grid{
  position:relative;
  z-index:4;
}

/* Desktop: keep hero from becoming too short after adding bottom padding */
.hero{
  min-height:680px;
}

/* Tablet/mobile: reduce wave overlap and keep trust readable */
@media(max-width:820px){
  .hero-inner{
    padding-bottom:110px;
  }

  .hero .wave{
    height:60px;
  }

  .trust-row{
    margin-bottom:22px;
  }

  .hero{
    min-height:auto;
  }
}

@media(max-width:560px){
  .hero-inner{
    padding-bottom:96px;
  }

  .hero .wave{
    height:50px;
  }
}


/* --- Remove bad overlapping stamp on coastal photo --- */
.photo-card .stamp{
  display:none !important;
}

.photo-card{
  overflow:hidden;
}


/* --- Legal / cookie consent --- */
.footer a{
  color:#fff;
  text-decoration:none;
}
.footer a:hover{
  text-decoration:underline;
}

.legal-page{
  background:linear-gradient(180deg,var(--cream) 0%, #fff7ed 100%);
  padding:48px 0 70px;
}

.legal-card{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border-radius:16px;
  padding:34px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.75);
}

.legal-card h1{
  color:var(--navy);
  font-size:44px;
  line-height:1.05;
  margin:0 0 18px;
  letter-spacing:-1.2px;
}

.legal-card h2{
  margin-top:30px;
}

.legal-card p,
.legal-card li{
  color:#12304c;
  line-height:1.7;
}

.legal-card ul{
  padding-left:22px;
}

.cookie-banner{
  position:fixed;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:9999;
  max-width:980px;
  margin:0 auto;
  background:#fff;
  border:1px solid #e4e8ee;
  border-radius:16px;
  box-shadow:0 18px 55px rgba(6,46,82,.22);
  padding:18px;
  display:none;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.cookie-banner.show{
  display:flex;
}

.cookie-text{
  display:grid;
  gap:5px;
}

.cookie-text strong{
  color:var(--navy);
  font-size:16px;
}

.cookie-text span{
  color:#12304c;
  font-size:14px;
  line-height:1.45;
}

.cookie-actions{
  display:flex;
  gap:10px;
  flex:0 0 auto;
}

.cookie-btn{
  border:0;
  border-radius:9px;
  min-width:92px;
  height:42px;
  font-weight:900;
  cursor:pointer;
}

.cookie-accept{
  background:var(--orange);
  color:#fff;
}

.cookie-reject{
  background:#eef3f7;
  color:var(--navy);
}

@media(max-width:720px){
  .cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
    display:none;
    align-items:stretch;
    flex-direction:column;
  }

  .cookie-banner.show{
    display:flex;
  }

  .cookie-actions{
    width:100%;
  }

  .cookie-btn{
    width:100%;
  }

  .legal-card{
    padding:24px;
  }

  .legal-card h1{
    font-size:34px;
  }
}


/* --- Newsletter anti-spam honeypot --- */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* --- Email capture (high conversion block) --- */
.email-capture-box{
  margin-top:28px;
  padding:24px;
  border-radius:14px;
  background:linear-gradient(135deg,#004b72,#006c9d);
  color:#fff;
  box-shadow:0 14px 40px rgba(6,46,82,.25);
}

.email-capture-box h3{
  margin:0 0 10px;
  font-size:22px;
}

.email-capture-box p{
  margin:0 0 16px;
  font-size:15px;
  line-height:1.5;
  color:#e6f4ff;
}

.email-capture-form{
  display:flex;
  gap:10px;
  margin-bottom:8px;
}

.email-capture-form input{
  flex:1;
  height:48px;
  border-radius:8px;
  border:0;
  padding:0 14px;
  font-size:14px;
}

.email-capture-form button{
  background:#ff6b00;
  color:#fff;
  border:0;
  padding:0 18px;
  border-radius:8px;
  font-weight:900;
  cursor:pointer;
}

.email-capture-box small{
  opacity:.85;
  font-size:12px;
}

@media(max-width:600px){
  .email-capture-form{
    flex-direction:column;
  }

  .email-capture-form button{
    height:48px;
  }
}

/* --- HIGH CONVERSION MONEY BLOCK --- */

.money-box{
  margin-top:24px;
  padding:24px;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border:1px solid #e4e8ee;
  box-shadow:0 18px 50px rgba(6,46,82,.14);
}

.money-box h3{
  margin:0 0 8px;
  color:#062e52;
  font-size:22px;
}

.money-sub{
  margin:0 0 18px;
  color:#58708a;
  font-size:14px;
}

.money-links{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.money-link{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px;
  border-radius:10px;
  background:#f4f8fb;
  text-decoration:none;
  transition:.2s;
}

.money-link span{
  font-weight:800;
  color:#062e52;
}

.money-link small{
  color:#005d85;
  font-weight:700;
}

.money-link:hover{
  background:#e6f4ff;
  transform:translateX(4px);
}

.money-urgency{
  margin-top:16px;
  padding:10px 12px;
  background:#fff3cd;
  border-radius:8px;
  font-size:13px;
  color:#856404;
  font-weight:600;
}

.money-disclaimer{
  display:block;
  margin-top:10px;
  font-size:12px;
  color:#8a9aad;
}

.webcam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.webcam-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.webcam-card a {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.money-link {
  color: #ff6a00;
}

.mini-links {
  margin-top: 6px;
  font-size: 14px;
}

.mini-links a {
  margin-right: 12px;
  color: #ff6a00;
  font-weight: 600;
}
