/*
Theme Name: Fátima Gavioli - Campanha 2026
Theme URI: https://fatimagavioli.com.br
Author: Equipe da Campanha
Author URI: https://fatimagavioli.com.br
Description: Tema WordPress da campanha da Prof. Fátima Gavioli — Educação para o Futuro, Renovação e Compromisso. Site institucional de campanha política 2026.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gavioli-campanha
Tags: one-page, campaign, political, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS VARIABLES / DESIGN TOKENS
   ========================================================================== */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 30%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 30%, 15%);
  --primary: hsl(215, 65%, 28%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(160, 40%, 45%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 15%, 93%);
  --muted-foreground: hsl(215, 15%, 45%);
  --accent: hsl(30, 90%, 62%);
  --accent-foreground: hsl(215, 30%, 15%);
  --border: hsl(210, 20%, 88%);
  --input: hsl(210, 20%, 88%);
  --ring: hsl(215, 65%, 28%);
  --radius: 0.625rem;
  --hero-overlay: hsla(215, 65%, 12%, 0.7);
  --section-alt: hsl(160, 25%, 96%);
  --gold: hsl(42, 80%, 55%);
  --green: hsl(160, 40%, 45%);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 4rem 1rem;
}

.section-alt {
  background-color: var(--section-alt);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-gradient {
  background-image: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* IntersectionObserver reveal */
.reveal {
  opacity: 0;
}

.reveal.visible {
  opacity: 1;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(215, 65%, 28%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-foreground);
  letter-spacing: -0.025em;
}

.navbar-brand .accent {
  color: var(--accent);
}

/* Desktop nav */
.navbar-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.navbar-menu a {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-menu a:hover {
  color: var(--accent);
}


/* Mobile toggle */
.navbar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  background-color: var(--primary);
  overflow: hidden;
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  display: block;
  padding: 0.5rem 0;
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-mobile a:hover {
  color: var(--accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  padding-top: 30rem;
}

.hero-tag {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: hsla(0, 0%, 100%, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: filter 0.2s;
  box-shadow: 0 4px 14px hsla(30, 90%, 62%, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  filter: brightness(1.1);
  color: var(--accent-foreground);
}

.btn-outline {
  display: inline-block;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  color: var(--primary-foreground);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.btn-outline:hover {
  background-color: hsla(0, 0%, 100%, 0.1);
  color: var(--primary-foreground);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsla(0, 0%, 100%, 0.4);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  animation: scrollBounce 1.8s infinite;
}

.scroll-indicator .dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: hsla(0, 0%, 100%, 0.6);
  border-radius: 50%;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-decor-1 {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  background-color: hsla(30, 90%, 62%, 0.2);
  border-radius: 1rem;
  z-index: -1;
}

.about-decor-2 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: hsla(160, 40%, 45%, 0.2);
  border-radius: 1rem;
  z-index: -1;
}

.section-tag {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.milestone-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background-color: hsla(210, 15%, 93%, 0.6);
}

.milestone-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: hsla(215, 65%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.milestone-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.milestone-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.milestone-desc {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* ==========================================================================
   PROPOSALS SECTION
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}

.section-header p.desc {
  color: var(--muted-foreground);
}

.proposals-grid {
  display: grid;
  gap: 1.5rem;
}

.proposal-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid hsla(210, 20%, 88%, 0.6);
  transition: box-shadow 0.3s;
}

.proposal-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.proposal-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsla(215, 65%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s;
}

.proposal-card:hover .proposal-icon {
  background-color: hsla(30, 90%, 62%, 0.2);
}

.proposal-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: color 0.3s;
}

.proposal-card:hover .proposal-icon svg {
  color: var(--accent);
}

.proposal-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.proposal-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ==========================================================================
   NEWS SECTION
   ========================================================================== */
.news-grid {
  display: grid;
  gap: 1.5rem;
}

#noticias .news-grid:not(.news-carousel-ready) .news-card:nth-child(n + 7) {
  display: none;
}

.news-card {
  background-color: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsla(210, 20%, 88%, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.news-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card-bar {
  height: 0.5rem;
  background-color: var(--primary);
  transition: background-color 0.3s;
}

.news-card:hover .news-card-bar {
  background-color: var(--accent);
}

.news-card-body {
  padding: 1.5rem;
}

.news-card-media {
  display: block;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: var(--muted);
}

.news-card-media img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

.news-card-media-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(218, 62%, 31%, 0.14), hsla(32, 88%, 60%, 0.22));
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

.news-tag {
  margin-left: auto;
  background-color: hsla(160, 40%, 45%, 0.2);
  color: var(--secondary);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card:hover h3 {
  color: var(--primary);
}

.news-card .excerpt {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.news-read-more svg {
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-video-wrap {
  width: 100%;
  height: 100%;
  background: #000;
}

.gallery-video-wrap iframe,
.gallery-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-block-area {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-block-area .wp-block-gallery {
  margin: 0;
}

.gallery-block-area .wp-block-gallery.has-nested-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.gallery-block-area .wp-block-gallery.has-nested-images figure.wp-block-image,
.gallery-block-area .wp-block-image,
.gallery-block-area .wp-block-gallery .blocks-gallery-item {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--muted);
}

.gallery-block-area .wp-block-gallery img,
.gallery-block-area .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-block-area .wp-block-gallery .wp-block-image:hover img,
.gallery-block-area .wp-block-image:hover img,
.gallery-block-area .wp-block-gallery .blocks-gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-block-area .wp-block-gallery .blocks-gallery-caption,
.gallery-block-area .wp-block-image figcaption {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gallery-lightbox.open {
  display: flex;
  animation: galleryLightboxFadeIn 0.2s ease-out;
}

.gallery-lightbox-image {
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox.open .gallery-lightbox-image {
  animation: galleryLightboxZoomIn 0.25s ease-out;
}

@keyframes galleryLightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes galleryLightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsla(210, 20%, 88%, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: opacity 0.25s ease;
}

.testimonial-card.is-updating {
  opacity: 0.65;
}

.testimonial-quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  color: hsla(30, 90%, 62%, 0.3);
}

.testimonial-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-role {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* ==========================================================================
   CAROUSEL — shared arrows & wrapper
   ========================================================================== */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-wrapper .news-grid,
.carousel-wrapper .testimonials-grid {
  flex: 1;
  min-width: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background-color: hsla(215, 65%, 28%, 0.78);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
  background-color: hsla(30, 90%, 62%, 0.84);
  transform: scale(1.08);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}

.news-grid.news-carousel-ready .news-card.carousel-hidden {
  display: none;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.contact-info-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsla(215, 65%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: hsla(30, 90%, 62%, 0.2);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

/* Form */
.contact-form {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid hsla(210, 20%, 88%, 0.6);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background-color: var(--background);
  font-size: 0.875rem;
  transition: box-shadow 0.2s, border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px hsla(30, 90%, 62%, 0.3);
  border-color: var(--accent);
}

.form-group textarea {
  resize: none;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
  box-shadow: 0 4px 14px hsla(30, 90%, 62%, 0.25);
}

.form-submit:hover {
  filter: brightness(1.1);
}

/* Form messages */
.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.form-message.success {
  background-color: hsla(160, 40%, 45%, 0.1);
  color: var(--secondary);
  border: 1px solid hsla(160, 40%, 45%, 0.3);
}

.form-message.error {
  background-color: hsla(0, 84%, 60%, 0.1);
  color: hsl(0, 84%, 50%);
  border: 1px solid hsla(0, 84%, 60%, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand .accent {
  color: var(--accent);
}

.footer-tagline {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.footer-copy {
  color: hsla(0, 0%, 100%, 0.5);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-copy svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--accent);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */
.wp-caption {
  max-width: 100%;
}

.wp-caption img {
  border-radius: 0.5rem;
}

.wp-caption-text {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 0.5rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal !important;
}

/* Toast notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
}

.toast {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
  max-width: 360px;
  animation: fadeUp 0.3s ease-out;
}

.toast-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast-desc {
  color: var(--muted-foreground);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }

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

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 1rem;
  }

  .navbar-menu {
    display: flex;
  }

  .navbar-toggle {
    display: none;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }

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

  .news-card-media {
    height: 210px;
  }

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

  .gallery-block-area .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .proposals-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 4.5rem;
  }
}
