
:root {
  --ink: #2c1b12;
  --muted: #655044;
  --paper: #fffaf0;
  --peach: #f7b85f;
  --dark: #2c1b12;
  --line: #e5d5bd;
  --display: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

h1, h2, h3, p, ul {
  margin: 0;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.5rem, 5.8vw, 4.8rem);
}

h3 {
  font-size: 1.24rem;
  line-height: 1.22;
}

p + p {
  margin-top: 1rem;
}

section {
  scroll-margin-top: 1.25rem;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #a33425;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2.5rem, 1190px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 3;
  transform: translateY(-250%);
  background: white;
  padding: .75rem;
}

.skip:focus {
  transform: none;
}

/* HEADER AND NAVIGATION */

.nav-wrap {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  position: relative;
  padding-inline-end: .8rem;
}

.brand-trademark {
  position: absolute;
  inset-block-start: 23%;
  inset-inline-end: 0;
  color: #164635;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-wrap nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
}

nav a {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

nav a:hover,
.text-link:hover {
  text-decoration: underline;
}

.menu {
  display: none;
}

/* BUTTONS */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}

.button-dark {
  background: #254932;
  color: white;
}

.button-dark:hover {
  background: #2d593f;
}

.button-bright {
  background: var(--peach);
  color: var(--dark);
}

.button-bright:hover {
  background: #ffda8f;
}

.button-outline {
  border-color: #d4b48c;
  color: white;
}

.button-outline:hover {
  background: #5a3c29;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* HERO SECTION */

.hero,
.visit {
  color: #fff8ea;
  background: var(--dark);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 1.2rem;
  min-height: 565px;
  padding-block: 2.1rem;
}

.hero-copy {
  padding-block: 2rem;
}

.eyebrow {
  font-size: .79rem;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 800;
  color: #9b3022;
  margin-bottom: .9rem;
}

.hero .eyebrow,
.visit .eyebrow {
  color: #f8c477;
}

.hero h1 {
  font-size: clamp(3.1rem, 6.25vw, 5.1rem);
  text-wrap: initial;
}

.hero h1 em {
  color: #ffba68;
}

.intro {
  color: #f6e7d5;
  font-size: clamp(1rem, 1.75vw, 1.22rem);
  max-width: 32rem;
  margin: .95rem 0 1.55rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  max-height: 510px;
  min-height: 390px;
  object-fit: cover;
  border-radius: 1.1rem;
  object-position: 50% 57%;
}

.punchline {
  max-width: 31rem;
  color: #ffd791;
  font-size: 1.03rem;
  font-weight: 700;
  margin: 1.35rem 0 0;
}

.certification {
  display: inline-block;
  border: 1px solid #95724c;
  border-radius: 100px;
  color: #ffd791;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  padding: .4rem .75rem;
  margin: 0 0 1.15rem;
}

/* GENERAL SECTIONS */

.visit {
  background: #244632;
}

.visit .button-outline:hover {
  background: #365d43;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.section {
  padding-block: clamp(3.8rem, 8vw, 7rem);
}

.section-intro {
  color: var(--muted);
  max-width: 42rem;
  margin-top: 1.15rem;
  font-size: 1.08rem;
}

/* PRODUCTS */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.product {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.product img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.product div {
  padding: 1.3rem 1.4rem 1.5rem;
}

.product p,
.steps p {
  margin-top: .5rem;
  color: var(--muted);
}

.indian {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 1rem;
  background: #f7dfa9;
  margin-top: 1.4rem;
}

.indian img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 420px;
}

.indian div {
  padding: clamp(1.4rem, 4vw, 3.25rem);
  align-self: center;
}

.indian h3 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3.65rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.indian h3 + p {
  margin: .9rem 0 1rem;
}

.text-link {
  font-weight: 700;
  text-decoration-color: #a13a29;
  text-underline-offset: 4px;
}

.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding: 0;
  list-style: none;
  margin: 1.25rem 0;
}

/* APPROACH SECTION */

.approach {
  background: #eef0df;
}

.approach-grid,
.visit-grid,
.enquiry {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.75rem, 7vw, 6rem);
}

.steps article {
  padding: 1.15rem 0;
  border-top: 1px solid #cdd4bc;
}

.steps article:first-child {
  padding-top: 0;
  border: 0;
}

.steps article:last-child {
  padding-bottom: 0;
}

/* CUSTOMER SECTION */

.customer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.customer-grid article {
  grid-column: span 2;
  background: white;
  border: 1px solid var(--line);
  padding: 1.15rem;
  border-radius: 1rem;
}

.customer-grid article:first-child,
.customer-grid article:nth-child(2) {
  grid-column: span 3;
}

.customer-grid ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.customer-grid li {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: .45rem .65rem;
  min-width: 84px;
  border: 1px solid #eee0c9;
  border-radius: .55rem;
  font-weight: 700;
  font-size: .86rem;
  text-align: center;
}

.customer-grid li img {
  width: 84px;
  height: 48px;
  object-fit: contain;
}

.customer-grid article.customer-lto {
  grid-column: 1 / -1;
}

.customer-lto p {
  color: var(--muted);
  font-size: .9rem;
  margin-top: .25rem;
}

/* VISIT SECTION */

.visit-grid {
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.visit h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
}

.visit p:not(.eyebrow) {
  color: #f6e7d5;
  margin-bottom: 1.2rem;
}

/* ENQUIRY FORM */

.enquiry {
  grid-template-columns: 1fr 1.4fr;
}

.enquiry .text-link {
  display: inline-block;
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

label {
  font-size: .92rem;
  font-weight: 700;
  display: block;
}

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

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  background: white;
  border: 1px solid #bda78c;
  border-radius: .5rem;
  padding: .6rem .7rem;
  color: var(--ink);
  margin-top: .25rem;
  font-size: 1rem;
}

textarea {
  resize: vertical;
}

.review {
  margin-top: 1.25rem;
  background: #eef0df;
  border-radius: .75rem;
  padding: 1rem;
}

.review pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}

/* FOOTER - THREE COLUMN LAYOUT */

footer {
  background: #f4e7cd;
  padding-block: 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

/* Left: Wynbrands logo */

.footer-inner .brand {
  justify-self: start;
}

.footer-inner .brand img {
  width: 142px;
}

/* Centre: Company details */

.footer-company {
  text-align: center;
}

.footer-company p,
.footer-inner > a:last-child {
  font-size: .86rem;
}

.footer-company p + p {
  margin-top: .2rem;
}

/* WhatsApp and Instagram */

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: .65rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  transition: opacity .2s ease;
}

.footer-social a:hover {
  opacity: .75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social svg {
  display: block;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

.footer-social small {
  font-size: .72rem;
  font-weight: 400;
  color: var(--muted);
}

/* Right: AI-readable overview */

.footer-overview {
  justify-self: end;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.footer-overview:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* TABLET RESPONSIVE */

@media (max-width: 850px) {

  .head-cta {
    display: none;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-image {
    min-height: 340px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 7.5vw, 4.6rem);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .footer-company {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-inner .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-overview {
    grid-column: 2;
    grid-row: 1;
  }
}

/* MOBILE RESPONSIVE */

@media (max-width: 650px) {

  .wrap {
    width: calc(100% - 2rem);
  }

  .nav-wrap {
    min-height: 102px;
    flex-wrap: wrap;
    gap: 0;
  }

  .js .menu {
    display: block;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    padding: .5rem .8rem;
    font-weight: 700;
    min-height: 44px;
  }

  .nav-wrap nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
    padding: 0 0 .75rem;
  }

  .nav-wrap nav a {
    display: block;
    padding: .5rem 0;
  }

  .js nav:not(.open) {
    display: none;
  }

  .hero-inner,
  .indian,
  .approach-grid,
  .visit-grid,
  .enquiry {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: .65rem;
    padding: 0 0 1rem;
  }

  .brand img {
    width: 158px;
  }

  .hero-copy {
    padding: 2.3rem 0 .85rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 10vw, 4.8rem);
  }

  .hero-image {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.55;
  }

  .intro {
    margin: 1rem 0 1.3rem;
  }

  .products {
    grid-template-columns: 1fr;
    gap: .85rem;
    margin-top: 1.25rem;
  }

  .product img {
    aspect-ratio: 1.75;
  }

  .customer-grid {
    grid-template-columns: 1fr;
    margin-top: 1.35rem;
  }

  .customer-grid article,
  .customer-grid article:first-child,
  .customer-grid article:nth-child(2) {
    grid-column: auto;
  }

  .customer-grid article.customer-lto {
    grid-column: auto;
  }

  .visit-grid {
    gap: 1rem;
  }

  .enquiry {
    gap: 1.6rem;
  }

  .indian img {
    height: auto;
    aspect-ratio: 1.8;
    object-position: 65% center;
  }

  /* Mobile footer */

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-inner .brand {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .footer-company {
    grid-column: 1;
    grid-row: auto;
    text-align: center;
  }

  .footer-overview {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .footer-social {
    flex-direction: column;
    align-items: center;
    gap: .7rem;
  }

  .footer-social a {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* SMALL MOBILE */

@media (max-width: 390px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    gap: .5rem;
  }

  .button {
    padding-inline: .85rem;
  }

}

/* Fix WhatsApp and Instagram icon sizes */
.footer-social svg {
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  vertical-align: middle;
  overflow: hidden;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-social a span {
  font-size: 13px;
}

.footer-social a small {
  font-size: 11px;
}

