/* ==========================================================================
   AYSH TECH — MAIN STYLESHEET
   Structure:
   1. Design tokens (colors, fonts, spacing)  — edit these to re-theme the site
   2. Reset & base
   3. Layout helpers
   4. Buttons
   5. Header & navigation
   6. Hero (home) + page hero (inner pages)
   7. Stats strip
   8. Sections, services, about, why-choose, process, CTA
   9. Contact page & form
  10. Footer, floating buttons
  11. Animations & reduced motion
  12. Responsive tweaks
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand palette (taken from the Aysh Tech logo: navy, slate-blue and gold) */
  --navy-950: #050d24;
  --navy-900: #0a1836;
  --navy-800: #112750;
  --navy-700: #1b3a73;
  --slate: #5f7aa5;
  --slate-soft: #dfe6f2;
  --gold: #b8965a;
  --gold-bright: #d8b673;
  --gold-soft: #f4ecda;
  --gold-text: #86672b;          /* darker gold, readable on white */

  --ink: #0c1a38;
  --muted: #56627f;
  --line: #e3e8f1;
  --bg: #f5f7fb;
  --white: #ffffff;

  --wa: #128c4a;                 /* WhatsApp green */

  /* Type */
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(10, 24, 54, 0.06);
  --shadow-md: 0 14px 34px -14px rgba(10, 24, 54, 0.22);
  --shadow-lg: 0 34px 70px -28px rgba(5, 13, 36, 0.55);

  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* 2. RESET & BASE -------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 3px solid var(--navy-700);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold-bright); }

.icon {
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--gold-bright);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* 3. LAYOUT HELPERS ------------------------------------------------------ */
.container {
  width: min(1180px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--bg); }
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head {
  display: grid;
  gap: 14px 56px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 700;
}
/* A small "circuit trace" — line ending in a node — echoing the logo */
.section-head h2::before,
.trace {
  content: "";
  display: block;
  width: 64px;
  height: 10px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at right center, var(--gold) 0 4.5px, transparent 5px),
    linear-gradient(var(--gold), var(--gold)) left center / calc(100% - 8px) 2px no-repeat;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
}
.section--dark .section-head p { color: rgba(255, 255, 255, 0.72); }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
}

/* 4. BUTTONS ------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, color 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn .icon { width: 1.25em; height: 1.25em; }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, #e6cb90, var(--gold));
  color: var(--navy-950);
  box-shadow: 0 10px 24px -10px rgba(184, 150, 90, 0.9);
}
.btn-gold:hover { box-shadow: 0 16px 30px -10px rgba(184, 150, 90, 1); }

.btn-navy {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(10, 24, 54, 0.8);
}
.btn-navy:hover { background: var(--navy-700); }

.btn-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}
.btn-outline:hover { background: var(--navy-900); color: #fff; }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 140, 74, 0.9); }
.btn-wa:hover { background: #0e7a40; }

/* click ripple (added by script.js) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* 5. HEADER & NAVIGATION ------------------------------------------------- */
.site-header {
  --h: 88px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  --h: 76px;
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(10, 24, 54, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--h);
  transition: height 0.3s var(--ease);
}

/*
  LOGO
  The logo file is used exactly as supplied. It has generous transparent
  padding around the artwork, so CSS crops the *view* (not the file):
  the artwork occupies x 138–352 and y 109–403 of the 500 × 500 image.
*/
.brand-logo {
  --logo-h: 76px;
  position: relative;
  display: block;
  height: var(--logo-h);
  aspect-ratio: 214 / 294;
  overflow: hidden;
  transition: height 0.3s var(--ease);
}
.brand-logo img {
  position: absolute;
  width: 233.64%;            /* 500 / 214 */
  height: auto;
  max-width: none;
  left: -64.49%;             /* -138 / 214 */
  top: -37.07%;              /* -109 / 294 */
}
.site-header.is-scrolled .brand-logo { --logo-h: 64px; }
.brand { display: inline-flex; border-radius: 8px; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.2s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:hover { color: var(--gold-text); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold-text); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 22px; height: 16px; }
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .site-header { --h: 76px; }
  .site-header.is-scrolled { --h: 70px; }
  .brand-logo { --logo-h: 64px; }
  .site-header.is-scrolled .brand-logo { --logo-h: 58px; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -24px rgba(10, 24, 54, 0.35);
    max-height: calc(100dvh - var(--h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 16px 4px; font-size: 1.05rem; }
  .nav-list a::after { left: 4px; right: auto; width: 32px; bottom: 10px; }
  .nav .btn { width: 100%; }
}

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(110px, 13vw, 170px);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 88% 18%, rgba(95, 122, 165, 0.42), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(184, 150, 90, 0.2), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 80% at 70% 35%, #000, transparent);
  mask-image: radial-gradient(75% 80% at 70% 35%, #000, transparent);
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 40px; }
}

.hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero h1 .line { display: block; }
.hero h1 .gold { color: var(--gold-bright); }

.lead {
  max-width: 54ch;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 38px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 1.2em; height: 1.2em; color: var(--gold-bright); stroke-width: 2.2; }

/* Hero visual: website window + floating service chips */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 36px 26px;
}
.orbit {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(216, 182, 115, 0.3);
  border-radius: 50%;
  animation: spin 70s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  top: 12%; left: 12%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 6px rgba(216, 182, 115, 0.18);
}
.orbit--inner {
  inset: 14% 10%;
  border-color: rgba(95, 122, 165, 0.45);
  animation-direction: reverse;
  animation-duration: 90s;
}
.orbit--inner::after { background: var(--slate); box-shadow: 0 0 0 6px rgba(95, 122, 165, 0.22); top: auto; bottom: 10%; left: 18%; }

.browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: bob 9s ease-in-out infinite;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #eef2f9;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c7d0e2; }
.browser-bar i:nth-child(1) { background: var(--gold-bright); }
.browser-bar .url {
  flex: 1;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  color: var(--muted);
}
.browser-body { display: grid; gap: 14px; padding: 16px; }

.bb-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.bb-lines { flex: 1; display: grid; gap: 9px; }
.bb-lines i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.85); }
.bb-lines i:nth-child(2) { background: rgba(255, 255, 255, 0.35); }
.bb-btn { width: 68px; height: 26px; border-radius: 999px; background: linear-gradient(135deg, #e6cb90, var(--gold)); }

.bb-chart {
  padding: 14px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.bb-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--navy-900);
}
.bb-chart-head .up {
  padding: 2px 9px;
  border-radius: 999px;
  background: #e7f5ec;
  color: #16793f;
  font-weight: 700;
}
.bb-chart svg { width: 100%; height: auto; overflow: visible; }
.bar {
  fill: var(--slate-soft);
  transform-box: fill-box;
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) both;
  animation-delay: calc(var(--i) * 70ms + 300ms);
}
.bar.hot { fill: var(--gold); }
.trend {
  fill: none;
  stroke: var(--navy-700);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 2.2s 0.9s var(--ease) forwards;
}
.trend-dot { fill: var(--gold); animation: pulse 2.4s 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.bb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bb-stat {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}
.bb-stat strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); }

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 10px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55);
  animation: float 6.5s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.chip .icon { width: 1.5em; height: 1.5em; padding: 5px; box-sizing: content-box; border-radius: 9px; background: var(--navy-900); color: var(--gold-bright); stroke-width: 1.9; }
.chip--seo { top: 0; left: 0; --d: -1s; }
.chip--ai { top: 9%; right: 0; --d: -3s; }
.chip--social { top: 47%; left: -2%; --d: -2s; }
.chip--shop { bottom: 13%; right: -1%; --d: -4s; }
.chip--local { bottom: 0; left: 9%; --d: -5s; }

/* Inner-page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.8);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 92% 10%, rgba(95, 122, 165, 0.4), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(184, 150, 90, 0.2), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px;
}
.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-hero p { max-width: 58ch; margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.78); }
.page-hero .trace { margin-bottom: 22px; }

/* 7. STATS STRIP --------------------------------------------------------- */
.stats { position: relative; z-index: 2; margin-top: -68px; }
.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
}
.stat { padding: 30px 28px; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy-900);
}
.stat-num sup { font-size: 0.5em; color: var(--gold); vertical-align: top; position: relative; top: 0.15em; margin-left: 2px; }
.stat p { margin: 8px 0 0; font-size: 0.95rem; line-height: 1.4; color: var(--muted); }

@media (max-width: 720px) {
  .stats-card { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 22px 24px; }
}

/* 8. SERVICES ------------------------------------------------------------ */
.services-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
/* soft spotlight that follows the cursor (position set by script.js) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(216, 182, 115, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 150, 90, 0.55);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin: 22px 0 10px; }
.card p { flex: 1; color: var(--muted); margin-bottom: 24px; }
.card .btn { position: relative; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy-900);
  color: var(--gold-bright);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.icon-tile .icon { width: 28px; height: 28px; }
.card:hover .icon-tile { background: linear-gradient(135deg, #e6cb90, var(--gold)); color: var(--navy-950); transform: rotate(-6deg) scale(1.06); }

.card--feature {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-color: transparent;
  color: rgba(255, 255, 255, 0.82);
}
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.card--feature .icon-tile { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(216, 182, 115, 0.4); }
.card--feature .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.card--feature .btn-outline:hover { background: #fff; color: var(--navy-900); }
@media (min-width: 700px) { .card--feature { grid-column: span 2; } }

.card--cta {
  justify-content: center;
  background: var(--gold-soft);
  border-color: rgba(184, 150, 90, 0.4);
}
.card--cta h3 { margin-top: 0; }
.card--cta p { flex: none; }
@media (min-width: 700px) and (max-width: 1019px) { .card--cta { grid-column: span 2; } }

/* About */
.about-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 72px; } }

.about-media { position: relative; }
.about-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  opacity: 0.55;
}
.about-media img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about-copy h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 700;
}
.about-copy h2::before { content: ""; display: block; width: 64px; height: 10px; margin-bottom: 18px;
  background: radial-gradient(circle at right center, var(--gold) 0 4.5px, transparent 5px), linear-gradient(var(--gold), var(--gold)) left center / calc(100% - 8px) 2px no-repeat; }
.about-copy > p { color: var(--muted); }

.feature-list { margin: 30px 0 34px; border-top: 1px solid var(--line); }
.feature {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature .badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
}
.feature h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

.mission {
  margin: 0 0 30px;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--bg);
  color: var(--navy-800);
  font-weight: 500;
}

/* Why choose us */
.why-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } }
.why-intro h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700; }
.why-intro .trace { margin-bottom: 18px; }
.why-intro p { margin-bottom: 30px; color: rgba(255, 255, 255, 0.74); max-width: 42ch; }

.why-list { display: grid; }
@media (min-width: 700px) { .why-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
.why-item {
  display: flex;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.why-item .tick {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(216, 182, 115, 0.16);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(216, 182, 115, 0.5);
  transition: background 0.3s, color 0.3s;
}
.why-item .tick .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.why-item:hover .tick { background: var(--gold-bright); color: var(--navy-950); }
.why-item h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.why-item p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

/* CTA band */
.cta-band { padding: clamp(64px, 9vw, 112px) 0; }
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 28px;
  padding: clamp(36px, 6vw, 68px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  right: -120px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 182, 115, 0.42), transparent 68%);
}
.cta-panel h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.cta-panel p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1fr auto; align-items: center; } }

/* Services page: detail sections */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.chip-nav a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip-nav a:hover { border-color: var(--gold); background: var(--gold-soft); }

.detail {
  display: grid;
  gap: 28px 64px;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.detail:first-of-type { border-top: 0; }
@media (min-width: 900px) { .detail { grid-template-columns: 0.85fr 1.15fr; } }
.detail-head .icon-tile { width: 68px; height: 68px; border-radius: 20px; margin-bottom: 22px; }
.detail-head .icon-tile .icon { width: 34px; height: 34px; }
.detail-head h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.detail-head p { color: var(--muted); max-width: 42ch; }
.detail-body h3 { margin-bottom: 16px; font-size: 1.05rem; font-weight: 700; }

.check-list { display: grid; gap: 14px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .icon {
  width: 22px; height: 22px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
  stroke-width: 2.6;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.steps { display: grid; gap: 30px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { position: relative; padding-top: 0; }
.step .num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--gold);
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (min-width: 900px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 68px;
    right: -18px;
    height: 0;
    border-top: 2px dashed rgba(184, 150, 90, 0.6);
  }
}

/* 9. CONTACT ------------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }

.contact-info { display: grid; gap: 18px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
a.contact-item:hover { transform: translateY(-4px); border-color: rgba(184, 150, 90, 0.6); box-shadow: var(--shadow-md); }
.contact-item .icon-tile { width: 52px; height: 52px; border-radius: 14px; }
.contact-item .icon-tile .icon { width: 26px; height: 26px; }
.contact-item small { display: block; font-size: 0.85rem; color: var(--muted); }
.contact-item strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-900); overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.form-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.form-card h2 { margin-bottom: 6px; font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }

.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-900);
}
.field label .req { color: #b3261e; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #cfd7e6;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%230a1836' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 182, 115, 0.3);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #b3261e; background: #fff8f7; }
.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea { border-color: #1f8a4c; }
.error-msg { display: none; margin: 7px 0 0; font-size: 0.86rem; font-weight: 500; color: #b3261e; }
.field.is-invalid .error-msg { display: block; }

.form-note { margin: 18px 0 0; font-size: 0.88rem; color: var(--muted); }
.form-success {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #a9dcbd;
  border-radius: 14px;
  background: #ecf8f1;
  color: #145a34;
  font-weight: 500;
}
.form-success.is-visible { display: block; animation: rise 0.5s var(--ease); }

.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq details[open] { border-color: rgba(184, 150, 90, 0.6); box-shadow: var(--shadow-md); }
.faq summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* 10. FOOTER & FLOATING BUTTONS ----------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(56px, 7vw, 88px) 0 0;
}
.footer-grid { display: grid; gap: 44px 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; } }

.footer-brand .logo-badge {
  display: inline-block;
  padding: 14px 22px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.6);
}
.footer-brand .brand-logo { --logo-h: 104px; }
.footer-brand p { max-width: 32ch; margin-bottom: 22px; }

.site-footer h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.footer-links a:hover { color: var(--gold-bright); transform: translateX(4px); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-bright); }
.footer-contact a { overflow-wrap: anywhere; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-bright); }

.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.social a:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-950); transform: translateY(-3px); }
.social .icon { width: 20px; height: 20px; }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  text-align: center;
}
.footer-bottom p { margin: 0; }

.float-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fab {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(5, 13, 36, 0.6);
  transition: transform 0.25s var(--ease), background 0.25s, opacity 0.3s, visibility 0.3s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab .icon { width: 24px; height: 24px; }
.fab--top { background: var(--navy-900); color: var(--gold-bright); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top.is-visible:hover { transform: translateY(-4px) scale(1.05); }
.fab--wa { width: 56px; height: 56px; background: var(--wa); }
.fab--wa .icon { width: 28px; height: 28px; }

/* 11. ANIMATIONS --------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Scroll reveal — only hidden when JavaScript is running (class "js" on <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .trend { stroke-dashoffset: 0; }
}

/* 12. RESPONSIVE TWEAKS -------------------------------------------------- */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .btn-lg { padding: 15px 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 30px 6px; }
  .chip { font-size: 0.7rem; padding: 8px 11px 8px 8px; gap: 7px; }
  .chip--social { left: 0; }
  .chip--shop { right: 0; }
  .about-media::before { inset: 14px -8px -10px 14px; }
  .detail-actions .btn, .contact-actions .btn, .cta-actions .btn { width: 100%; }
  .fab--wa { width: 52px; height: 52px; }
}
