:root {
  --navy: #152a45;
  --navy-2: #1d3a5f;
  --navy-d: #0f1f33;
  --amber: #f0b44c;
  --amber-t: #94600c;
  --bg: #fbf8f2;
  --soft: #f2f6fb;
  --paper: #ffffff;
  --line: #e6e9ef;
  --ink: #1d2733;
  --muted: #535e6c;
  --wa: #15803d;
  --wa-d: #116a32;
  --r: 12px;
  --head: "Poppins", "Noto Sans Tamil", system-ui, sans-serif;
  --body: "Poppins", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.l-ta { --head: "Noto Sans Tamil", "Poppins", sans-serif; --body: "Noto Sans Tamil", "Poppins", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15.5px/1.65 var(--body); }
.l-ta body { font-size: 15.5px; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; line-height: 1.15; font-weight: 700; }
.l-ta h1, .l-ta h2, .l-ta h3 { line-height: 1.35; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.f { fill: currentColor; stroke: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 10px; font: 600 15.5px/1.2 var(--head); text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn > span { display: flex; flex-direction: column; text-align: left; }
.btn small { font: 400 12.5px/1.3 var(--body); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-line { background: var(--paper); color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; margin-top: 22px; }
.btn-navy:hover { background: var(--navy-2); }
.btn-lg { min-height: 60px; padding: 10px 22px; }
.btn-lg .i { width: 26px; height: 26px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-sm .i { width: 17px; height: 17px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.logo-ic { width: 38px; height: 38px; display: grid; place-items: center; color: var(--navy); }
.logo-ic .i { width: 36px; height: 36px; stroke-width: 1.9; }
.logo-t { display: flex; flex-direction: column; line-height: 1.05; }
.logo-t b { font: 800 19px/1 "Poppins", "Noto Sans Tamil", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.logo-t span { font: 600 11.5px/1.25 "Poppins", "Noto Sans Tamil", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.logo-t small { font: 600 9.5px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.l-ta .logo-t b { font-size: 16px; letter-spacing: 0; }
.l-ta .logo-t span, .l-ta .logo-t small { letter-spacing: 0; }
.nav { display: none; gap: 2px; }
.nav a { text-decoration: none; font: 600 14.5px var(--head); color: var(--navy); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); }
.lang { display: inline-flex; align-items: center; background: var(--soft); border-radius: 8px; padding: 3px; text-decoration: none; font: 600 13px var(--head); flex: none; }
.lang span { padding: 5px 9px; border-radius: 6px; color: var(--navy); line-height: 1.2; }
.lang span[lang] { font-family: "Noto Sans Tamil", sans-serif; }
.lang .on { background: var(--navy); color: #fff; }
.top-wa { padding: 8px 10px; min-height: 44px; }
.top-wa .tw { display: none; }
.top-wa .i { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero-pic { display: block; position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% 50%; }
.ribbon { position: absolute; right: 12px; top: calc(62.5vw - 26px); transform: rotate(-4deg); background: var(--amber); color: var(--navy); font: 800 15px/1 "Poppins", "Noto Sans Tamil", sans-serif; padding: 11px 18px; border-radius: 4px 14px 4px 14px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); z-index: 3; }
.hero-in { padding: 26px 16px 40px; }
.tag { display: inline-block; font: 600 11.5px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: #e9edf3; padding: 5px 10px; border-radius: 6px; margin-bottom: 14px; }
.l-ta .tag { text-transform: none; letter-spacing: 0; font-size: 13px; }
h1 { font-size: clamp(34px, 8.6vw, 58px); font-weight: 800; letter-spacing: -.01em; }
.l-ta h1 { font-size: clamp(27px, 6.6vw, 44px); letter-spacing: 0; }
.h1-sub { display: block; margin-top: 10px; font: 400 clamp(18px, 4.4vw, 23px)/1.35 var(--head); color: var(--navy); letter-spacing: 0; }
.lead { margin-top: 12px; color: var(--muted); max-width: 32em; }
.feats { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font: 600 13px/1.25 var(--head); color: var(--navy); }
.l-ta .feats li { font-size: 12.5px; }
.feats .i { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--navy); color: #fff; stroke-width: 2.2; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ctas .btn { flex: 1 1 230px; justify-content: flex-start; }
.dir { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--navy); text-underline-offset: 4px; }

/* Sections */
.sec { padding: 56px 0; }
.kicker { font: 600 12.5px var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-t); margin-bottom: 6px; }
.l-ta .kicker { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
h2 { font-size: clamp(26px, 5.4vw, 38px); }
.l-ta h2 { font-size: clamp(22px, 4.6vw, 32px); }
.sec-head { display: grid; gap: 12px; }
.sec-p { color: var(--muted); max-width: 36em; }

.svc { background: var(--soft); }
.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(21, 42, 69, .5); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef1f5; }
.card-b { padding: 16px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 18px; font-weight: 600; }
.l-ta .card h3 { font-size: 16.5px; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.card-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--head); color: var(--wa-d); text-decoration: none; min-height: 44px; }
.card-cta .i { width: 22px; height: 22px; }
.card-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

.steps-sec { background: var(--navy); color: #d2dbe7; }
.steps-sec h2, .steps-sec h3 { color: #fff; }
.steps-sec .kicker { color: #c8d3e2; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.steps li { text-align: center; position: relative; }
.s-ic { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--navy); }
.s-ic.s2, .s-ic.s4 { background: #dfe8f4; }
.s-ic .i { width: 36px; height: 36px; stroke-width: 1.8; }
.s-ic .i.f { stroke: none; }
.steps h3 { font-size: 17px; font-weight: 600; }
.l-ta .steps h3 { font-size: 15.5px; }
.steps p { margin-top: 4px; font-size: 14.5px; color: #c4cfdd; }

.about { display: grid; gap: 26px; align-items: center; }
.about-text p { color: var(--muted); margin-top: 12px; }
.about-text .kicker { margin-top: 0; color: var(--amber-t); }
.about-text h2 { margin-bottom: 4px; }
.about-img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.gal { margin-top: 56px; }
.gallery { list-style: none; padding: 0 0 6px; margin: 22px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery li { scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.contact-sec { background: var(--soft); }
.contact { display: grid; gap: 26px; }
.c-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.c-list li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.c-list li > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--navy); color: #fff; align-self: flex-start; }
.c-list li > div { flex: 1; min-width: 150px; }
.c-list p { color: var(--ink); font-weight: 500; }
.num { font: 600 17px var(--head); color: var(--navy); text-decoration: none; }
.lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; color: var(--navy); text-underline-offset: 4px; }
.lnk .i { width: 16px; height: 16px; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #e3e8ee; min-height: 300px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.map-open { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--paper); color: var(--navy); font-weight: 600; font-size: 14px; padding: 7px 12px; border-radius: 8px; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }

/* Footer */
.foot { background: var(--navy-d); color: #b9c4d3; padding: 36px 0 calc(92px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot-in { display: grid; gap: 22px; justify-items: start; }
.brand-foot { color: #fff; margin: 0; }
.brand-foot .logo-ic, .brand-foot .logo-t small { color: #c8d3e2; }
.f-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.f-nav a { text-decoration: none; color: #fff; padding: 4px 0; font: 600 14.5px var(--head); }
.f-nav a:hover { text-decoration: underline; }
.foot .top-wa { padding: 8px 16px; }
.foot .top-wa .tw { display: flex; }
.foot-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; font-size: 13px; color: #95a3b8; }
.f-lang { display: flex; gap: 16px; }
.f-lang a { color: #fff; text-decoration: none; }
.f-lang a[aria-current] { color: var(--amber); }

.madewith { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding: 14px 16px; border-radius: 12px; background: #f6f7fb; color: #1b2440; text-decoration: none; }
.madewith:hover { background: #fff; }
.madewith .mw { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #011c4a; color: #fff; font: 800 15px "Poppins", sans-serif; flex: none; }
.madewith span { flex: 1; min-width: 180px; line-height: 1.4; font-size: 14px; }
.madewith strong { display: block; color: #011c4a; font-size: 15px; }
.madewith em { font-style: normal; font-weight: 800; color: #c2410c; white-space: nowrap; font-size: 14.5px; }
.foot-base a { color: #fff; }
.report summary { cursor: pointer; display: inline; text-decoration: underline; color: #c8d3e2; }
.report form { margin-top: 10px; max-width: 420px; display: grid; gap: 10px; }
.report label { display: grid; gap: 4px; color: #c8d3e2; }
.report select, .report textarea { font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid #3a4c66; background: #13253c; color: #fff; }
.report textarea { min-height: 70px; }
.report button { justify-self: start; font: 600 14px var(--head); padding: 9px 16px; border-radius: 8px; border: 0; background: #fff; color: var(--navy); cursor: pointer; }
.report .done { display: none; color: #fff; font-weight: 600; margin-top: 8px; }
.report.sent .done { display: block; } .report.sent form { display: none; }
.report .err { color: #fca5a5; }
.hp { position: absolute; left: -9999px; }

/* Phone contact bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(21, 42, 69, .4); }
.bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 10px; font: 600 16px var(--head); text-decoration: none; }
.bar-wa { background: var(--wa); color: #fff; }
.bar-call { background: var(--navy); color: #fff; }

@media (max-width: 599px) {
  .card { flex-direction: row; }
  .card img { width: 38%; aspect-ratio: auto; min-height: 150px; flex: none; }
  .card-b { padding: 12px 12px 8px; }
  .card h3 { font-size: 16.5px; }
  .card p { font-size: 14px; }
  .card-cta { padding-top: 6px; font-size: 14px; }
}
@media (min-width: 600px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-columns: 31%; }
  .top-wa .tw { display: flex; }
  .top-wa { padding: 7px 14px; }
  .top-wa small { font-size: 11.5px; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .hero { min-height: 600px; display: flex; align-items: center; }
  .hero-pic { position: absolute; inset: 0 0 0 auto; width: 64%; }
  .hero-pic img { height: 100%; aspect-ratio: auto; }
  .hero-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(251, 248, 242, .75) 22%, rgba(251, 248, 242, 0) 48%); z-index: 1; }
  .ribbon { top: auto; bottom: 46px; right: 40px; font-size: 21px; padding: 14px 24px; }
  .hero-in { position: relative; z-index: 2; padding: 56px 16px; }
  .hero-text { max-width: 520px; }
  .ctas .btn { flex: 0 0 auto; }
  .feats { display: flex; flex-wrap: wrap; gap: 12px 22px; }
  .feats li { flex-direction: row; text-align: left; font-size: 14px; max-width: 12em; }
  .sec { padding: 80px 0; }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -16px; top: 24px; font-size: 26px; color: #8fa2bb; }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .contact { grid-template-columns: .9fr 1.1fr; align-items: stretch; }
  .foot { padding-bottom: 36px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; justify-items: stretch; }
  .f-nav { justify-content: center; }
  .foot-base { gap: 8px; }
  .bar { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon { animation: pop .6s .5s ease both; }
  @keyframes pop { from { opacity: 0; transform: rotate(-4deg) translateY(10px); } to { opacity: 1; transform: rotate(-4deg); } }
}
