:root {
  color-scheme: light;
  --green-950: #06281f;
  --green-900: #0b3b2e;
  --green-800: #10513d;
  --green-700: #17664b;
  --green-100: #e5f0e8;
  --green-50: #f1f7f2;
  --lime: #a9dc2f;
  --lime-dark: #82b019;
  --lime-soft: #e9f7c6;
  --ink: #14231e;
  --muted: #5c6b65;
  --cream: #f8f6ef;
  --white: #ffffff;
  --line: rgba(20, 35, 30, 0.12);
  --shadow-sm: 0 10px 30px rgba(6, 40, 31, 0.09);
  --shadow-lg: 0 28px 70px rgba(6, 40, 31, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 82px;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.25rem);
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 4.25rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

::selection {
  color: var(--green-950);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 3px;
}

.topbar :focus-visible,
.hero :focus-visible,
.process-section :focus-visible,
.quote-copy :focus-visible,
.site-footer :focus-visible,
.mobile-contact :focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 6px var(--green-950);
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 118px 0;
}

.section--soft {
  background: var(--green-50);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: 9px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--lime);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(169, 220, 47, 0.14);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 23px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button--accent {
  color: var(--green-950);
  background: var(--lime);
  box-shadow: 0 14px 36px rgba(108, 150, 16, 0.25);
}

.button--accent:hover {
  background: #b8e851;
  box-shadow: 0 17px 38px rgba(108, 150, 16, 0.32);
}

.button--dark {
  color: var(--white);
  background: var(--green-900);
  box-shadow: var(--shadow-sm);
}

.button--dark:hover {
  background: var(--green-800);
}

.button--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.button--glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button--small {
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 0.93rem;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-800);
  font-weight: 800;
  border-bottom: 1px solid rgba(16, 81, 61, 0.3);
}

.text-link:hover {
  color: var(--green-700);
  border-color: currentColor;
}

.topbar {
  color: rgba(255, 255, 255, 0.84);
  background: var(--green-950);
  font-size: 0.84rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topbar p svg {
  width: 16px;
  height: 16px;
  fill: var(--lime);
}

.topbar a {
  color: var(--white);
  font-weight: 700;
}

.topbar a:hover {
  color: var(--lime);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(20, 35, 30, 0.08);
  transition: box-shadow 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(6, 40, 31, 0.1);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  width: 226px;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.primary-nav > a:not(.button) {
  position: relative;
  color: #31433d;
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--lime-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: var(--green-50);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  color: var(--white);
  background: var(--green-950) url("assets/medinas-hero.webp") center center / cover no-repeat;
}

.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 30, 23, 0.93) 0%, rgba(4, 30, 23, 0.82) 37%, rgba(4, 30, 23, 0.36) 68%, rgba(4, 30, 23, 0.12) 100%),
    linear-gradient(0deg, rgba(4, 30, 23, 0.48), transparent 45%);
}

.hero__inner {
  display: flex;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 182px;
}

.hero__content {
  width: min(720px, 66%);
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--white);
  text-wrap: balance;
}

.hero h1 span {
  color: var(--lime);
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 33px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero__microcopy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.88rem;
}

.hero__trust {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(6, 40, 31, 0.93);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 31px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-item__icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green-950);
  background: var(--lime);
  border-radius: 13px;
}

.trust-item__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-item span:last-child {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  color: var(--white);
  font-size: 1rem;
}

.trust-item small {
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.83rem;
}

.intro-section {
  padding: 98px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  align-items: end;
  gap: 90px;
}

.section-heading h2 {
  max-width: 920px;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-heading--center {
  max-width: 900px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center p:last-child {
  max-width: 690px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(20, 35, 30, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(6, 40, 31, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(130, 176, 25, 0.45);
  box-shadow: 0 22px 52px rgba(6, 40, 31, 0.11);
  transform: translateY(-6px);
}

.service-card--feature {
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 88% 8%, rgba(169, 220, 47, 0.2), transparent 32%),
    var(--green-900);
  border-color: transparent;
}

.service-card--feature h3 {
  color: var(--white);
}

.service-card__number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(20, 35, 30, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card--feature .service-card__number {
  color: rgba(255, 255, 255, 0.3);
}

.service-card__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: var(--green-800);
  background: var(--lime-soft);
  border-radius: 18px;
}

.service-card__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-card--feature .service-card__icon {
  color: var(--green-950);
  background: var(--lime);
}

.service-card h3 {
  margin: 34px 0 13px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card--feature p {
  color: rgba(255, 255, 255, 0.7);
}

.centered-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 42px;
}

.centered-cta p {
  margin: 0;
  color: var(--muted);
}

.difference {
  overflow: hidden;
}

.difference::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -120px;
  width: 440px;
  height: 440px;
  content: "";
  background: var(--lime-soft);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.5;
}

.difference-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 94px;
}

.difference__visual {
  position: relative;
  padding: 0 20px 28px 0;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 70% center;
}

.rating-card {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 208px;
  padding: 22px;
  color: var(--white);
  background: var(--green-950);
  border: 6px solid var(--white);
  border-radius: 21px;
  box-shadow: var(--shadow-lg);
}

.rating-card__score {
  display: block;
  color: var(--white);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
}

.rating-card__stars {
  display: block;
  margin: 7px 0 5px;
  color: var(--lime);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.rating-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
}

.difference__content h2 {
  margin-bottom: 24px;
}

.difference__lead {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.07rem;
}

.check-list {
  display: grid;
  gap: 19px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.check-list__icon {
  width: 27px;
  height: 27px;
  display: grid;
  flex: 0 0 auto;
  margin-top: 2px;
  place-items: center;
  color: var(--green-900);
  background: var(--lime-soft);
  border-radius: 50%;
}

.check-list__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.check-list li > span:last-child {
  display: flex;
  flex-direction: column;
}

.check-list strong {
  color: var(--ink);
}

.check-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.91rem;
}

.difference__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.process-section {
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 10% 0%, rgba(169, 220, 47, 0.14), transparent 25%),
    radial-gradient(circle at 100% 100%, rgba(169, 220, 47, 0.09), transparent 28%),
    var(--green-950);
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list::before {
  position: absolute;
  top: 40px;
  right: 15%;
  left: 15%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(169, 220, 47, 0.55), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 30px;
  text-align: center;
}

.process-step__number {
  width: 80px;
  height: 80px;
  display: grid;
  margin: 0 auto 28px;
  place-items: center;
  color: var(--green-950);
  background: var(--lime);
  border: 9px solid var(--green-950);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(169, 220, 47, 0.55);
  font-size: 1.2rem;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  max-width: 320px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.95rem;
}

.social-proof {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: 90px;
}

.proof-copy h2 {
  margin-bottom: 19px;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.proof-copy > p:last-child {
  margin: 0;
  color: var(--muted);
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.social-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 112px;
  padding: 23px;
  background: var(--green-50);
  border: 1px solid rgba(20, 35, 30, 0.08);
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
  border-color: rgba(130, 176, 25, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.social-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 14px;
  font-size: 1.7rem;
  font-weight: 900;
}

.social-card__icon--facebook {
  background: #1877f2;
}

.social-card__icon--youtube {
  background: #ff0033;
}

.social-card__icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.social-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.social-card strong {
  color: var(--ink);
}

.social-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.social-card__arrow {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--green-800);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 94px;
}

.faq-intro {
  position: sticky;
  top: 125px;
}

.faq-intro h2 {
  margin-bottom: 20px;
}

.faq-intro > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
}

.accordion {
  border-top: 1px solid var(--line);
}

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

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  width: 100%;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-align: left;
}

.accordion-item button > span {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion-item button > span::before,
.accordion-item button > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  content: "";
  background: var(--green-800);
  border-radius: 99px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.accordion-item button > span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item button[aria-expanded="true"] > span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  padding: 0 58px 25px 0;
}

.accordion-panel p {
  margin: 0;
  color: var(--muted);
}

.quote-section {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 10% 10%, rgba(169, 220, 47, 0.15), transparent 31%),
    linear-gradient(130deg, var(--green-950), var(--green-900));
}

.quote-section::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(169, 220, 47, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(169, 220, 47, 0.035), 0 0 0 110px rgba(169, 220, 47, 0.02);
}

.quote-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 94px;
}

.quote-copy h2 {
  margin-bottom: 25px;
  color: var(--white);
}

.quote-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 1.06rem;
}

.direct-contact {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.direct-contact a {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 340px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.direct-contact a:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateX(4px);
}

.direct-contact__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green-950);
  background: var(--lime);
  border-radius: 12px;
}

.direct-contact__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.direct-contact a > span:last-child {
  display: flex;
  flex-direction: column;
}

.direct-contact small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.73rem;
}

.direct-contact strong {
  color: var(--white);
}

.quote-form {
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.24);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #263a33;
  font-size: 0.85rem;
  font-weight: 800;
}

.field label span {
  color: #b33a32;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: #f7f9f7;
  border: 1px solid #7b8983;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66736e;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(23, 102, 75, 0.1);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b33a32;
  box-shadow: 0 0 0 3px rgba(179, 58, 50, 0.08);
}

.field-error {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: #a42f29;
  font-size: 0.73rem;
  line-height: 1.3;
}

.copy-button {
  display: block;
  margin: 15px auto 0;
  padding: 3px 8px;
  color: var(--green-800);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(16, 81, 61, 0.25);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 800;
}

.copy-button:hover {
  border-color: currentColor;
}

.form-note,
.form-status {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
}

.form-status {
  min-height: 17px;
  color: var(--green-700);
  font-weight: 800;
}

.quote-form--noscript h3 {
  margin-bottom: 14px;
}

.quote-form--noscript p {
  margin-bottom: 24px;
  color: var(--muted);
}

.noscript-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 76px 0 24px;
  color: rgba(255, 255, 255, 0.61);
  background: #041f18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 1fr 0.65fr;
  gap: 70px;
  padding-bottom: 65px;
}

.brand--footer {
  width: 235px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 350px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.77rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.mobile-contact {
  display: none;
}

.enhanced .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.enhanced .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --container: 940px;
  }

  .brand {
    width: 205px;
  }

  .primary-nav {
    gap: 20px;
  }

  .primary-nav > a:not(.button) {
    font-size: 0.88rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 320px;
  }

  .difference-grid,
  .quote-grid {
    gap: 62px;
  }

  .proof-grid,
  .faq-grid {
    gap: 58px;
  }

  .social-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 0.8fr);
    gap: 38px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 90px 0;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar p {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  html:not(.enhanced) .nav-toggle {
    display: none;
  }

  html:not(.enhanced) .primary-nav {
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  html:not(.enhanced) .primary-nav > a:not(.button) {
    display: none;
  }

  html:not(.enhanced) .primary-nav .button {
    margin-top: 0;
  }

  .primary-nav {
    position: fixed;
    z-index: 101;
    top: var(--nav-top, calc(var(--header-height) + 38px));
    right: 0;
    bottom: 0;
    width: min(370px, 88vw);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 28px 24px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -25px 35px 70px rgba(6, 40, 31, 0.18);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(105%);
    overscroll-behavior: contain;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
  }

  .primary-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .primary-nav > a:not(.button) {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.04rem;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .primary-nav .button {
    margin-top: 22px;
  }

  .hero {
    min-height: 760px;
    background-position: 63% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 30, 23, 0.94), rgba(4, 30, 23, 0.7) 65%, rgba(4, 30, 23, 0.4)),
      linear-gradient(0deg, rgba(4, 30, 23, 0.58), transparent 60%);
  }

  .hero__inner {
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 290px;
  }

  .hero__content {
    width: min(680px, 88%);
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    min-height: auto;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .trust-item__icon {
    width: 38px;
    height: 38px;
  }

  .trust-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-copy {
    max-width: 650px;
  }

  .difference-grid,
  .proof-grid,
  .faq-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .difference__visual {
    width: min(620px, 90%);
    margin: 0 auto;
  }

  .photo-frame img {
    aspect-ratio: 5 / 4;
  }

  .faq-intro {
    position: static;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 660px;
    margin-inline: auto;
  }

  .process-list::before {
    top: 38px;
    bottom: 38px;
    left: 40px;
    width: 1px;
    height: auto;
    background: linear-gradient(transparent, rgba(169, 220, 47, 0.5), transparent);
  }

  .process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: start;
    gap: 26px;
    padding: 0;
    text-align: left;
  }

  .process-step__number {
    margin: 0;
  }

  .process-step p {
    max-width: none;
    margin: 0;
  }

  .social-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-copy {
    max-width: 670px;
  }

  .direct-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direct-contact a {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 90px;
  }

  body {
    padding-bottom: calc(67px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .topbar {
    font-size: 0.78rem;
  }

  .topbar__inner {
    min-height: 34px;
  }

  .brand {
    width: 170px;
  }

  .primary-nav {
    top: var(--nav-top, calc(var(--header-height) + 34px));
  }

  .hero {
    min-height: 840px;
    background-image: url("assets/medinas-hero-mobile.webp");
    background-position: 68% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(4, 30, 23, 0.94), rgba(4, 30, 23, 0.65)),
      linear-gradient(0deg, rgba(4, 30, 23, 0.78), transparent 72%);
  }

  .hero__inner {
    padding-top: 78px;
    padding-bottom: 285px;
  }

  .hero__content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13.5vw, 4rem);
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__microcopy {
    text-align: center;
  }

  .trust-item strong {
    font-size: 0.92rem;
  }

  .trust-item small {
    font-size: 0.75rem;
  }

  .intro-section {
    padding: 67px 0;
  }

  .section-heading--center {
    margin-bottom: 40px;
    text-align: left;
  }

  .section-heading--center .eyebrow {
    justify-content: flex-start;
  }

  .section-heading--center p:last-child {
    margin-left: 0;
    text-align: left;
  }

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

  .service-card {
    min-height: auto;
  }

  .centered-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .difference-grid,
  .quote-grid,
  .proof-grid,
  .faq-grid {
    gap: 44px;
  }

  .difference__visual {
    width: 100%;
    padding: 0 13px 26px 0;
  }

  .photo-frame {
    border-radius: 24px;
  }

  .photo-frame img {
    aspect-ratio: 4 / 5;
  }

  .rating-card {
    right: -4px;
    width: 175px;
    padding: 17px;
    border-width: 4px;
  }

  .rating-card__score {
    font-size: 1.9rem;
  }

  .difference__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .difference__actions .text-link {
    align-self: flex-start;
  }

  .process-step {
    grid-template-columns: 62px 1fr;
    gap: 18px;
  }

  .process-step__number {
    width: 62px;
    height: 62px;
    border-width: 7px;
  }

  .process-list::before {
    left: 31px;
  }

  .social-cards {
    grid-template-columns: 1fr;
  }

  .accordion-item button {
    min-height: 78px;
    font-size: 1rem;
  }

  .quote-section {
    padding: 78px 0;
  }

  .direct-contact {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 25px 19px;
    border-radius: 24px;
  }

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

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .brand--footer {
    width: 210px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-contact {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(67px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    color: var(--white);
    background: rgba(4, 31, 24, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
  }

  .mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
  }

  .mobile-contact a:last-child {
    color: var(--green-950);
    background: var(--lime);
    border-right: 0;
    border-radius: 9px;
  }

  .mobile-contact svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
  }
}

@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;
  }

  .enhanced .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .mobile-contact,
  .quote-section,
  .site-footer {
    display: none !important;
  }

  .hero {
    min-height: 500px;
  }

  .enhanced .reveal {
    opacity: 1;
    transform: none;
  }
}
