/* ============================================================
   Lotus Glass Inc — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --white: #ffffff;
  --off-white: #f7f8f9;
  --light: #eef0f2;
  --mid: #c2cad2;
  --steel: #6b7a8a;
  --dark: #1a2230;
  --accent: #4a90a4;
  --accent-light: #d6ecf2;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ── TYPOGRAPHY UTILITIES ── */
.section-tag {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.15; color: var(--dark); margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 1rem; color: var(--steel); line-height: 1.75; max-width: 520px; font-weight: 300;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--dark); color: var(--white); padding: .85rem 2.2rem;
  border-radius: 2px; text-decoration: none; font-size: .85rem; font-weight: 500;
  letter-spacing: .05em; display: inline-block; transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--mid); color: var(--dark); padding: .85rem 2.2rem;
  border-radius: 2px; text-decoration: none; font-size: .85rem; font-weight: 500;
  display: inline-block; transition: border-color .25s, color .25s, transform .2s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-white {
  background: var(--white); color: var(--accent); padding: .85rem 2.2rem;
  border-radius: 2px; text-decoration: none; font-size: .85rem; font-weight: 500;
  letter-spacing: .05em; transition: background .25s, color .25s; white-space: nowrap;
  display: inline-block;
}
.btn-white:hover { background: var(--dark); color: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero-dark {
  padding: 9rem 8% 5rem; background: var(--dark); position: relative; overflow: hidden;
}
.page-hero-dark::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 500px; height: 500px;
  border-radius: 50%; background: radial-gradient(circle, rgba(74,144,164,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-tag { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .9rem; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 1.2rem; }
.page-hero-title em { font-style: italic; color: var(--accent); }
.page-hero-sub { font-size: 1rem; color: var(--mid); line-height: 1.75; max-width: 520px; font-weight: 300; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 5.5rem 8% 0; display: flex; align-items: center; gap: .6rem; }
.breadcrumb a { font-size: .78rem; color: var(--steel); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { font-size: .78rem; color: var(--mid); }
.breadcrumb .current { color: var(--dark); }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--accent); padding: 2rem 8%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.contact-strip-text { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); font-weight: 300; }
.contact-strip-text em { font-style: italic; }

/* ── PAGE CTA BAND ── */
.page-cta {
  background: var(--accent);
  padding: 5rem 8%;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  position: relative;
}
.page-cta-tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  display: block;
  margin-bottom: .8rem;
}
.page-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .8rem;
}
.page-cta-title em { font-style: italic; opacity: .85; }
.page-cta-sub {
  font-size: .92rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  font-weight: 300;
  max-width: 480px;
}
.page-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
  flex-shrink: 0;
  min-width: 240px;
}
.page-cta-btn {
  display: block;
  text-align: center;
  background: var(--white);
  color: var(--accent);
  padding: 1.1rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .15s;
}
.page-cta-btn:hover { background: var(--dark); color: var(--white); transform: translateY(-1px); }
.page-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  border: 1px solid rgba(255,255,255,.4);
  padding: .85rem 2rem;
  border-radius: 2px;
  transition: border-color .2s, color .2s, background .2s;
}
.page-cta-phone:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.1); }
.page-cta-phone strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); font-weight: 400; }
@media (max-width: 820px) {
  .page-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-cta-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .page-cta-btn, .page-cta-phone { flex: 1; min-width: 180px; }
}

/* ── FOOTER CONTACT FORM ── */
.footer-contact {
  background: #111928;
  padding: 4rem 8%;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-contact-intro .fc-label {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; display: block; margin-bottom: .8rem;
}
.footer-contact-intro h3 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  color: var(--white); line-height: 1.2; margin-bottom: 1rem;
}
.footer-contact-intro p {
  font-size: .88rem; color: var(--mid); line-height: 1.7; font-weight: 300; margin-bottom: 1.8rem;
}
.fc-info-row { display: flex; flex-direction: column; gap: .9rem; }
.fc-info-item { display: flex; flex-direction: column; gap: .15rem; }
.fc-info-item .lbl { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.fc-info-item .val { font-size: .9rem; color: var(--mid); font-weight: 300; }

.footer-form { display: flex; flex-direction: column; gap: 1rem; }
.footer-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-form .form-group { display: flex; flex-direction: column; gap: .4rem; }
.footer-form .form-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); font-weight: 500; }
.footer-form .form-input,
.footer-form .form-select,
.footer-form .form-textarea {
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 2px; padding: .75rem .9rem; font-family: var(--font-body);
  font-size: .88rem; color: var(--white); outline: none; width: 100%;
  transition: border-color .2s, background .2s;
}
.footer-form .form-input::placeholder,
.footer-form .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.footer-form .form-select option { background: var(--dark); color: var(--white); }
.footer-form .form-input:focus,
.footer-form .form-select:focus,
.footer-form .form-textarea:focus { border-color: var(--accent); background: rgba(74,144,164,0.07); }
.footer-form .form-textarea { resize: vertical; min-height: 100px; }
.footer-form .form-submit {
  background: var(--accent); color: var(--white); border: none;
  padding: .85rem 2rem; font-family: var(--font-body); font-size: .83rem;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer; align-self: flex-start;
  transition: background .25s, transform .2s;
}
.footer-form .form-submit:hover { background: var(--white); color: var(--accent); transform: translateY(-1px); }
.footer-form .success-msg {
  display: none; padding: .9rem 1.2rem;
  background: rgba(74,144,164,0.12); border: 1px solid var(--accent);
  border-radius: 2px; color: var(--accent); font-size: .85rem; font-weight: 500;
}

/* ── FOOTER BAR ── */
.footer-bar {
  background: var(--dark); padding: 1.8rem 8%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo-wrap { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.footer-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); font-weight: 400; }
.footer-logo-text span { color: var(--accent); }
.footer-copy { font-size: .75rem; color: var(--steel); font-weight: 300; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: .75rem; color: var(--steel); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

/* ── SERVICE FEATURE CARDS ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: var(--mid); border: 1.5px solid var(--mid);
}
.feature-card { background: var(--white); padding: 2.2rem 2rem; border-bottom: 3px solid transparent; transition: border-color .3s; }
.feature-card:hover { border-bottom-color: var(--accent); }
.feat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--light); line-height: 1; margin-bottom: 1rem; }
.feat-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; color: var(--dark); margin-bottom: .5rem; }
.feat-desc { font-size: .85rem; color: var(--steel); line-height: 1.7; font-weight: 300; }

/* ── SERVICE ITEMS LIST ── */
.svc-items { list-style: none; display: flex; flex-direction: column; }
.svc-item { padding: 1.4rem 0; border-bottom: 1px solid var(--light); display: flex; align-items: flex-start; gap: 1.2rem; }
.svc-item:first-child { border-top: 1px solid var(--light); }
.svc-item-dot { width: 8px; height: 8px; min-width: 8px; background: var(--accent); border-radius: 50%; margin-top: .35rem; }
.svc-item-title { font-size: .95rem; font-weight: 500; color: var(--dark); margin-bottom: .25rem; }
.svc-item-desc { font-size: .85rem; color: var(--steel); line-height: 1.65; font-weight: 300; }

/* ── OTHER SERVICES DARK ── */
.other-services { padding: 5rem 8%; background: var(--dark); }
.other-services .section-tag { color: var(--accent); }
.other-services .section-title { color: var(--white); margin-bottom: 3rem; }
.other-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.08);
}
.other-card { background: var(--dark); padding: 2rem; text-decoration: none; border-bottom: 3px solid transparent; transition: border-color .3s, background .3s; display: block; }
.other-card:hover { border-bottom-color: var(--accent); background: rgba(255,255,255,0.03); }
.other-card-tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 500; display: block; margin-bottom: .7rem; }
.other-card-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); font-weight: 400; margin-bottom: .6rem; }
.other-card-desc { font-size: .83rem; color: var(--mid); line-height: 1.65; font-weight: 300; margin-bottom: 1rem; }
.other-card-link { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ── SERVICE PAGE HERO ── */
.svc-page-hero { padding: 2.5rem 8% 5rem; }
.svc-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding-top: 2rem; }
.hero-tag { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .9rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5rem); font-weight: 300; color: var(--dark); line-height: 1.08; margin-bottom: 1.4rem; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1rem; color: var(--steel); line-height: 1.8; font-weight: 300; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img-wrap { position: relative; }
.hero-img-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
}
.hero-badge { position: absolute; bottom: -1.2rem; left: -1.2rem; background: var(--accent); color: var(--white); padding: 1.3rem 1.8rem; border-radius: 3px; }
.hero-badge-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; display: block; line-height: 1; }
.hero-badge-text { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: .3rem; display: block; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(0.22,1,0.36,1), transform .6s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .38s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-form .form-row { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; text-align: center; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid, .other-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { left: 1rem; bottom: 1rem; }
}
@media (max-width: 600px) {
  .features-grid, .other-grid { grid-template-columns: 1fr; }
}
/* ── NAV (appended to styles.css) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .3s;
  gap: 1rem;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.logo-link {
  display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 42px; height: 42px; object-fit: contain; border-radius: 50%;
}
.nav-logo-text {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  color: var(--dark); letter-spacing: .02em; white-space: nowrap;
}
.nav-logo-text span { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 500;
  color: var(--steel); letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s; display: flex; align-items: center; gap: .3rem;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--dark) !important; color: var(--white) !important;
  padding: .5rem 1.3rem !important; border-radius: 2px;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; }

/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 1rem); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--light);
  border-radius: 3px; box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  min-width: 210px; opacity: 0; visibility: hidden;
  transition: all .25s ease; padding: .5rem 0;
}
.dropdown a {
  display: block; padding: .65rem 1.3rem; font-size: .8rem;
  color: var(--steel); letter-spacing: .05em; white-space: nowrap;
  text-transform: uppercase;
}
.dropdown a:hover { color: var(--accent); background: var(--off-white); }
.dropdown a.active { color: var(--accent); }
.chevron { font-size: .6rem; opacity: .6; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: .3rem; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--light); box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { padding: .85rem 5%; justify-content: space-between; }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--off-white);
    display: none; padding: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: .7rem 7%; }
  .nav-cta { margin: .5rem 5%; }
}

/* ── ERROR MESSAGE ── */
.error-msg {
  display: none; padding: .9rem 1.2rem;
  background: rgba(180,60,60,0.12); border: 1px solid #b43c3c;
  border-radius: 2px; color: #e07070; font-size: .85rem; font-weight: 500;
  margin-bottom: .5rem;
}

/* ── TRUST BADGES ── */
.trust-badges { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.4rem; }
.trust-badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border-radius: 3px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.trust-badge svg { color: var(--accent); flex-shrink: 0; }
.trust-badge-stars { color: #f5a623; font-size: .85rem; letter-spacing: .05em; line-height: 1; }
.trust-badge-text { font-size: .78rem; color: var(--mid); font-weight: 400; white-space: nowrap; }
.trust-badge-li svg { color: #6bc98a; }
