body { background: #fff; line-height: 1.6; }
.hero { min-height: 510px; position: relative; display: flex; align-items: center; overflow: hidden; color: white; background: #332d2a url('../images/banners/taxco.jpg') center 47% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35, 23, 22, .82) 0%, rgba(45, 30, 27, .58) 54%, rgba(28, 26, 23, .13) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 14px; color: #e1c993; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section h2, .government-band h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -.02em; }
.hero h1 { max-width: 700px; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.08; }
.hero h1 em { color: #e7cf9d; font-style: normal; }
.hero-copy { max-width: 560px; margin: 20px 0 28px; color: rgba(255,255,255,.88); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border-radius: 3px; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); text-decoration: none; }
.button-light { color: var(--wine); background: white; }
.button-light:hover { color: var(--wine-dark); background: #f4eee2; }
.hero-link { color: white; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 4px; }
.hero-link:hover { color: #e7cf9d; text-decoration: none; border-color: #e7cf9d; }
.hero-caption { position: absolute; right: 28px; bottom: 20px; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.quick-links { position: relative; z-index: 2; margin-top: -1px; background: var(--wine); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-card { min-height: 110px; display: flex; align-items: center; gap: 13px; padding: 18px 19px; color: white; text-decoration: none; border-right: 1px solid rgba(255,255,255,.16); transition: background .2s ease; }
.quick-card:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.quick-card:hover { color: white; background: var(--wine-dark); text-decoration: none; }
.quick-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; color: #eddaa9; border: 1px solid rgba(237,218,169,.65); border-radius: 50%; font-size: 15px; }
.quick-card span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.quick-card strong { font-size: 13px; }
.quick-card small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 11px; }
.quick-arrow { margin-left: auto; color: #d8c18e; font-size: 11px; }
.section { padding: 76px 0; }
.announcements { background: var(--soft); }
.announcements-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 76px; }
.eyebrow-dark { color: #9b7440; }
.section h2, .government-band h2 { color: var(--wine-dark); font-size: clamp(30px, 3.5vw, 40px); line-height: 1.18; }
.section-copy { max-width: 410px; margin: 18px 0 23px; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--wine); font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--wine-dark); text-decoration: none; }
.text-link i { transition: transform .2s ease; }
.text-link:hover i { transform: translateX(3px); }
.notice-stack { display: flex; flex-direction: column; gap: 10px; }
.notice-card { min-height: 88px; display: flex; align-items: center; gap: 16px; padding: 15px 18px; color: var(--ink); background: white; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.notice-card:hover { color: var(--ink); border-color: #c9ad7a; transform: translateX(3px); text-decoration: none; }
.notice-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: var(--wine); background: #f5f0e6; border-radius: 50%; }
.notice-card > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.notice-card small { color: #9b7440; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.notice-card strong { margin: 2px 0; font-size: 14px; }
.notice-card em { color: var(--muted); font-size: 11px; font-style: normal; }
.notice-card > i { color: #9b7440; font-size: 12px; }
.news { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.news .section-heading { align-items: end; margin-bottom: 34px; }
.news .section-heading h2 { max-width: 680px; position: relative; margin: 0; padding-bottom: 13px; color: var(--wine-dark); font: 700 clamp(34px, 4.2vw, 48px)/1.12 'Playfair Display', Georgia, serif; letter-spacing: -.025em; }
.news .section-heading h2::after { width: 66px; height: 3px; position: absolute; bottom: 0; left: 0; content: ''; background: var(--gold); }
.news-lead { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--line); background: white; }
.news-image { height: 220px; display: block; position: relative; overflow: hidden; background: #e6e1d8; }
.news-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.news-image:hover img { transform: scale(1.035); }
.news-image span { position: absolute; bottom: 13px; left: 14px; padding: 5px 9px; color: white; background: var(--wine); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-body { padding: 19px 19px 21px; }
.news-body h3 { min-height: 48px; margin: 0 0 9px; color: var(--wine-dark); font: 600 19px/1.25 'Playfair Display', Georgia, serif; }
.news-body p { min-height: 64px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.government-band { padding: 55px 0; color: white; background: var(--wine-dark); }
.government-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.government-band .eyebrow { margin-bottom: 9px; }
.government-band h2 { color: white; font-size: clamp(28px, 3.2vw, 36px); }
.government-band p:not(.eyebrow) { max-width: 510px; margin: 13px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }
.government-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.government-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; color: white; border: 1px solid rgba(255,255,255,.22); font-size: 11px; font-weight: 600; text-decoration: none; }
.government-links a:hover { color: #eddaa9; border-color: #eddaa9; text-decoration: none; }
.feature-board { padding: 28px 0 24px; background: #f1f2f4; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.feature-carousel, .notice-carousel { min-width: 0; position: relative; overflow: hidden; background: white; border: 1px solid #e2e3e5; box-shadow: 0 5px 18px rgba(31, 35, 40, .08); }
.feature-slide, .notice-slide { display: none; }
.feature-slide.is-active, .notice-slide.is-active { display: block; animation: featureFade .35s ease both; }
@keyframes featureFade { from { opacity: .55; } to { opacity: 1; } }
.feature-visual { height: 330px; display: block; position: relative; overflow: hidden; background: #dedbd5; }
.feature-visual img { display: block; width: 100%; height: 100%; }
.feature-visual .feature-backdrop { position: absolute; inset: 0; object-fit: cover; filter: blur(18px) brightness(.78); transform: scale(1.08); }
.feature-visual .feature-image { position: relative; z-index: 1; object-fit: contain; }
.feature-caption { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 21px 28px; }
.feature-caption > div { min-width: 0; }
.feature-category { color: #98733d; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.feature-caption h2 { margin: 4px 0; color: var(--wine-dark); font: 700 23px/1.2 'Playfair Display', Georgia, serif; }
.feature-caption p { max-width: 510px; margin: 0; color: var(--muted); font-size: 11px; }
.feature-action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; color: white; background: var(--wine); border-radius: 2px; font-size: 10px; font-weight: 700; text-decoration: none; }
.feature-action:hover { color: white; background: var(--wine-dark); text-decoration: none; }
.feature-control, .notice-control { width: 36px; height: 42px; position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; color: #fff; background: rgba(33, 32, 30, .56); border: 0; cursor: pointer; transform: translateY(-50%); transition: background .2s ease; }
.feature-control:hover, .feature-control:focus, .notice-control:hover, .notice-control:focus { background: var(--wine); }
.feature-prev, .notice-prev { left: 0; border-radius: 0 3px 3px 0; }
.feature-next, .notice-next { right: 0; border-radius: 3px 0 0 3px; }
.feature-dots, .notice-dots { position: absolute; bottom: 10px; left: 50%; z-index: 3; display: flex; gap: 7px; transform: translateX(-50%); }
.feature-dot, .notice-dot { width: 8px; height: 8px; padding: 0; background: #c9c6c0; border: 0; border-radius: 50%; cursor: pointer; }
.feature-dot.is-active, .notice-dot.is-active { background: var(--wine); }
.notice-slide-image { height: 462px; display: block; position: relative; overflow: hidden; background: #e8e3db; }
.notice-slide-image img { display: block; width: 100%; height: 100%; }
.notice-backdrop { position: absolute; inset: 0; object-fit: cover; filter: blur(16px) brightness(.76); transform: scale(1.08); }
.notice-image { position: relative; z-index: 1; object-fit: contain; }
.service-strip { padding: 42px 0 34px; background: #fff; }
.service-strip-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 15px; }
.service-strip-heading .eyebrow { margin: 0; }
.service-strip-heading h2 { margin: 0; color: var(--wine-dark); font: 600 24px/1.2 'Playfair Display', Georgia, serif; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-link { min-height: 74px; display: flex; align-items: center; gap: 10px; padding: 12px; color: var(--ink); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.service-link:hover { color: var(--wine); border-color: #c9ad7a; transform: translateY(-2px); text-decoration: none; }
.service-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #98733d; background: #f8f5ef; border-radius: 50%; font-size: 12px; }
.service-link > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.service-link strong { font-size: 11px; }
.service-link small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.service-arrow { flex: 0 0 auto; color: #9a8d7d; font-size: 9px; }
.service-address { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.service-address i { margin-right: 5px; color: #98733d; }
.bbva-banner { padding: 24px 0 8px; background: #f1f2f4; }
.bbva-banner a { display: block; }
.bbva-banner img { display: block; width: 100%; height: auto; }
.institutional-resources { padding: 48px 0 58px; background: #fff; }
.resources-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.transparency-link, .gazette-card { min-height: 150px; padding: 19px; border: 1px solid var(--line); background: #fff; }
.transparency-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--wine); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.transparency-link:hover { color: var(--wine-dark); border-color: #c9ad7a; box-shadow: 0 5px 18px rgba(31, 35, 40, .07); text-decoration: none; }
.transparency-link img { display: block; width: min(48%, 250px); max-height: 84px; object-fit: contain; }
.transparency-link span { max-width: 230px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.transparency-link i { margin-left: 4px; font-size: 10px; }
.gazette-card { display: flex; flex-direction: column; }
.gazette-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.resource-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--wine); background: #f5f0e6; border-radius: 50%; }
.gazette-heading div { display: flex; flex-direction: column; }
.gazette-heading strong { color: var(--wine-dark); font: 700 17px 'Playfair Display', Georgia, serif; }
.gazette-heading small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.gazette-toggle { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; color: #fff; background: var(--wine); border: 0; border-radius: 2px; font: 700 11px 'DM Sans', Arial, sans-serif; text-align: left; cursor: pointer; transition: background .2s ease; }
.gazette-toggle:hover, .gazette-toggle:focus { background: var(--wine-dark); }
.gazette-toggle i { transition: transform .2s ease; }
.gazette-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.gazette-list { margin-top: 9px; border-top: 1px solid var(--line); }
.gazette-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 3px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 11px; text-decoration: none; }
.gazette-list a:hover { color: var(--wine); text-decoration: none; }
.gazette-list i { color: #a43b46; }
footer { background: #f6f4f0; }
footer .bg-blanco { background: #f6f4f0; }
@media (max-width: 900px) {
    .hero { min-height: 470px; }
    .resources-grid { grid-template-columns: 1fr; }
    .announcements-grid { grid-template-columns: 1fr; gap: 30px; }
    .government-inner { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 640px) {
    .site-container { width: calc(100% - 32px); }
    .hero { min-height: 460px; background-position: 58% center; }
    .feature-board { padding: 16px 0 20px; }
    .bbva-banner { padding: 14px 0 2px; }
    .institutional-resources { padding: 38px 0 44px; }
    .transparency-link { min-height: 125px; padding: 15px; }
    .service-link { min-height: 58px; }
    .hero-shade { background: linear-gradient(90deg, rgba(35,23,22,.82), rgba(35,23,22,.4)); }
    .hero h1 { font-size: 42px; }
    .hero-copy { max-width: 430px; font-size: 14px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
    .hero-caption { right: 16px; bottom: 12px; font-size: 9px; }
    .section { padding: 52px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .news-grid { grid-template-columns: 1fr; gap: 16px; }
    .news-image { height: 220px; }
    .news-body h3, .news-body p { min-height: 0; }
    .government-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 12px; }
    .feature-visual { height: 285px; }
    .feature-caption { min-height: 145px; align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 15px 30px; }
    .feature-caption h2 { font-size: 20px; }
    .feature-control { top: 122px; }
    .notice-slide-image { height: 430px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .feature-grid { grid-template-columns: 1fr; }
    .feature-visual { height: clamp(230px, 54vw, 350px); }
    .feature-caption { min-height: 128px; align-items: center; flex-direction: row; }
    .feature-caption h2 { font-size: 22px; }
    .feature-control { top: 50%; }
    .notice-slide-image { height: clamp(240px, 62vw, 380px); }
    .news .section-heading h2 { font-size: clamp(32px, 7vw, 40px); }
}
@media (max-width: 520px) {
    .feature-caption { align-items: flex-start; flex-direction: column; gap: 9px; padding: 13px 14px 31px; }
    .feature-caption h2 { font-size: 20px; }
    .feature-action { padding: 8px 10px; }
    .feature-control, .notice-control { width: 32px; height: 38px; }
    .notice-slide-image { height: clamp(250px, 74vw, 370px); }
    .service-strip { padding: 32px 0 26px; }
    .service-strip-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .service-strip-heading h2 { font-size: 22px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-link { min-height: 64px; }
    .service-address { line-height: 1.5; }
}
