/* Vasudev Chemo Pharma — Google Ads Landing Page
   Brand tones verified from vasudevchemopharma.com (2026-09-08):
   Primary #3C2A98 | Accent #00A658 | Secondary #3D4DDA | Light #F9F8F6 | Text #151515
*/

:root {
  --brand: #3c2a98;
  --brand-deep: #241a5c;
  --brand-mid: #3d4dda;
  --accent: #00C96B;
  --accent-dark: #008a48;
  --wa: #25d366;
  --wa-dark: #1ebe57;
  --bg: #ffffff;
  --bg-alt: #f9f8f6;
  --bg-mist: #f1f4f9;
  --text: #151515;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --danger: #dc2626;
  --success: #059669;
  --overlay: rgba(20, 14, 48, 0.72);
  --header-h: 72px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(21, 21, 21, 0.06);
  --shadow-md: 0 8px 28px rgba(36, 26, 92, 0.12);
  --shadow-lg: 0 18px 48px rgba(36, 26, 92, 0.18);
  --font-display: "Lexend", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(0, 166, 88, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 77, 218, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 166, 88, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-8) 0;
  }
}

.section--alt {
  background:
    linear-gradient(180deg, rgba(249, 248, 246, 0.95), rgba(241, 244, 249, 0.9));
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  color: var(--brand-deep);
  max-width: 22ch;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 1.0625rem;
}

.section__head {
  margin-bottom: var(--space-6);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 166, 88, 0.28);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
}

.btn--brand:hover {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  text-decoration: none;
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--wa:hover {
  background: var(--wa-dark);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* —— Sticky Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
  line-height: 1.2;
}

.logo__name,
.logo__tag {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo__tag {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8125rem;
}

.header-actions .btn--wa span {
  display: none;
}

@media (min-width: 480px) {
  .header-actions .btn--wa span {
    display: inline;
  }
}

/* Narrow phones (≈200–395px): keep logo readable, prevent crop/overlap */
@media (max-width: 395px) {
  .site-header .container {
    width: min(100% - 1rem, var(--container));
  }

  .site-header__inner {
    gap: 0.5rem;
  }

  .logo {
    flex: 1 1 auto;
    gap: 0.4rem;
    min-width: 0;
  }

  .logo img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .logo__text {
    flex: 1 1 auto;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .logo__tag {
    font-size: 0.58rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn {
    min-height: 44px;
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .header-actions .btn--wa {
    min-width: 44px;
    padding-inline: 0.55rem;
  }
}

/* ≤360px: hide logo text; scale mark so icon-only brand stays clear */
@media (max-width: 360px) {
  .logo__text {
    display: none;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    width: clamp(48px, 18vw, 56px);
    height: clamp(48px, 18vw, 56px);
  }

  .header-actions .btn--brand {
    padding-inline: 0.55rem;
  }
}

/* 396–464px: logo text ellipsizes — icon-only mark (leaves ≤395 / ≤360 rules intact) */
@media (min-width: 396px) and (max-width: 464px) {
  .logo__text {
    display: none;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    width: clamp(48px, 12vw, 56px);
    height: clamp(48px, 12vw, 56px);
  }
}

@media (min-width: 768px) {
  .logo img {
    width: 48px;
    height: 48px;
  }

  .logo__text {
    font-size: 1.05rem;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .header-actions .btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.875rem;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__logo__name {
  color: var(--bg);
}
.hero__logo__tag {
  color: var(--text-muted);
}
.hero__title-accent {
  display: inline-block; 
  color: var(--accent); 
}
.hero__title-accent span{
  display: inline-block; 
  color: var(--bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media video {
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 26, 92, 0.45) 0%, rgba(20, 14, 48, 0.78) 55%, rgba(14, 10, 36, 0.92) 100%),
    linear-gradient(90deg, rgba(20, 14, 48, 0.55), transparent 65%);
}

.hero__content {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2rem;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-5);
}

.hero__brand img {
  width: clamp(160px, 42vw, 280px);
  height: auto;
  filter: brightness(0) invert(1);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-4);
  max-width: 16ch;
}

.hero__title em {
  font-style: normal;
  color: #7dffb8;
}

.hero__sub {
  margin: 0 0 var(--space-6);
  max-width: 42ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__trust {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 10, 36, 0.55);
  backdrop-filter: blur(8px);
}

.hero__trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .hero__trust-list {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 0;
  }
}

.hero__trust-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__trust-list strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero__trust-list span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* —— Highlight products —— */
#products .products-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 42rem;
}

#products .products-head .section__title {
  letter-spacing: -0.025em;
}

#products .products-head .section__lead {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 48ch;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.35rem;
  }
}

.product-card {
  --product-pad: 1.15rem 1.15rem 1.25rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(36, 26, 92, 0.09);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  transition:
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 3;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(60, 42, 152, 0.18);
  transform: translateY(-3px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:focus-within {
  border-color: rgba(60, 42, 152, 0.22);
  box-shadow: var(--shadow-md), var(--focus);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover {
    transform: none;
  }

  .product-card:hover .product-card__img {
    transform: none;
  }
}

.product-card__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  /* Studio-neutral well so contain letterboxing reads as intentional */
  background: #e8e9ed;
}

.product-card__img {
  position: absolute;
  /* Inset keeps jar/bag off edges; extra bottom clears grade chips */
  top: 0.7rem;
  right: 0.7rem;
  bottom: 2.55rem;
  left: 0.7rem;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__media-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  /* Soft bottom veil only — chips stay readable without hiding the product */
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 68%,
    rgba(18, 12, 48, 0.14) 100%
  );
}

.product-card__badges {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.product-card__tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  background: rgba(60, 42, 152, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  backdrop-filter: blur(6px);
}

.product-card__form {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(232, 255, 242, 0.94);
  border: 1px solid rgba(0, 166, 88, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}

.product-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--product-pad);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  color: var(--brand-deep);
}

.product-card__desc {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
}

.product-card__specs {
  margin: 0 0 1.15rem;
  padding: 0.55rem 0.7rem;
  list-style: none;
  display: grid;
  gap: 0;
  background: rgba(241, 244, 249, 0.72);
  border: 1px solid rgba(36, 26, 92, 0.06);
  border-radius: 10px;
}

.product-card__spec {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(36, 26, 92, 0.07);
}

.product-card__spec:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.product-card__spec:last-child {
  padding-bottom: 0.15rem;
}

.product-card__spec dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-card__spec dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 0.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.product-card__cta,
.product-card__detail {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
}

@media (min-width: 700px) {
  .product-card {
    --product-pad: 1.25rem 1.3rem 1.35rem;
  }

  .product-card__media {
    aspect-ratio: 4 / 3;
  }

  .product-card__cta,
  .product-card__detail {
    width: auto;
    min-width: 0;
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }
}

/* —— About —— */
.about-grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-7);
  }
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background: var(--brand-deep);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(60, 42, 152, 0.25), rgba(0, 166, 88, 0.15));
  pointer-events: none;
}

.usp-list {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.usp-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
}

.usp-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* —— Services —— */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.service {
  background: #fff;
  border: 1px solid rgba(36, 26, 92, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(60, 42, 152, 0.14);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .service:hover {
    transform: none;
  }
}

.service__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background:
    linear-gradient(145deg, rgba(60, 42, 152, 0.08), rgba(0, 166, 88, 0.07));
}

.service__icon svg {
  width: 48px;
  height: 48px;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--brand-deep);
}

.service p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.services__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

/* —— Industries —— */
.industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .industries {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.industry {
  padding-top: 1rem;
  border-top: 2px solid var(--brand);
}

.industry__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--brand);
}

.industry__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.industry h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--brand-deep);
}

.industry p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* —— Global reach —— */
.regions {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .regions {
    grid-template-columns: repeat(5, 1fr);
  }
}

.region {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.region h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--brand);
}

.region p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* —— Enquiry form —— */
.enquiry {
  background:
    linear-gradient(135deg, #241a5c 0%, #3c2a98 48%, #1f3d6e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.enquiry::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 166, 88, 0.28), transparent 65%);
  pointer-events: none;
}

.enquiry .section__title,
.enquiry .section__lead {
  color: #fff;
}

.enquiry .section__lead {
  color: rgba(255, 255, 255, 0.8);
}

.enquiry .section__eyebrow {
  color: #7dffb8;
}

.enquiry-layout {
  display: grid;
  gap: var(--space-6);
  position: relative;
}

@media (min-width: 900px) {
  .enquiry-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.form-panel {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .form-panel {
    padding: 1.75rem;
  }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.field .req {
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: var(--focus);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.8125rem;
  min-height: 1.1em;
}

.form-privacy {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.925rem;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: rgba(5, 150, 105, 0.12);
  color: var(--success);
}

.form-status--error {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
}

/* —— FAQ —— */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-deep);
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  max-width: 62ch;
}

/* —— Footer —— */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--space-7) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr;
  }
}

.footer-brand img {
  width: 52px;
  height: 52px;
  margin-bottom: 0.85rem;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: #7dffb8;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Modal —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 10, 36, 0.62);
  backdrop-filter: blur(3px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .modal__dialog {
    padding: 1.75rem;
  }
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  color: var(--brand-deep);
}

.modal__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.modal__close {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-mist);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.modal__close:hover {
  background: var(--border);
}

.modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

body.modal-open {
  overflow: hidden;
}

/* —— Floating WhatsApp —— */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--wa-dark);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.2s var(--ease) infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .wa-float {
    bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  }
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero__content > * {
  animation: hero-rise 0.8s var(--ease) both;
}

.hero__brand {
  animation-delay: 0.05s;
}

.hero__title {
  animation-delay: 0.15s;
}

.hero__sub {
  animation-delay: 0.28s;
}

.hero__ctas {
  animation-delay: 0.4s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content > *,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .wa-float::before {
    animation: none;
  }
}

/* —— Thank-you state (?thankyou=1) —— */
.thankyou-view {
  display: none;
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + var(--space-7)) var(--space-4) var(--space-8);
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(61, 77, 218, 0.1), transparent 55%),
    radial-gradient(700px 420px at 90% 20%, rgba(0, 166, 88, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f8fc 0%, #ffffff 55%);
}

body.is-thankyou .thankyou-view {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-thankyou #top,
body.is-thankyou .site-footer,
body.is-thankyou .wa-float,
body.is-thankyou .skip-link {
  display: none !important;
}

body.is-thankyou .header-actions [data-open-enquiry] {
  display: none;
}

.thankyou-view__inner {
  max-width: 560px;
  text-align: center;
  animation: thankyou-rise 0.7s var(--ease) both;
}

.thankyou-view__brand {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.thankyou-view__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
  outline: none;
}

.thankyou-view__lead {
  margin: 0 auto var(--space-6);
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.thankyou-view__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.thankyou-view__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.thankyou-view__note a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.thankyou-view__note a:hover {
  text-decoration: underline;
}

@keyframes thankyou-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thankyou-view__inner {
    animation: none;
  }
}
