:root {
  --gold: #a0830a;
  --gold-light: #c9a227;
  --black: #000000;
  --grey-900: #141414;
  --grey-800: #1a1a1a;
  --grey-700: #2d2d2d;
  --grey-600: #404040;
  --secondary: #54595f;
  --text: #6b6b6b;
  --ink: #1a1a1a;
  --white: #ffffff;
  --soft: #f4f4f4;
  --line: rgba(0, 0, 0, 0.1);
  --footer-bg: #000000;
  --footer-link: #cbcbcb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --shell: 1180px;
  --teal-dark: var(--grey-900);
  --primary: var(--grey-600);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  font-family: "Prata", Georgia, serif;
  line-height: 1.2;
  color: var(--teal-dark);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
  color: var(--text);
}

.lead {
  font-size: 1.12rem;
  color: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: #000000;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: #1a1a1a;
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-gold {
  color: var(--white);
  background: #000000;
}

.btn-gold:hover {
  background: #1a1a1a;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: min(240px, 58vw);
}

.site-header .brand img {
  filter: none;
}

.site-footer img[alt="Gonzalez Professional Services"] {
  filter: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  position: relative;
  color: var(--secondary);
  font-weight: 600;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--teal-dark);
}

.nav-links a:not(.btn).active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--grey-800);
}

.nav-cta {
  margin-left: 8px;
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 7vw, 72px);
}

.hero-copy {
  width: auto;
  max-width: none;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 4.2vw + 0.5rem, 3.75rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: none;
}

.hero-copy .lead {
  color: var(--ink);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 1.5vw + 0.85rem, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-support {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-media {
  margin: 0;
  width: 100%;
  max-width: 380px;
  justify-self: end;
}

.hero-photo {
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--gold);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 2 / 3;
}

.hero-support p {
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: pretty;
}

.hero-support p:last-child {
  margin-bottom: 0;
  color: var(--secondary);
}

.hero-highlight {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--teal-dark);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-media {
    animation: hero-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy h1 {
    animation-delay: 0.04s;
  }

  .hero-copy .lead {
    animation-delay: 0.1s;
  }

  .hero-actions {
    animation-delay: 0.16s;
  }

  .hero-support {
    animation-delay: 0.22s;
  }

  .hero-media {
    animation-delay: 0.14s;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0.88;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-media {
    animation: none;
  }
}

.btn-outline-dark {
  color: var(--teal-dark);
  background: transparent;
  border: 2px solid var(--teal-dark);
}

.btn-outline-dark:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.trust-strip {
  background: var(--teal-dark);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px 0;
}

.trust-grid div {
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.trust-grid strong::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.trust-grid span {
  display: block;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.welcome {
  background: var(--soft);
}

.welcome-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
}

.welcome-header {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.welcome-header--full {
  max-width: none;
  width: 100%;
}

.welcome-header--full h2 {
  max-width: none;
}

.welcome-header .divider {
  margin-left: auto;
  margin-right: auto;
}

.welcome-header h2 {
  text-wrap: balance;
  font-size: clamp(1.5rem, 2.8vw + 0.5rem, 2.1rem);
  line-height: 1.35;
}

.welcome-lede {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw + 0.75rem, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: balance;
}

.welcome-prose {
  max-width: 42rem;
  margin: 0 auto;
}

.welcome-prose p {
  margin: 0 0 1.5rem;
  color: var(--ink);
  line-height: 1.75;
  text-wrap: pretty;
}

.welcome-prose p:last-child {
  margin-bottom: 0;
}

.welcome-outro {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.welcome-color {
  color: var(--gold);
}

.welcome-prose strong {
  font-weight: 700;
  color: var(--grey-900);
}

.welcome-prose strong.welcome-color {
  color: var(--gold);
}

.welcome-prose em {
  font-style: italic;
  color: var(--grey-700);
}

.welcome-prose em.welcome-color {
  color: var(--gold);
  font-style: italic;
}

.welcome-underline {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

.welcome-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid {
  align-items: start;
}

.divider {
  width: 72px;
  height: 4px;
  margin: 18px 0 24px;
  border-radius: 999px;
  background: var(--gold);
}

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

.credential {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.about {
  background: var(--soft);
}

.about-figure {
  margin: 0;
  max-width: 400px;
  justify-self: center;
}

.about-photo {
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--gold);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.about-caption {
  margin-top: 14px;
  font-family: "Prata", Georgia, serif;
  font-size: 1.15rem;
  text-align: center;
  color: var(--grey-900);
}

.services {
  background: var(--white);
}

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

.service-accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.service-group {
  border-bottom: 1px solid var(--line);
}

.service-group:last-child {
  border-bottom: 0;
}

.service-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  background: var(--grey-900);
  color: var(--white);
  transition: background 0.2s ease;
}

.service-group-toggle::-webkit-details-marker {
  display: none;
}

.service-group-toggle::marker {
  content: "";
}

.service-group-toggle:hover {
  background: var(--black);
}

.service-group[open] > .service-group-toggle {
  background: var(--black);
}

.service-group-title {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw + 0.75rem, 1.2rem);
  line-height: 1.3;
  text-wrap: balance;
}

.service-group-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.service-group-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.service-group-icon {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: -3px;
}

.service-group[open] .service-group-icon {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.service-group-panel {
  border-top: 1px solid var(--line);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  border-bottom: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.2s ease;
}

.service-row:hover {
  background: var(--soft);
}

.service-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}

.service-row-title {
  font-family: "Prata", Georgia, serif;
  font-size: clamp(0.98rem, 1.2vw + 0.7rem, 1.06rem);
  line-height: 1.35;
  color: var(--grey-900);
  text-wrap: pretty;
}

.service-row-cta {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .service-group-icon {
    transition: none;
  }
}

.services-note {
  margin-top: 32px;
  text-align: center;
}

.associations {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

.associations.section {
  padding: 64px 0;
}

.logo-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.logo-carousel-viewport {
  overflow: hidden;
}

.logo-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.logo-carousel-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 12px 8px;
}

.logo-carousel-slide img {
  width: auto;
  max-width: min(100%, 320px);
  max-height: 90px;
  object-fit: contain;
  filter: saturate(0.95);
}

.logo-carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.logo-carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.logo-carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.logo-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.logo-carousel-dot.is-active {
  background: var(--gold);
}

.cta-band {
  padding: 72px 0;
  color: var(--white);
  text-align: center;
  background: var(--teal-dark);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  padding: 88px 0 64px;
  color: var(--white);
  background: linear-gradient(145deg, var(--grey-900) 0%, var(--grey-700) 100%);
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero .eyebrow {
  color: #f4d67a;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.simple-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.simple-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.simple-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.package-card.featured {
  border-color: rgba(160, 131, 10, 0.45);
  transform: translateY(-8px);
}

.package-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.package-card li + li {
  margin-top: 8px;
}

.contact-panel,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel div + div {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 48px 0 28px;
  color: var(--footer-link);
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.footer-grid h3 {
  color: var(--white);
}

.footer-menu {
  display: grid;
  gap: 10px;
}

.footer-menu a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.35);
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(720px, 100%);
  max-height: 85vh;
  overflow: auto;
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero-grid,
  .welcome-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .package-grid,
  .simple-list,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 84px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    width: 100%;
    margin: 16px 0 0;
  }

  .service-group-toggle {
    padding: 16px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .service-group-meta {
    width: 100%;
    justify-content: space-between;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
  }

  .service-row-cta {
    white-space: normal;
  }

  .hero-grid,
  .welcome-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .package-grid,
  .simple-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: center;
    max-width: min(320px, 78vw);
    margin-top: 8px;
  }

}

@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 84px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    width: 100%;
    margin: 16px 0 0;
  }
}
