/* =========================================================
   THE LINEN SOLUTION — Website Styles
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F9FF;
  --white: #FFFFFF;
  --blue-50: #EDF3FF;
  --blue-100: #D9E5FF;
  --blue-200: #B0CAFF;
  --blue-600: #1558A8;
  --blue-700: #104A96;
  --blue-900: #0B1D3A;
  --text: #0B1D3A;
  --text-2: #3D5E8C;
  --text-3: #7E9DC2;
  --border: rgba(21,88,168,.12);
  --shadow-s: 0 2px 8px rgba(11,29,58,.05);
  --shadow-m: 0 8px 32px rgba(11,29,58,.08);
  --shadow-l: 0 20px 60px rgba(11,29,58,.12);
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 32px;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --ease: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Image Placeholder ---- */
.img-slot {
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 2px dashed var(--blue-200);
  border-radius: var(--r-m);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow: hidden;
}
.img-slot svg { opacity: .35; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--sans); padding: 14px 28px; border-radius: 100px; transition: var(--ease); white-space: nowrap; }
.btn-fill { background: var(--blue-600); color: #fff; box-shadow: 0 4px 18px rgba(21,88,168,.28); }
.btn-fill:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text-2); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-white { background: #fff; color: var(--blue-900); font-weight: 700; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-white:hover { transform: translateY(-1px); }

.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.tag::before { content: ''; width: 18px; height: 2px; background: var(--blue-600); border-radius: 2px; }

.sec-title { font: 400 clamp(32px,4vw,52px)/1.15 var(--serif); color: var(--text); }
.sec-title em { font-style: italic; color: var(--blue-600); }
.sec-body { font-size: 17px; color: var(--text-2); line-height: 1.7; max-width: 540px; }

/* ---- Navbar ---- */
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--ease); }
.nav.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); padding: 10px 0; box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 17px var(--sans); color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font: 500 14px var(--sans); color: var(--text-2); padding: 8px 14px; border-radius: 100px; transition: var(--ease); }
.nav-links a:hover { color: var(--text); background: var(--blue-50); }
.nav-cta { background: var(--blue-600) !important; color: #fff !important; font-weight: 600 !important; margin-left: 8px; padding: 9px 20px !important; }
.nav-cta:hover { background: var(--blue-700) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--r-s); }
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ---- Hero ---- */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px 6px 8px; font: 500 13px var(--sans); color: var(--text-2); margin-bottom: 24px; }
.hero-dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; }
.hero h1 { font: 400 clamp(42px,5.5vw,68px)/1.08 var(--serif); letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--blue-600); }
.hero-desc { font-size: 18px; color: var(--text-2); line-height: 1.7; max-width: 460px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { position: relative; }
.hero-img .img-slot { width: 100%; aspect-ratio: 4/3; border-radius: var(--r-xl); border: none; }
.hero-float { position: absolute; bottom: -16px; left: -16px; background: var(--blue-600); color: #fff; border-radius: var(--r-m); padding: 16px 20px; box-shadow: 0 8px 24px rgba(21,88,168,.35); }
.hero-float strong { display: block; font: 400 26px var(--serif); }
.hero-float span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

.stats { margin-top: 56px; background: var(--white); border-radius: var(--r-l); box-shadow: var(--shadow-s); border: 1px solid var(--border); display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 26px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font: 400 34px var(--serif); color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-3); font-weight: 500; }

/* ---- Clients ---- */
.clients { padding: 56px 0; }
.clients-label { text-align: center; font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 28px; }
.clients-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.client { padding: 16px 36px; border-right: 1px solid var(--border); text-align: center; }
.client:last-child { border-right: none; }
.client-name { font: 400 17px var(--serif); color: var(--text-3); transition: var(--ease); }
.client:hover .client-name { color: var(--text); }
.client-sub { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; opacity: .5; margin-top: 2px; }

/* ---- Products ---- */
.products { padding: 100px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; }
.sec-head-left { max-width: 540px; }
.sec-head-left .tag { margin-bottom: 12px; }
.sec-head-left .sec-title { margin-bottom: 14px; }
.p-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.p-card { background: var(--white); border-radius: var(--r-l); border: 1px solid var(--border); overflow: hidden; transition: var(--ease); }
.p-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.p-card-img { width: 100%; aspect-ratio: 4/3; }
.p-card-img .img-slot { width: 100%; height: 100%; border-radius: 0; border: none; }
.p-card-body { padding: 20px; }
.p-card-tag { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.p-card h3 { font: 400 20px var(--serif); margin-bottom: 8px; }
.p-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.p-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.p-pill { font: 600 11px var(--sans); color: var(--text-2); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 100px; padding: 3px 10px; }

/* ---- About ---- */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; }
.about-img .img-slot { width: 100%; aspect-ratio: 1; border-radius: var(--r-xl); border: none; }
.about-badge { position: absolute; bottom: 20px; right: -20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-m); padding: 14px 20px; box-shadow: var(--shadow-m); }
.about-badge strong { display: block; font: 400 28px var(--serif); color: var(--blue-600); }
.about-badge span { font-size: 12px; color: var(--text-3); font-weight: 500; }
.about-right .tag { margin-bottom: 14px; }
.about-right .sec-title { margin-bottom: 20px; }
.about-right .sec-body { margin-bottom: 36px; }
.values { display: flex; flex-direction: column; gap: 14px; }
.val { display: flex; gap: 14px; padding: 14px; background: var(--bg); border-radius: var(--r-m); border: 1px solid var(--border); }
.val-icon { width: 36px; height: 36px; background: var(--blue-50); border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-600); }
.val strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.val span { font-size: 13px; color: var(--text-2); }

/* ---- Why Us ---- */
.why { padding: 100px 0; }
.why-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.why-head .tag { justify-content: center; margin-bottom: 12px; }
.why-head .tag::before { display: none; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.w-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-l); padding: 32px 26px; transition: var(--ease); }
.w-card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-m); }
.w-num { font: 400 48px var(--serif); color: var(--blue-100); margin-bottom: 14px; }
.w-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.w-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---- CTA Band ---- */
.cta { padding: 72px 0; }
.cta-box { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); border-radius: var(--r-xl); padding: 60px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-box h2 { font: 400 clamp(26px,3vw,40px)/1.2 var(--serif); color: #fff; margin-bottom: 10px; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,.6); max-width: 460px; }

/* ---- Contact ---- */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact-left .tag { margin-bottom: 14px; }
.contact-left .sec-title { margin-bottom: 18px; }
.contact-left .sec-body { margin-bottom: 40px; }
.c-info { display: flex; flex-direction: column; gap: 12px; }
.c-row { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--bg); border-radius: var(--r-m); border: 1px solid var(--border); transition: var(--ease); }
.c-row:hover { border-color: var(--blue-200); }
.c-icon { width: 40px; height: 40px; background: var(--blue-50); border-radius: var(--r-s); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue-600); }
.c-label { font: 700 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.c-val { font: 600 15px var(--sans); color: var(--text); margin-top: 1px; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f-group label { font: 700 13px var(--sans); color: var(--text-2); }
.f-group input, .f-group select, .f-group textarea { font: 400 15px var(--sans); color: var(--text); background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-m); padding: 12px 16px; transition: var(--ease); outline: none; width: 100%; }
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(21,88,168,.1); }
.f-group textarea { resize: vertical; min-height: 110px; }
.f-group input::placeholder, .f-group textarea::placeholder { color: var(--text-3); }
.f-submit { margin-top: 20px; }
.f-submit .btn { width: 100%; justify-content: center; }

/* ---- Footer ---- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.65); padding: 52px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.ft-brand .logo { color: #fff; margin-bottom: 14px; }
.ft-brand p { font-size: 14px; line-height: 1.7; max-width: 250px; }
.ft-col h4 { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.ft-col a { display: block; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 9px; transition: var(--ease); }
.ft-col a:hover { color: #fff; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-bottom p { font-size: 13px; }

/* ---- Animations ---- */
[data-a] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-a="right"] { transform: translateX(-22px); }
[data-a="left"]  { transform: translateX(22px); }
[data-a].vis { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .1s; }
[data-d="2"] { transition-delay: .2s; }
[data-d="3"] { transition-delay: .3s; }
[data-d="4"] { transition-delay: .4s; }

/* ---- Timeline (Our Story) ---- */
.story-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 28px; }
.story-timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--blue-100); border-radius: 2px; }
.tl-item { position: relative; padding: 20px 0 20px 24px; }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 26px; width: 10px; height: 10px; background: var(--white); border: 2px solid var(--blue-200); border-radius: 50%; }
.tl-now::before { background: var(--blue-600); border-color: var(--blue-600); }
.tl-year { font: 700 13px var(--sans); color: var(--blue-600); letter-spacing: .04em; margin-bottom: 6px; }
.tl-text { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ---- 3-col product grid ---- */
.p-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Compare Table ---- */
.compare { padding: 100px 0; }
.compare-head { max-width: 600px; margin-bottom: 48px; }
.compare-head .tag { margin-bottom: 12px; }
.compare-head .sec-title { margin-bottom: 14px; }
.compare-table-wrap { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead th { padding: 18px 24px; font: 700 13px var(--sans); letter-spacing: .04em; text-align: left; border-bottom: 2px solid var(--border); background: var(--bg); }
.compare-table thead th:first-child { width: 200px; }
.compare-table .col-tls { color: var(--blue-600); }
.compare-table .col-other { color: var(--text-3); }
.compare-table tbody td { padding: 14px 24px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .row-label { font-weight: 600; color: var(--text); background: var(--bg); }
.compare-table tbody .col-tls { font-weight: 600; color: var(--text); }
.compare-table tbody .col-other { color: var(--text-3); }

/* ---- Gallery ---- */
.gallery { padding: 100px 0; background: var(--white); }
.gallery-head { max-width: 560px; margin-bottom: 48px; }
.gallery-head .tag { margin-bottom: 12px; }
.gallery-head .sec-title { margin-bottom: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item .img-slot { width: 100%; aspect-ratio: 1; border-radius: var(--r-m); }

/* ---- CTA Updated ---- */
.cta-box { flex-direction: column; align-items: flex-start; text-align: left; }
.cta-box h2 { font: 400 clamp(26px,3vw,40px)/1.2 var(--serif); color: #fff; margin: 8px 0 10px; }
.cta-box h2 em { font-style: italic; color: rgba(255,255,255,.7); }
.cta-box p { font-size: 16px; color: rgba(255,255,255,.55); max-width: 520px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font: 600 15px var(--sans); padding: 14px 28px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 100px; transition: var(--ease); background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }
.cta-info { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); width: 100%; }
.cta-info-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; white-space: nowrap; }
.cta-info-item:hover { color: #fff; }
.cta-info-item svg { flex-shrink: 0; }
.cta-info-location { cursor: default; }
.cta-info-location:hover { color: rgba(255,255,255,.72); }

/* ---- Responsive ---- */
@media(max-width:1024px) {
  .p-grid, .p-grid-3 { grid-template-columns: repeat(2,1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .compare-table { font-size: 13px; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 16px; }
}
@media(max-width:768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 56px; left: 0; width: 100%; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; box-shadow: var(--shadow-m); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 110px 0 56px; }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; padding: 36px 28px; }
  .f-row { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .compare-table-wrap { overflow-x: auto; }
}
@media(max-width:480px) {
  .p-grid, .p-grid-3 { grid-template-columns: 1fr; }
  .clients-row { flex-direction: column; }
  .client { border-right: none; border-bottom: 1px solid var(--border); }
  .client:last-child { border-bottom: none; }
}
