/*
Theme Name: Sobrado Digital
Theme URI: https://sobradodigital.com.br
Author: Infograde / Codex
Description: Tema institucional responsivo desenvolvido a partir do projeto oficial da Sobrado Digital no Figma.
Version: 1.0.5
Text Domain: sobrado-digital
*/

@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/Zodiak-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zodiak";
  src: url("assets/fonts/Zodiak-VariableItalic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Ranade";
  src: url("assets/fonts/Ranade-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ranade";
  src: url("assets/fonts/Ranade-VariableItalic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Variable.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --wine: #1b090a;
  --ruby: #491b19;
  --terracotta: #67241b;
  --rust: #b95f28;
  --sand: #d1bfa6;
  --sand-light: #ddceb9;
  --sand-pale: #eadfce;
  --olive: #6d6b42;
  --ink: #1b090a;
  --page-padding: clamp(24px, 5.55vw, 80px);
  --content-width: 1280px;
  --button-curve: cubic-bezier(0.7808593512, 0.0111718746, 0.2187109441, 0.9905859232);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--sand-light);
  color: var(--ink);
  font-family: "Ranade", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--sand-pale);
  color: var(--wine);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: 100%;
  overflow: clip;
}

.container {
  width: min(100%, calc(var(--content-width) + (var(--page-padding) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px;
  background: var(--terracotta);
  color: var(--sand-pale);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.section-label--light {
  background: rgba(209, 191, 166, 0.7);
  color: var(--wine);
}

.section-label--rust {
  background: var(--rust);
  color: var(--wine);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--sand-light);
  color: var(--wine);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 300ms var(--button-curve), color 300ms var(--button-curve);
}

.button:hover,
.button:focus-visible {
  background: var(--rust);
}

.button--nav {
  font-family: "Zodiak", serif;
  font-size: 18px;
  font-weight: 800;
}

.button--hero {
  min-width: min(392px, 100%);
  font-size: 18px;
}

.button--dark {
  min-width: 234px;
  background: var(--ruby);
  color: var(--sand);
  font-size: 16px;
  text-transform: none;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--rust);
  color: var(--wine);
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  height: 100px;
  background: var(--ruby);
}

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

.brand {
  display: block;
  width: 271px;
  height: 72px;
  overflow: hidden;
}

.brand img {
  width: 271px;
  height: 100px;
  transform: translateY(-14px);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.desktop-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-light);
  font-family: "Zodiak", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 1.022093773s ease, font-size 1.022093773s ease;
}

.desktop-nav__link:hover,
.desktop-nav__link:focus-visible {
  color: var(--rust);
  font-size: 20px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(221, 206, 185, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--sand-light);
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 300ms var(--button-curve), opacity 300ms var(--button-curve);
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  max-height: 0;
  overflow: hidden;
  background: var(--ruby);
  opacity: 0;
  visibility: hidden;
  transition: max-height 300ms var(--button-curve), opacity 300ms var(--button-curve), visibility 300ms;
}

.mobile-nav.is-open {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
}

.mobile-nav__inner {
  display: grid;
  gap: 2px;
  padding: 12px var(--page-padding) 28px;
}

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(221, 206, 185, 0.2);
  color: var(--sand-light);
  font-family: "Zodiak", serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-nav .button {
  margin-top: 14px;
  border-bottom: 0;
  color: var(--wine);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 800px;
  place-items: center;
  overflow: hidden;
  background: var(--ruby);
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: url("assets/images/136_55_imgHero.png") center / cover;
  content: "";
  opacity: 0.1;
}

.hero__inner {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1320px;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 116px var(--page-padding) 80px;
}

.hero__headings {
  display: grid;
  gap: 40px;
}

.hero h1,
.hero h2 {
  margin: 0;
  background: linear-gradient(90deg, var(--sand) 0%, var(--rust) 48.558%, var(--sand) 100%);
  background-clip: text;
  color: transparent;
  font-family: "Zodiak", serif;
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(48px, 4.58vw, 66px);
  line-height: 1.12;
}

.hero h2 {
  font-size: clamp(30px, 2.78vw, 40px);
  line-height: 1.12;
}

.hero__lead {
  margin: 0;
  color: var(--sand);
  font-size: 24px;
  line-height: 30px;
  opacity: 0.78;
}

.hero__actions {
  display: grid;
  justify-items: center;
  gap: 60px;
}

/* Solutions */
.solutions {
  position: relative;
  min-height: 1650px;
  overflow: hidden;
  padding-block: 80px;
  background: var(--sand-light);
}

.solutions::before,
.ceo::before,
.testimonials::before {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  content: "";
  pointer-events: none;
}

.solutions::before {
  background-image: url("assets/images/136_62_imgSession2.png");
  opacity: 0.05;
}

.solutions__inner {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 46px;
}

.award-wrap {
  display: grid;
  width: 100%;
  min-width: 0;
  justify-items: center;
  gap: 32px;
}

.award-card {
  display: grid;
  width: min(560px, 100%);
  min-width: 0;
  height: 700px;
  max-width: 100%;
  align-content: center;
  justify-items: center;
  gap: 24px;
  overflow: hidden;
  border-radius: 16px;
  background: #e7decf;
  box-shadow: 16px 16px 32px 8px rgba(0, 0, 0, 0.25);
}

.award-card__media {
  position: relative;
  width: 497px;
  height: 517px;
  max-width: calc(100% - 32px);
  overflow: hidden;
}

.award-card__media img {
  position: absolute;
  top: -23.57%;
  left: -6.44%;
  width: 120.84%;
  max-width: none;
  height: 174.29%;
  object-fit: cover;
}

.award-card__caption {
  color: var(--ink);
  text-align: center;
  opacity: 0.74;
}

.award-card__caption strong,
.award-card__caption span {
  display: block;
  line-height: 32px;
}

.award-card__caption strong { font-size: 24px; }
.award-card__caption span { font-size: 18px; }

.solutions__copy {
  display: grid;
  justify-items: center;
  gap: 26px;
  text-align: center;
}

.solutions__copy h2 {
  max-width: 1240px;
  margin: 0;
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 1.5;
}

.solutions__copy p {
  max-width: 1080px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  opacity: 0.74;
}

.services-grid {
  display: grid;
  width: min(100%, 1140px);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: space-between;
  gap: 40px;
  padding-top: 4px;
}

.service-card {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 18px 24px 16px;
  border: 1px solid rgba(217, 154, 88, 0.34);
  border-radius: 10px;
  background: var(--ruby);
  box-shadow: 0 14px 13px rgba(45, 14, 11, 0.24);
}

.service-card:nth-child(even) { background: #381210; }

.service-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 154, 88, 0.38);
  border-radius: 50%;
  background: rgba(217, 154, 88, 0.13);
}

.service-card__icon img { width: 22px; height: 22px; }

.service-card h3 {
  margin: 0;
  color: #f4e5cc;
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.service-card p {
  margin: auto 0 0;
  color: rgba(226, 199, 164, 0.86);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* About */
.about {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: var(--wine);
  color: var(--sand);
}

.about__photo,
.history__photo {
  position: absolute;
  inset: 0 50% 0 0;
  overflow: hidden;
}

.about__photo img {
  position: absolute;
  top: -9.24%;
  left: 0;
  width: 100%;
  max-width: none;
  height: 142.16%;
  object-fit: cover;
  opacity: 0.6;
}

.about::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--wine) 50.02%);
  content: "";
}

.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 800px;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
  padding-block: 76px;
}

.about__left {
  display: grid;
  align-content: center;
  gap: 64px;
}

.about__left h2,
.history__left h2 {
  margin: 0;
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 1.1;
}

.about__left p {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  opacity: 0.82;
}

.about__right {
  display: grid;
  gap: 40px;
}

.about__right > p {
  margin: 0;
  font-size: 20px;
  line-height: 34px;
  opacity: 0.82;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.value-card {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--rust);
  border-radius: 8px;
  background: rgba(73, 27, 25, 0.35);
}

.value-card h3 {
  margin: 0;
  font-family: "Zodiak", serif;
  font-size: 24px;
  line-height: 32px;
}

.value-card p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  opacity: 0.72;
}

/* CEO */
.ceo {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background: var(--sand-light);
}

.ceo::before {
  background-image: url("assets/images/136_148_imgSession4.png");
  opacity: 0.1;
}

.ceo__inner {
  position: relative;
  display: grid;
  min-height: 860px;
  align-content: center;
  gap: 40px;
  padding-block: 60px;
}

.ceo__content {
  display: grid;
  grid-template-columns: 412px 1fr;
  align-items: center;
  gap: 80px;
}

.ceo__photo {
  width: 412px;
  height: 550px;
  overflow: hidden;
  border: 1px solid var(--wine);
  border-radius: 8px;
  box-shadow: -4px 12px 16px 4px rgba(0, 0, 0, 0.25);
}

.ceo__photo img { width: 100%; height: 100%; object-fit: cover; }

.ceo__bio {
  display: grid;
  gap: 16px;
}

.ceo__bio h2 {
  margin: 0;
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 64px;
}

.ceo__role {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  opacity: 0.8;
}

.ceo__facts {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ceo__facts li {
  position: relative;
  padding-left: 36px;
  font-size: 20px;
  line-height: 24px;
  opacity: 0.78;
}

.ceo__facts li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rust);
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

/* History */
.history {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: var(--wine);
  color: var(--sand);
}

.history::before {
  position: absolute;
  inset: 0;
  background: url("assets/images/136_174_imgSession5.png") center / cover;
  content: "";
  opacity: 0.1;
}

.history__photo { right: 57.23%; }

.history__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.history::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--wine) 49.7%, transparent 69.9%);
  content: "";
}

.history__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 800px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-block: 80px;
}

.history__left {
  display: grid;
  gap: 64px;
}

.history__left p,
.history__story p {
  margin: 0;
  font-size: 20px;
  line-height: 34px;
  opacity: 0.82;
}

.history__story { display: grid; gap: 18px; }

/* Testimonials */
.testimonials {
  position: relative;
  min-height: 1310px;
  overflow: hidden;
  padding-block: 106px 80px;
  background: var(--sand-light);
}

.testimonials::before {
  background-image: url("assets/images/136_182_imgSession6.png");
  opacity: 0.08;
}

.testimonials__inner {
  position: relative;
  display: grid;
  gap: 78px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 60px;
}

.section-heading p {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  opacity: 0.74;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.testimonial-card {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 40px 20px;
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: var(--rust);
}

.testimonial-card blockquote { margin: 0; }

.testimonial-card blockquote::before {
  display: block;
  height: 58px;
  color: var(--ruby);
  content: "“";
  font-family: "Zodiak", serif;
  font-size: 128px;
  line-height: 72px;
}

.testimonial-card blockquote p {
  margin: 0;
  padding-left: 50px;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  opacity: 0.78;
}

.testimonial-card__author {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.testimonial-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.clients {
  display: grid;
  justify-items: center;
  gap: 40px;
}

.mobile-break { display: none; }

.clients__logos {
  display: grid;
  width: 100%;
  min-height: 160px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--terracotta);
}

.clients__logos img {
  width: 100%;
  max-height: 105px;
  object-fit: contain;
}

@media (min-width: 901px) {
  .clients__logos img:nth-child(-n + 3) {
    transform: scale(1.16);
  }
}

/* Blog */
.blog-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  padding-block: 64px;
  background: var(--wine);
  color: var(--sand);
}

.blog-section::before {
  position: absolute;
  inset: 0;
  background: url("assets/images/136_222_imgSession7.png") center / cover;
  content: "";
  opacity: 0.1;
}

.blog-section__inner {
  position: relative;
  display: grid;
  gap: 54px;
}

.blog-section__header {
  display: grid;
  gap: 16px;
}

.blog-section__header h2 {
  margin: 24px 0 0;
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 64px;
}

.blog-section__header p {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  opacity: 0.76;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.article-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 40px;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(209, 191, 166, 0.3), rgba(73, 27, 25, 0.3));
}

.article-card__category,
.article-card__link {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 20px 0 16px;
  font-family: "Zodiak", serif;
  font-size: 32px;
  line-height: 32px;
}

.article-card p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.72;
}

.article-card__link {
  margin-top: 28px;
  font-size: 14px;
  line-height: 18px;
}

.article-card__link:hover,
.article-card__link:focus-visible { text-decoration: underline; }

/* Contact */
.contact-section {
  min-height: 800px;
  padding-block: 118px;
  background: var(--sand-light);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 48px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 64px;
  padding-right: 0;
}

.contact-copy__head {
  display: grid;
  gap: 16px;
}

.contact-copy__head h2 {
  max-width: 641px;
  margin: 8px 0 0;
  color: var(--rust);
  font-family: "Zodiak", serif;
  font-size: 40px;
  line-height: 40px;
}

.contact-copy__head p {
  max-width: 641px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  opacity: 0.78;
}

.faq {
  padding-right: 0;
}

.faq-item {
  border-top: 1px solid rgba(27, 9, 10, 0.35);
}

.faq-item:last-child { border-bottom: 1px solid rgba(27, 9, 10, 0.35); }

.faq-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31px;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 24px;
  height: 28px;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 13px;
  left: 5px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--rust);
  content: "";
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 420ms ease-out;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 420ms ease-out, opacity 420ms ease-out;
}

.faq-answer__clip { overflow: hidden; }

.faq-answer__content {
  display: grid;
  grid-template-columns: 2px 1fr;
  gap: 14px;
  padding: 0 38px 16px 0;
}

.faq-answer__accent {
  width: 2px;
  height: 52px;
  border-radius: 1px;
  background: var(--rust);
}

.faq-answer p {
  margin: 0;
  color: rgba(84, 58, 48, 0.92);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 23px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.contact-form-wrap {
  padding: 40px 80px;
  border: 1px solid var(--wine);
  border-radius: 8px;
  background: rgba(221, 206, 185, 0.6);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field { display: grid; gap: 8px; }

.form-field label {
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--olive);
  border-radius: 8px;
  background: rgba(234, 223, 206, 0.55);
  color: var(--wine);
}

.form-field input { height: 48px; padding: 10px 14px; }
.form-field textarea { min-height: 118px; padding: 12px 14px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--rust);
  outline: 2px solid rgba(185, 95, 40, 0.3);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-actions {
  display: grid;
  justify-items: center;
  padding-top: 12px;
}

.form-status {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(73, 27, 25, 0.08);
  font-size: 14px;
  line-height: 20px;
}

.form-status--success { border-left: 4px solid var(--olive); }
.form-status--error { border-left: 4px solid var(--rust); }

/* Footer */
.site-footer {
  min-height: 290px;
  padding: 18px var(--page-padding) 28px;
  background: var(--ruby);
  color: var(--sand);
}

.site-footer__main {
  display: grid;
  width: min(100%, 1120px);
  margin-inline: auto;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.site-footer__brand img {
  width: 259px;
  height: 127px;
  margin-left: -42px;
}

.site-footer__brand p {
  max-width: 340px;
  margin: -13px 0 0;
  font-family: "Zodiak", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 0.76;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 32px;
}

.footer-column:nth-child(2) { justify-self: center; }

.footer-column:last-child {
  justify-self: end;
  text-align: right;
}

.footer-column h2 {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
}

.footer-column ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li,
.footer-column a,
.footer-column p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  opacity: 0.72;
}

.footer-column a:hover,
.footer-column a:focus-visible { opacity: 1; text-decoration: underline; }

.social-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-label img { width: 24px; height: 24px; }

.site-footer__bottom {
  display: flex;
  width: min(100%, 1120px);
  margin-top: 8px;
  margin-inline: auto;
  padding-top: 23px;
  border-top: 1px solid rgba(209, 191, 166, 0.42);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
}

.site-footer__legal { display: flex; gap: 24px; }

/* Generic WordPress content */
.content-page {
  min-height: 60vh;
  padding: 80px var(--page-padding);
  background: var(--sand-light);
}

.content-page__inner { width: min(100%, 900px); margin: auto; }
.content-page h1 { font-family: "Zodiak", serif; font-size: 48px; }
.content-page p { font-size: 18px; line-height: 1.7; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }

  .services-grid {
    grid-template-columns: repeat(2, minmax(260px, 360px));
    justify-content: center;
  }

  .about__inner,
  .history__inner { gap: 48px; }

  .ceo__content { grid-template-columns: minmax(320px, 380px) 1fr; gap: 48px; }
  .ceo__photo { width: 100%; }

  .testimonial-grid { gap: 24px; }
  .testimonial-card { padding-inline: 28px; }
  .testimonial-card blockquote p { padding-left: 22px; }

  .contact-section__inner { grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); gap: 32px; }
  .contact-form-wrap { padding: 40px; }

  .site-footer__main { grid-template-columns: 300px 1fr; gap: 50px; }
  .site-footer__columns { gap: 36px; }
}

@media (max-width: 900px) {
  .hero { min-height: 730px; }
  .hero__inner { gap: 44px; padding-top: 90px; }
  .hero__actions { gap: 40px; }

  .solutions__copy h2 { font-size: 34px; line-height: 1.35; }
  .solutions__copy p { font-size: 20px; }

  .about__photo { inset: 0; opacity: 0.45; }
  .about::after { background: linear-gradient(180deg, rgba(27, 9, 10, 0.25), var(--wine) 54%); }
  .about__inner { grid-template-columns: 1fr; gap: 60px; padding-block: 80px; }
  .about__left { max-width: 600px; }
  .about__right { max-width: 720px; }

  .ceo__content { grid-template-columns: 1fr; }
  .ceo__photo { width: min(100%, 412px); justify-self: center; }
  .ceo__bio { max-width: 720px; justify-self: center; }

  .history__photo { inset: 0; opacity: 0.4; }
  .history::after { background: linear-gradient(180deg, rgba(27, 9, 10, 0.3), var(--wine) 52%); }
  .history__inner { grid-template-columns: 1fr; gap: 52px; }

  .testimonial-grid {
    grid-auto-columns: min(82vw, 420px);
    grid-template-columns: none;
    grid-auto-flow: column;
    justify-content: start;
    gap: 20px;
    overflow-x: auto;
    padding: 4px var(--page-padding) 20px;
    margin-inline: calc(var(--page-padding) * -1);
    scroll-padding-left: var(--page-padding);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .testimonial-card { min-height: 480px; scroll-snap-align: start; }
  .clients__logos { grid-template-columns: 1fr 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 250px; }

  .contact-section__inner { grid-template-columns: 1fr; gap: 64px; }
  .contact-form-wrap { width: min(100%, 600px); }

  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__brand p { margin-left: 0; }
  .site-footer__columns { padding-top: 0; }
}

@media (max-width: 640px) {
  :root { --page-padding: 24px; }

  html { scroll-padding-top: 12px; }

  .site-header { height: 76px; }
  .brand { width: 190px; height: 52px; }
  .brand img { width: 190px; height: 70px; transform: translateY(-6px); }
  .menu-toggle { width: 44px; height: 44px; }

  .section-label { font-size: 13px; }

  .hero { min-height: 700px; }
  .hero__inner { gap: 42px; padding: 76px 24px 68px; }
  .hero__headings { gap: 26px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); line-height: 0.98; }
  .hero h2 { font-size: 26px; line-height: 1.12; }
  .hero__lead { font-size: 18px; line-height: 26px; }
  .hero__lead br { display: none; }
  .hero__actions { gap: 34px; }
  .button--hero { min-width: 0; width: 100%; font-size: 15px; }

  .solutions { min-height: 0; padding-block: 64px; }
  .solutions__inner { gap: 44px; }
  .award-card { width: 100%; height: auto; min-height: 540px; padding: 20px 0; }
  .award-card__media { width: calc(100% - 32px); height: 400px; }
  .solutions__copy { gap: 20px; }
  .solutions__copy h2 { font-size: 30px; line-height: 1.28; }
  .solutions__copy p { font-size: 18px; line-height: 27px; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { width: 100%; min-height: 150px; }
  .service-card h3 { font-size: clamp(19px, 6vw, 22px); }

  .about__inner,
  .history__inner { min-height: 0; padding-block: 68px; }
  .about__left { gap: 38px; }
  .about__left h2,
  .history__left h2 { font-size: 34px; }
  .about__left p,
  .about__right > p,
  .history__left p,
  .history__story p { font-size: 18px; line-height: 29px; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { min-height: 124px; }

  .ceo__inner { min-height: 0; padding-block: 64px; }
  .ceo__content { gap: 42px; }
  .ceo__photo { height: 480px; }
  .ceo__bio h2 { font-size: 34px; line-height: 42px; }
  .ceo__role { font-size: 20px; line-height: 28px; }
  .ceo__facts { gap: 22px; }
  .ceo__facts li { font-size: 17px; line-height: 24px; }

  .history__left { gap: 40px; }

  .testimonials { min-height: 0; padding-block: 72px 64px; }
  .testimonials__inner { gap: 52px; }
  .section-heading h2 { font-size: 32px; line-height: 42px; }
  .section-heading p { font-size: 19px; line-height: 28px; }
  .testimonial-card { min-height: 500px; padding: 28px 24px 20px; }
  .testimonial-card blockquote p { padding-left: 14px; font-size: 18px; line-height: 25px; }
  .clients { gap: 28px; }
  .clients__label {
    width: min(100%, 310px);
    padding-inline: 14px;
    line-height: 1.25;
    text-align: center;
  }
  .mobile-break { display: inline; }
  .clients__logos { min-height: 0; gap: 8px; padding: 14px; }
  .clients__logos img { max-height: 82px; }

  .blog-section { min-height: 0; padding-block: 64px; }
  .blog-section__inner { gap: 40px; }
  .blog-section__header h2 { font-size: 34px; line-height: 42px; }
  .blog-section__header p { font-size: 18px; line-height: 27px; }
  .article-card { padding: 28px 24px; }
  .article-card h3 { font-size: 28px; }

  .contact-section { min-height: 0; padding-block: 72px; }
  .contact-section__inner { gap: 52px; }
  .contact-copy { gap: 46px; }
  .contact-copy__head h2 { font-size: 34px; line-height: 38px; }
  .contact-copy__head p { font-size: 19px; line-height: 28px; }
  .faq-trigger { gap: 14px; font-size: 21px; line-height: 27px; }
  .faq-answer__content { padding-right: 0; }
  .contact-form-wrap { padding: 30px 20px; }
  .button--dark { min-width: min(234px, 100%); }

  .site-footer { padding-top: 24px; }
  .site-footer__brand img { width: 220px; height: 108px; margin-left: -36px; }
  .site-footer__brand p { margin: -8px 0 0; }
  .site-footer__columns { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-column:nth-child(2) { justify-self: start; }
  .footer-column:last-child { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .site-footer__legal { flex-direction: column; gap: 6px; }
}

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

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