/* Presentación del área contable. Los estilos se limitan a esta página. */
.accounting-page {
  --accounting-ink: #292725;
  --accounting-body: #514a44;
  --accounting-orange: #fe9800;
  --accounting-orange-dark: #a94900;
  --accounting-cream: #fffaf4;
  --accounting-sand: #f5ede3;
  --accounting-line: #e7d8c8;
  background: var(--accounting-cream);
}

.accounting-profile,
.accounting-services { color: var(--accounting-ink); }

.accounting-services .container,
.accounting-statement .container { max-width: 1180px; }

.accounting-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 15px;
}

.accounting-eyebrow {
  margin-bottom: 22px;
  color: var(--accounting-orange-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.accounting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 3px;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.accounting-button-light { background: var(--accounting-orange); color: #252525; }
.accounting-button-light:hover { background: #ffb544; color: #252525; text-decoration: none; }

.accounting-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--accounting-ink);
  font-size: .94rem;
  font-weight: 700;
}

.accounting-text-link:hover { color: var(--accounting-orange-dark); text-decoration: none; }
.accounting-dark-link { color: var(--accounting-orange-dark); }
.accounting-dark-link:hover { color: #753300; }

.accounting-profile {
  padding: 110px 0;
  background: var(--accounting-cream);
}
.accounting-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.accounting-profile-photo {
  height: 590px;
  overflow: hidden;
  background: #e5dbcf;
  box-shadow: 18px 18px 0 #eadac7;
}

.accounting-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.accounting-profile h2 {
  margin-bottom: 16px;
  color: var(--accounting-ink);
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.06;
}

.accounting-profile h2 em {
  color: var(--accounting-orange-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.accounting-role {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--accounting-line);
  color: #493c31;
  font-size: 1.01rem;
  font-weight: 700;
  line-height: 1.55;
}

.accounting-profile-copy > p:not(.accounting-eyebrow):not(.accounting-role) {
  max-width: 590px;
  margin-bottom: 17px;
  color: var(--accounting-body);
  font-size: 1.03rem;
  line-height: 1.7;
}

.accounting-profile-copy .accounting-text-link { margin-top: 12px; }

.accounting-services {
  padding: 95px 0 105px;
  background: var(--accounting-sand);
}

.accounting-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.accounting-section-heading .accounting-eyebrow { margin-bottom: 12px; }
.accounting-section-heading h2 {
  margin-bottom: 0;
  color: var(--accounting-ink);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.accounting-section-heading > p {
  max-width: 365px;
  margin-bottom: 2px;
  color: var(--accounting-body);
  font-size: 1rem;
  line-height: 1.6;
}

.accounting-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.accounting-service-card {
  min-height: 420px;
  padding: 32px 30px 36px;
  border-top: 4px solid var(--accounting-orange);
  background: #fffdfa;
  box-shadow: 0 12px 28px rgba(84, 52, 24, .07);
}

.accounting-card-number {
  display: block;
  margin-bottom: 31px;
  color: var(--accounting-orange-dark);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
}

.accounting-service-card h3 {
  min-height: 56px;
  margin-bottom: 19px;
  color: var(--accounting-ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.accounting-service-card ul { margin: 0; padding: 0; list-style: none; }
.accounting-service-card li {
  position: relative;
  padding: 10px 0 10px 19px;
  border-top: 1px solid var(--accounting-line);
  color: var(--accounting-body);
  font-size: .96rem;
  line-height: 1.45;
}

.accounting-service-card li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accounting-orange);
  content: '';
}

.accounting-statement {
  padding: 105px 0 112px;
  border-top: 4px solid var(--accounting-orange);
  background: #2c2a28;
  color: var(--accounting-cream);
  text-align: center;
}

.accounting-statement-inner { max-width: 820px !important; }
.accounting-statement .accounting-eyebrow { color: #ffb43f; }
.accounting-statement h2 {
  margin-bottom: 18px;
  color: var(--accounting-cream);
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.accounting-statement-inner > p:not(.accounting-eyebrow) {
  max-width: 670px;
  margin: 0 auto 30px;
  color: #e9dfd4;
  font-size: 1.2rem;
  line-height: 1.65;
}

.accounting-page section[id] { scroll-margin-top: 30px; }

@media (max-width: 991.98px) {
  .accounting-profile { padding: 85px 0; }
  .accounting-profile-grid { gap: 45px; }
  .accounting-profile-photo { height: 530px; }
  .accounting-services-grid { gap: 12px; }
  .accounting-service-card { padding: 28px 20px; }
}

@media (max-width: 767.98px) {
  .accounting-profile-grid,
  .accounting-services-grid { grid-template-columns: 1fr; }
  .accounting-profile { padding: 70px 0 78px; }
  .accounting-profile-photo { width: min(100% - 18px, 470px); height: 480px; }
  .accounting-profile-grid { gap: 55px; }
  .accounting-section-heading { display: block; }
  .accounting-section-heading > p { max-width: 600px; margin-top: 15px; }
  .accounting-services { padding: 70px 0 80px; }
  .accounting-service-card { min-height: 0; padding: 28px 28px 30px; }
  .accounting-card-number { margin-bottom: 16px; }
  .accounting-service-card h3 { min-height: 0; }
  .accounting-statement { padding: 80px 0 85px; }
}

@media (max-width: 400px) {
  .accounting-profile-photo { height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  .accounting-button { transition: none; }
}
