/* ═══════════════════════════════════════════════════════════════
   SOWPARNIKA KOCHI — LANDING PAGE
   Palette taken from the outdoor creative:
   navy #1C2B63 on white, with the logo's green / red / orange / yellow
   ═══════════════════════════════════════════════════════════════ */

:root{
  --navy      : #1C2B63;
  --navy-deep : #131F4A;
  --navy-soft : #5A668F;
  --red       : #E31E24;
  --red-deep  : #C2161C;
  --green     : #A6CE39;
  --orange    : #F58220;
  --yellow    : #FFD200;

  --bg        : #FFFFFF;
  --bg-soft   : #F4F6FC;
  --line      : #DEE3F0;
  --ink       : #1C2B63;
  --ink-soft  : #5A668F;

  --sans : 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --mal  : 'Noto Sans Malayalam', 'Poppins', sans-serif;

  --wrap : 1220px;
  --ease : cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

/* The brand wash lives on the page, not on a section — so it runs unbroken
   from the banner through the form with no seam where they meet. */
body{
  margin:0; color:var(--ink);
  background-color:var(--bg);
  background-image:
    radial-gradient(40% 24% at  6% 26%, rgba(166,206,57,.17), transparent 62%),
    radial-gradient(36% 20% at 86%  9%, rgba(245,130,32,.11), transparent 64%),
    radial-gradient(32% 18% at 97% 36%, rgba(255,210,0,.13),  transparent 66%),
    radial-gradient(38% 22% at 92% 70%, rgba(166,206,57,.14), transparent 64%),
    radial-gradient(34% 20% at  4% 62%, rgba(255,210,0,.11),  transparent 66%),
    radial-gradient(30% 18% at 14% 92%, rgba(245,130,32,.09), transparent 66%);
  background-repeat:no-repeat;
  font-family:var(--sans); font-weight:400; font-size:16px; line-height:1.65;
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; border:0; background:none; cursor:pointer; }
::selection{ background:var(--navy); color:#fff; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:clamp(20px,4vw,44px); }


/* ─────────────── 1 · BANNER ─────────────── */

.hero{
  position:relative; background:transparent;
  padding:clamp(18px,2.4vw,26px) 0 clamp(16px,2vw,22px);
  display:flex; flex-direction:column; gap:clamp(18px,2.6vw,30px);
  min-height:100svh;
}
.hero > *{ position:relative; z-index:1; }

.hero__top{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.hero__logo img{ height:clamp(52px,6vw,74px); width:auto; }
/* compact call link in the header — same treatment as the strip below,
   a size down so the two don't compete */
.hero__topTel{
  display:inline-flex; align-items:center; gap:9px;
  font-size:clamp(.88rem,1.25vw,1.1rem); font-weight:700;
  color:var(--navy); white-space:nowrap;
  transition:color .25s var(--ease);
}
.hero__topTel .hero__telIco{ width:clamp(22px,2.1vw,27px); height:clamp(22px,2.1vw,27px); }
.hero__topTel:hover{ color:var(--red); }

/* minmax(0,…) — without it the headline's min-content width wins the tug of
   war and squeezes the artwork down to a fraction of its column */
.hero__body{
  flex:1 1 auto;
  display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  align-items:center; gap:clamp(20px,3.4vw,48px);
}

.hero__art{ position:relative; }
.hero__art img{ width:100%; height:auto; }
/* until the creative artwork is dropped in, hold the space gracefully */
.hero__art.is-missing img{ display:none; }
.hero__art.is-missing::after{
  content:'Artwork: assets/img/hero-art.png';
  display:grid; place-items:center; text-align:center;
  aspect-ratio:1/1; border:2px dashed var(--line); border-radius:18px;
  color:var(--navy-soft); font-size:.8rem; letter-spacing:.04em;
  background:
    radial-gradient(60% 50% at 30% 70%, rgba(166,206,57,.14), transparent 60%),
    radial-gradient(50% 44% at 74% 34%, rgba(245,130,32,.12), transparent 62%);
}

.hero__say{ display:flex; flex-direction:column; align-items:flex-start; }

.hero__brand{
  font-family:var(--sans); font-weight:900; color:var(--navy);
  font-size:clamp(2.1rem,5.2vw,4.6rem); line-height:.98;
  letter-spacing:-.015em; margin:0; white-space:nowrap;
}
.hero__soon{
  font-family:var(--sans); font-weight:800; color:var(--red);
  font-size:clamp(1.5rem,3.8vw,3.4rem); line-height:1.05;
  letter-spacing:.06em; margin:.12em 0 0;
}
.hero__where{
  font-family:var(--sans); font-weight:600; color:var(--navy-soft);
  font-size:clamp(1rem,1.7vw,1.5rem); letter-spacing:.02em;
  margin:.5em 0 0;
}

.hero__cta{
  display:inline-flex; align-items:center; gap:10px;
  margin-top:clamp(16px,2.2vw,26px);
  padding:15px 30px; border-radius:8px;
  background:var(--red); color:#fff;
  font-size:.82rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  box-shadow:0 12px 26px rgba(227,30,36,.26);
  transition:background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hero__cta svg{ width:17px; height:17px; }
.hero__cta:hover{ background:var(--red-deep); transform:translateY(-2px); box-shadow:0 16px 30px rgba(227,30,36,.32); }

.hero__foot{
  display:flex; align-items:center; justify-content:center;
  gap:18px; flex-wrap:wrap;
  padding-top:clamp(14px,1.8vw,20px); border-top:2px solid var(--navy);
}
.hero__telIco{
  width:clamp(26px,2.6vw,32px); height:clamp(26px,2.6vw,32px); flex:none;
  display:grid; place-items:center; border-radius:50%;
  background:var(--red); color:#fff;
}
.hero__telIco svg{ width:56%; height:56%; }

.hero__states{
  margin:0; text-align:center;
  font-size:clamp(.85rem,1.5vw,1.25rem); font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--navy);
}
.hero__states i{ font-style:normal; color:var(--red); margin:0 .18em; }


/* ─────────────── 2 · CONTACT ─────────────── */

/* transparent so the page-level wash carries straight through from the banner */
.reg{ background:transparent; padding:clamp(48px,6.5vw,86px) 0; }
.reg__in{
  display:grid; grid-template-columns:1fr .92fr;
  gap:clamp(28px,4.4vw,60px); align-items:center;
}

.reg__ml{
  font-family:var(--mal); font-weight:700; color:var(--red);
  font-size:clamp(1rem,1.7vw,1.3rem); margin:0 0 .4rem; line-height:1.4;
}
.reg__ttl{
  font-size:clamp(1.7rem,3.2vw,2.7rem); font-weight:700;
  line-height:1.15; margin:0 0 .7rem; color:var(--navy);
}
.reg__sub{
  margin:0 0 1.8rem; color:var(--ink-soft);
  font-size:clamp(.94rem,1.2vw,1.02rem); max-width:52ch;
}

.reg__points{
  display:flex; flex-wrap:wrap; gap:14px clamp(20px,3vw,40px);
  list-style:none; margin:0; padding:1.5rem 0 0; border-top:1px solid var(--line);
}
.reg__points li{ display:flex; flex-direction:column; }
.reg__points b{ font-size:clamp(1.5rem,2.4vw,2rem); font-weight:800; color:var(--navy); line-height:1; }
.reg__points span{ font-size:.72rem; font-weight:500; letter-spacing:.11em; text-transform:uppercase; color:var(--ink-soft); margin-top:6px; }

.reg__card{
  background:#fff; border-radius:16px;
  padding:clamp(26px,3.2vw,40px);
  box-shadow:0 26px 60px rgba(28,43,99,.13);
  border:1px solid var(--line);
}
.reg__cardTtl{
  font-size:clamp(1.3rem,2vw,1.65rem); font-weight:700;
  margin:0 0 .25rem; color:var(--navy);
}
.reg__cardSub{ margin:0 0 1.6rem; font-size:.92rem; color:var(--ink-soft); }


/* ─────────────── FORM ─────────────── */

.fld{ margin-bottom:15px; }
.fld label{
  display:block; margin-bottom:7px;
  font-size:.74rem; font-weight:600; letter-spacing:.07em;
  text-transform:uppercase; color:var(--navy);
}
.fld label i{ color:var(--red); font-style:normal; }

.fld input{
  width:100%; padding:13px 15px;
  font-family:var(--sans); font-size:.95rem; font-weight:400; color:var(--ink);
  background:var(--bg-soft); border:1.5px solid var(--line); border-radius:8px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  -webkit-appearance:none; appearance:none;
}
.fld input::placeholder{ color:#9BA4C2; }
.fld input:focus{
  outline:none; background:#fff;
  border-color:var(--navy); box-shadow:0 0 0 3px rgba(28,43,99,.12);
}
.fld.has-err input{ border-color:var(--red); }
.err{ display:block; font-size:.76rem; color:var(--red); margin-top:5px; }
.hint{ display:block; font-size:.76rem; color:var(--ink-soft); margin-top:6px; }

/* phone field with country picker */
.tel{
  display:flex; align-items:center; gap:9px;
  background:var(--bg-soft); border:1.5px solid var(--line); border-radius:8px;
  padding-inline:14px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.tel:focus-within{ background:#fff; border-color:var(--navy); box-shadow:0 0 0 3px rgba(28,43,99,.12); }
.fld.has-err .tel{ border-color:var(--red); }
.tel input{
  flex:1 1 auto; min-width:0;
  background:transparent !important; border:0 !important; padding-inline:0;
  border-radius:0; box-shadow:none !important;
}
/* the native select stays in the form but is never shown */
.tel select.tel__code{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); border:0; opacity:0; pointer-events:none;
}

.cpick{ position:relative; flex:none; }
.cpick__btn{
  display:flex; align-items:center; gap:8px; padding:13px 2px 13px 0;
  font-family:var(--sans); font-size:.95rem; color:var(--ink); line-height:1;
}
.cpick__btn:focus-visible{ outline:2px solid var(--navy); outline-offset:3px; border-radius:4px; }
.cpick__flag{ display:block; width:21px; height:14px; flex:none; }
.cpick__flag svg{ width:100%; height:100%; display:block; border-radius:2px; }
.cpick__code{ white-space:nowrap; font-weight:500; }
.cpick__chev{ width:9px; height:6px; flex:none; opacity:.6; transition:transform .25s var(--ease); }
.cpick.is-open .cpick__chev{ transform:rotate(180deg); }

.cpick__list{
  position:absolute; top:calc(100% + 10px); left:-10px; z-index:40;
  width:266px; max-height:290px; overflow-y:auto;
  margin:0; padding:6px; list-style:none;
  background:#fff; border:1px solid var(--line); border-radius:10px;
  box-shadow:0 22px 48px rgba(28,43,99,.20);
}
.cpick__list[hidden]{ display:none; }
.cpick__opt{
  display:flex; align-items:center; gap:11px;
  padding:9px 11px; border-radius:6px; cursor:pointer;
  font-size:.9rem; color:var(--ink); line-height:1.2;
}
.cpick__opt .cpick__nm{ flex:1 1 auto; }
.cpick__opt .cpick__cd{ flex:none; color:var(--ink-soft); font-size:.85rem; }
.cpick__opt:hover,
.cpick__opt.is-cursor{ background:var(--bg-soft); }
.cpick__opt.is-on{ background:#E9EDF9; }
.cpick__opt.is-on .cpick__cd{ color:var(--navy); font-weight:600; }

.chk{
  display:flex; gap:10px; align-items:flex-start;
  margin:14px 0 20px; cursor:pointer;
  font-size:.8rem; line-height:1.55; color:var(--ink-soft);
}
.chk input{ margin-top:3px; accent-color:var(--red); width:16px; height:16px; flex:none; }
.chk a{ color:var(--red); text-decoration:underline; text-underline-offset:2px; }
.chk.has-err span{ color:var(--red); }
.chk.has-err input{ outline:2px solid var(--red); outline-offset:1px; }

.btn{
  position:relative; width:100%;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 28px; border-radius:8px;
  background:var(--red); color:#fff;
  font-size:.82rem; font-weight:600; letter-spacing:.11em; text-transform:uppercase;
  box-shadow:0 12px 26px rgba(227,30,36,.24);
  transition:background .3s var(--ease), transform .25s var(--ease);
}
.btn:hover{ background:var(--red-deep); transform:translateY(-1px); }
/* without this the inline SVGs render at their default size and wrap the label */
.btn__ico{ width:17px; height:17px; flex:none; }

.btn__spin{
  display:none; width:15px; height:15px; border-radius:50%;
  border:2px solid rgba(255,255,255,.4); border-top-color:#fff;
  animation:spin .7s linear infinite;
}
.btn.is-busy{ pointer-events:none; opacity:.8; }
.btn.is-busy .btn__spin{ display:inline-block; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.frm__fine{ margin:13px 0 0; text-align:center; font-size:.74rem; color:var(--ink-soft); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}


/* ─────────────── FOOTER STRIP ─────────────── */

.foot{ background:var(--navy); color:rgba(255,255,255,.62); padding:22px 0 26px; }
.foot p{ margin:0; font-size:.73rem; line-height:1.7; max-width:96ch; }
.foot__cr{ margin-top:10px !important; color:rgba(255,255,255,.5); }
.foot__cr a{ color:rgba(255,255,255,.8); margin-left:10px; }
.foot__cr a:hover{ color:#fff; }


/* ─────────────── FLOATING ─────────────── */

.float{ position:fixed; right:20px; bottom:24px; z-index:60; display:flex; flex-direction:column; gap:11px; }
.float__btn{
  width:50px; height:50px; border-radius:50%; display:grid; place-items:center;
  color:#fff; box-shadow:0 10px 26px rgba(28,43,99,.24);
  transition:transform .3s var(--ease);
}
.float__btn:hover{ transform:translateY(-3px) scale(1.05); }
.float__btn svg{ width:24px; height:24px; }
.float__btn--wa{ background:#25D366; }
.float__btn--tel{ background:var(--red); }

.mbar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:65;
  background:#fff; border-top:1px solid var(--line);
  box-shadow:0 -6px 20px rgba(28,43,99,.10);
  padding-bottom:env(safe-area-inset-bottom);
}
.mbar a{
  flex:1 1 0; min-width:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  padding:10px 6px 9px;
  font-size:.62rem; font-weight:600; line-height:1.1;
  letter-spacing:.1em; text-transform:uppercase; text-align:center; color:var(--navy);
}
.mbar svg{ width:19px; height:19px; flex:none; display:block; }
.mbar__cta{ background:var(--red); color:#fff !important; }


/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width:1000px){
  .hero{ min-height:0; }
  .hero__body{ grid-template-columns:1fr; gap:22px; }
  .hero__say{ align-items:center; text-align:center; }
  .hero__art{ order:2; max-width:520px; margin-inline:auto; }
  .hero__foot{ justify-content:center; text-align:center; }

  .reg__in{ grid-template-columns:1fr; }
  .reg__intro{ text-align:center; }
  .reg__sub{ margin-inline:auto; }
  .reg__points{ justify-content:center; }
}

@media (max-width:640px){
  body{ font-size:15.5px; }
  .hero__top{ gap:12px; }
  .hero__site{ font-size:.72rem; }
  .hero__foot{ flex-direction:column; gap:12px; }
  .hero__cta{ width:100%; justify-content:center; }

  .float{ display:none; }        /* the sticky bar already covers it */
  .mbar{ display:flex; }
  .foot{ padding-bottom:88px; }
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  html{ scroll-behavior:auto; }
}
