@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');

:root{
  --navy:#0a2348;
  --navy-2:#102f5e;
  --ivory:#f8f5ef;
  --paper:#ffffff;
  --gold:#c8a96c;
  --gold-soft:#efe5d3;
  --ink:#15253d;
  --muted:#6d7889;
  --line:#e6e1d8;
  --shadow:0 18px 55px rgba(20,30,48,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:'Tajawal',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}

.topbar{
  width:min(1200px,calc(100% - 48px));
  height:96px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{display:flex;align-items:center;gap:13px}
.brand-icon{
  width:48px;height:48px;border:1px solid rgba(10,35,72,.14);
  border-radius:15px;background:#fff;display:grid;place-items:center;color:var(--navy);
  box-shadow:0 5px 20px rgba(20,28,42,.035);
}
.brand-icon svg{width:31px;height:31px}
.brand-wordmark{display:flex;align-items:center;line-height:1}
.brand-wordmark strong{
  font-size:20px;
  font-weight:800;
  color:var(--navy);
  letter-spacing:-.025em;
  white-space:nowrap;
}
.nav{display:flex;gap:34px;font-size:14px;font-weight:600;color:#586477}
.nav a{position:relative;padding:10px 0}
.nav a:after{content:"";position:absolute;right:0;bottom:2px;width:0;height:1px;background:var(--gold);transition:.3s}
.nav a:hover:after{width:100%}
.top-link{
  border:1px solid rgba(10,35,72,.18);border-radius:999px;padding:10px 16px;
  font-size:13px;font-weight:700;color:var(--navy);background:rgba(255,255,255,.72);
  transition:.25s;
}
.top-link:hover{background:#fff;transform:translateY(-1px)}

.hero{
  width:min(1200px,calc(100% - 48px));
  margin:14px auto 108px;
  min-height:500px;
  border-radius:36px;
  background:linear-gradient(135deg,var(--navy),#0c2b58);
  color:#fff;
  padding:88px 8%;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero:before{
  content:"";position:absolute;width:540px;height:540px;border-radius:50%;
  left:-160px;bottom:-300px;
  background:radial-gradient(circle,rgba(200,169,108,.30),rgba(200,169,108,0) 68%);
}
.hero-kicker{
  width:max-content;padding:7px 12px;border:1px solid rgba(255,255,255,.14);
  border-radius:999px;background:rgba(255,255,255,.05);font-size:12px;color:#eadfc9;
  margin-bottom:24px;position:relative;z-index:2;letter-spacing:.05em;
}
.hero h1{
  margin:0;font-size:clamp(46px,6.2vw,78px);line-height:1.06;letter-spacing:-.045em;
  font-weight:800;position:relative;z-index:2;
}
.hero h1 span{color:#ead9b9}
.hero p{
  max-width:680px;margin:28px 0 0;font-size:18px;line-height:1.95;color:#ccd7e6;
  position:relative;z-index:2;
}
.hero-actions{display:flex;gap:24px;align-items:center;margin-top:36px;position:relative;z-index:2}
.primary-btn{
  background:#fff;color:var(--navy);padding:14px 22px;border-radius:999px;font-size:14px;font-weight:800;
  box-shadow:0 10px 25px rgba(0,0,0,.12);transition:.25s;
}
.primary-btn:hover{transform:translateY(-2px);background:#faf5ec}
.ghost-link{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#e3eaf4}
.ghost-link span{transition:.25s}.ghost-link:hover span{transform:translateX(-5px)}
.hero-line{position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.hero-line-a{width:320px;height:320px;left:-110px;bottom:-150px}
.hero-line-b{width:180px;height:180px;left:80px;bottom:-80px}

.section{width:min(1200px,calc(100% - 48px));margin:0 auto 118px}
.section-header{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:36px}
.section-kicker{font-size:12px;color:var(--gold);font-weight:800;letter-spacing:.06em}
.section-header h2{font-size:40px;margin:5px 0 0;color:var(--navy);letter-spacing:-.035em}
.section-header p{max-width:430px;margin:0;color:var(--muted);font-size:15px;line-height:1.9}

.core-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.core-card{
  min-height:330px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:32px;
  display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;
  box-shadow:0 8px 28px rgba(25,33,48,.03);
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s;
}
.core-card:after{
  content:"";position:absolute;left:-60px;bottom:-85px;width:180px;height:180px;border-radius:50%;
  background:var(--gold-soft);opacity:.28;transition:.35s;
}
.core-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:#ddd3c2}
.core-card:hover:after{transform:scale(1.12);opacity:.5}
.core-card-top{display:flex;align-items:center;justify-content:space-between}
.line-icon{
  width:56px;height:56px;border-radius:17px;display:grid;place-items:center;
  background:#faf7f1;border:1px solid #ece2d3;color:var(--navy);
}
.line-icon svg{width:27px;height:27px}
.card-no{font-size:12px;color:#a4adba;font-weight:700;letter-spacing:.1em}
.core-card h3{font-size:27px;margin:30px 0 10px;color:var(--navy)}
.core-card p{font-size:15px;line-height:1.95;color:var(--muted);margin:0;max-width:440px}
.card-link{
  padding-top:21px;border-top:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;
  font-size:14px;font-weight:800;color:var(--navy);position:relative;z-index:2;
}
.card-link span{font-size:19px;transition:.25s}.core-card:hover .card-link span{transform:translateX(-5px)}

.review-shell{
  background:#f0ece4;
  border:1px solid #e5ded2;
  border-radius:34px;
  padding:46px;
}
.review-header{margin-bottom:30px}
.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.review-card{
  min-height:190px;background:#fff;border:1px solid #e8e2d8;border-radius:23px;padding:24px;
  display:grid;grid-template-columns:auto 1fr auto;gap:17px;align-items:center;
  transition:transform .3s,box-shadow .3s,border-color .3s;
}
.review-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgba(18,30,50,.07);border-color:#dcd2c1}
.review-icon{
  width:52px;height:52px;border-radius:16px;background:#f8f4ec;border:1px solid #e8decc;
  display:grid;place-items:center;color:var(--navy);
}
.review-icon svg{width:25px;height:25px}
.review-copy h3{font-size:18px;margin:0 0 8px;color:var(--navy)}
.review-copy p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}
.round-link{
  width:36px;height:36px;border:1px solid #d8dce2;border-radius:50%;display:grid;place-items:center;background:#fff;
  color:var(--navy);transition:.25s;font-size:17px;
}
.review-card:hover .round-link{background:var(--navy);border-color:var(--navy);color:#fff}

.footer{
  width:min(1200px,calc(100% - 48px));margin:0 auto 38px;border-top:1px solid #ddd8cf;padding-top:26px;
  display:flex;align-items:center;justify-content:space-between;color:#7a8494;font-size:12px;
}
.footer-brand{display:flex;align-items:center;gap:12px}
.footer-brand strong{font-size:14px;color:var(--navy)}
.footer-brand span{color:#a18a61}

@media(max-width:900px){
  .nav{display:none}
  .top-link{display:none}
  .core-grid,.review-grid{grid-template-columns:1fr}
  .section-header{flex-direction:column;align-items:flex-start;gap:12px}
  .review-shell{padding:30px}
}
@media(max-width:560px){
  .topbar,.hero,.section,.footer{width:min(100% - 24px,1200px)}
  .topbar{height:80px}
  .hero{margin-top:4px;margin-bottom:72px;min-height:445px;border-radius:26px;padding:54px 24px}
  .hero h1{font-size:42px}
  .hero p{font-size:15px}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:18px}
  .section{margin-bottom:78px}
  .section-header h2{font-size:31px}
  .core-card{min-height:300px;padding:25px;border-radius:23px}
  .core-card h3{font-size:24px}
  .review-shell{padding:23px 14px;border-radius:26px}
  .review-card{grid-template-columns:auto 1fr;min-height:160px}
  .round-link{grid-column:2;justify-self:end}
  .footer{flex-direction:column;align-items:flex-start;gap:12px}
}

/* V2.3 real English Nest logo */
.brand{
  display:flex;
  align-items:center;
  min-width:210px;
}
.brand-logo{
  display:block;
  width:210px;
  max-width:32vw;
  height:auto;
  object-fit:contain;
}
.footer{
  gap:18px;
}
.footer strong{
  color:var(--navy);
  font-size:14px;
}
@media(max-width:560px){
  .brand{min-width:auto}
  .brand-logo{width:165px;max-width:44vw}
}


/* V2.5 — user's exact final navy transparent logo on light header */
.topbar{
  width:min(1200px,calc(100% - 48px));
  height:96px;
  margin:0 auto;
  padding:0;
  background:transparent;
  border-bottom:0;
}

.brand{
  display:flex;
  align-items:center;
  min-width:190px;
  height:76px;
  overflow:visible;
}

.brand-logo{
  display:block;
  width:200px;
  max-width:31vw;
  height:auto;
  object-fit:contain;
}

.nav{
  color:#586477;
}

.top-link{
  color:var(--navy);
  border-color:rgba(10,35,72,.18);
  background:rgba(255,255,255,.72);
}

.top-link:hover{
  background:#fff;
  color:var(--navy);
}

@media(max-width:560px){
  .topbar{
    width:min(100% - 24px,1200px);
    height:80px;
    padding:0;
  }
  .brand{
    min-width:auto;
    height:66px;
  }
  .brand-logo{
    width:165px;
    max-width:44vw;
  }
}


/* V2.6 marketing start page */
.marketing-hero{
  width:min(1200px,calc(100% - 48px));
  margin:14px auto 100px;
  min-height:520px;
  border-radius:36px;
  background:linear-gradient(135deg,var(--navy),#0d2f61);
  color:#fff;
  padding:92px 8%;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.marketing-hero:after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  left:-150px;
  bottom:-320px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(200,169,108,.3),transparent 68%);
}
.marketing-kicker{
  color:#ead9b9;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  margin-bottom:20px;
  position:relative;
  z-index:2;
}
.marketing-hero h1{
  margin:0;
  font-size:clamp(46px,6.2vw,76px);
  line-height:1.08;
  letter-spacing:-.04em;
  position:relative;
  z-index:2;
}
.marketing-hero h1 span{color:#ead9b9}
.marketing-hero p{
  max-width:680px;
  margin:28px 0 34px;
  color:#ced8e7;
  font-size:18px;
  line-height:1.95;
  position:relative;
  z-index:2;
}
.marketing-primary{
  width:max-content;
  background:#fff;
  color:var(--navy);
  padding:15px 24px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  position:relative;
  z-index:2;
  transition:.25s;
}
.marketing-primary:hover{
  transform:translateY(-2px);
  background:#faf5ec;
}
.journey-section{
  width:min(1200px,calc(100% - 48px));
  margin:0 auto 118px;
}
.journey-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.journey-card{
  min-height:230px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
  transition:.3s;
}
.journey-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}
.journey-card>span{
  display:inline-block;
  color:var(--gold);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:30px;
}
.journey-card h3{
  color:var(--navy);
  font-size:23px;
  margin:0 0 10px;
}
.journey-card p{
  margin:0;
  color:var(--muted);
  line-height:1.9;
  font-size:14px;
}
@media(max-width:900px){
  .journey-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .marketing-hero,.journey-section{
    width:min(100% - 24px,1200px);
  }
  .marketing-hero{
    min-height:455px;
    border-radius:26px;
    padding:56px 24px;
    margin-bottom:72px;
  }
  .marketing-hero h1{font-size:42px}
  .marketing-hero p{font-size:15px}
}
