* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #b88b5c;
  --dark-blue: #6b5344;
  --accent-gold: #d9b562;
  --light-bg: #fffaf1;
  --white: #ffffff;
  --dark-text: #3d3d3d;
  --muted-text: #7a6f65;
  --border-color: #e8dcc8;
  --success-green: #6fb982;
  --error-red: #d97777;
  --whatsapp-green: #6fb982;

  --font-display: "Poppins", serif;
  --font-body: "Inter", sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1rem;
  --spacing-2xl: 1rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
       HERO SECTION
       ============================================ */

.hero {
  margin-top: 0px;
  min-height: 100vh;
  background:
    linear-gradient(
      135deg,
      rgba(184, 139, 92, 0.9) 0%,
      rgba(107, 83, 68, 0.95) 100%
    ),
    url("../img/img-top.jpg") center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(217, 181, 98, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 2;
  padding: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-family: var(--font-display);  
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--accent-gold);
}

.hero .subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.cta-primary {
  background: var(--accent-gold);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  text-align: center;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(217, 181, 98, 0.3);
}

.cta-primary:hover {
  background: #c9a552;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 181, 98, 0.4);
}

.cta-secondary {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  border: 2px solid var(--white);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-secondary:hover {
  background: var(--white);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
       ABOUT SECTION - TABLET LAYOUT
       ============================================ */

.about {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-md);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-text {
  padding: 0 var(--spacing-md);
  text-align: justify;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.about-text p {
  margin-top: -8px;
  color: var(--muted-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 540px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achievements-overlay {
  margin-top: 0px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(107, 83, 68, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  max-height: 25%;
}

.achievement-item {
  margin-top: 0px;
  text-align: center;
  color: var(--white);
  padding: var(--spacing-sm) 0;
}

.achievement-number {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.achievement-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Tablet layout */
@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--spacing-md);
  }

  .about-text {
    padding: 0;
  }

  .about-image-container {
    height: 550px;
  }

  .achievements-overlay {
    grid-template-columns: repeat(4, 1fr);
  }

  .achievement-item {
    margin-top: -40px;
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .achievement-number {
    margin-top: 20px;
    font-size: 0.9rem;
  }

  .achievement-text {
    font-size: 1.1rem;
  }
}

/* ============================================
       PROBLEMS SECTION
       ============================================ */

.problems {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.problem-card {
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  background: linear-gradient(
    135deg,
    rgba(217, 181, 98, 0.1) 0%,
    rgba(184, 139, 92, 0.1) 100%
  );
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--color-yellow-700);
  background: linear-gradient(
    135deg,
    rgba(184, 139, 92, 0.05) 0%,
    rgba(217, 181, 98, 0.05) 100%
  );
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--accent-gold);
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-sm);
}

.problem-card p {
  color: var(--muted-text);
  line-height: 1.7;
}

/* ============================================
       SERVICES SECTION
       ============================================ */

.services {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: linear-gradient(
    135deg,
    rgba(184, 139, 92, 0.03) 0%,
    rgba(217, 181, 98, 0.03) 100%
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.service-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border-top: 3px solid var(--accent-gold);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: var(--muted-text);
  line-height: 1.8;
}

/* ============================================
       TESTIMONIALS SECTION
       ============================================ */

.testimonials {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--dark-blue);
  color: var(--white);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-title::after {
  background: var(--accent-gold);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 0.6fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.testimonial-image {
  width:90%;
  height: 90%;  
  margin-left: 10px;
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
  border: 2px solid var(--accent-gold);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
}

.testimonial-text {
  font-size: 1.05rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-xs);
}

.testimonial-role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.stars {
  color: var(--accent-gold);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}



/* ============================================
       FAQ SECTION
       ============================================ */


.faq {
  
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--light-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--spacing-lg);
  background: linear-gradient(
    135deg,
    rgba(184, 139, 92, 0.05) 0%,
    rgba(217, 181, 98, 0.05) 100%
  );
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark-blue);
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(
    135deg,
    rgba(184, 139, 92, 0.1) 0%,
    rgba(217, 181, 98, 0.1) 100%
  );
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: var(--spacing-lg);
  color: var(--muted-text);
  line-height: 1.8;
}

/* ============================================
       CONTACT FORM SECTION
       ============================================ */

.contact {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--primary-blue) 100%
  );
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-title::after {
  background: var(--accent-gold);
}

.form-container {
  max-width: 600px;
  margin: var(--spacing-xl) auto 0;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--white);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(217, 181, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #ffb3ba;
  font-size: 0.85rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ffb3ba;
}

.form-group.error .form-error {
  display: block;
}

.form-submit {
  background: var(--accent-gold);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-submit:hover:not(:disabled) {
  background: #c9a552;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 181, 98, 0.4);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
       MODAL / POPUP DE AGRADECIMENTO
       ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

.modal-icon {
  font-size: 3rem;
  color: var(--success-green);
  margin-bottom: var(--spacing-lg);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-md);
}

.modal-content p {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.modal-button {
  background: var(--accent-gold);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.modal-button:hover {
  background: #c9a552;
  transform: translateY(-2px);
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
       SOCIAL LINKS SECTION
       ============================================ */

.social-section {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--light-bg);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}

.social-icon-btn.instagram {
  background: linear-gradient(
    45deg,
    #d9b562 0%,
    #b88b5c 25%,
    #8b6f47 50%,
    #6b5344 75%,
    #5a4434 100%
  );
  color: var(--white);
}

.social-icon-btn.instagram:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.social-icon-btn.whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
}

.social-icon-btn.whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.social-icon-btn.email {
  background: var(--primary-blue);
  color: var(--white);
}

.social-icon-btn.email:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
       FOOTER
       ============================================ */

footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  font-family: var(--font-display);
  margin-bottom: var(--spacing-md);
  color: var(--accent-gold);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-lg);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Link Rubi Web no Footer */
.footer-bottom a {
  color: #d9b562;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #FFF;
  text-shadow: 0 0 10px rgba(217, 181, 98, 0.5);
  text-decoration: underline;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .footer-bottom p {
    font-size: 0.75rem;
  }
  .testimonial-image {
  width:100%;
  height: 100%;  
  margin: 10px;
  border-radius: 5px;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  }
  .testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  padding-bottom: 80px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  }
  .footer-bottom a {
    font-weight: 500;
  }
}

/* ============================================
       WHATSAPP FLOATING BUTTON - STYLED
       ============================================ */

.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
  cursor: pointer;
  animation: pulse-glow 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(111, 185, 130, 0.6);
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow:
      0 4px 12px rgba(111, 185, 130, 0.3),
      0 0 0 0 rgba(111, 185, 130, 0.7);
  }
  50% {
    box-shadow:
      0 4px 12px rgba(111, 185, 130, 0.3),
      0 0 0 15px rgba(111, 185, 130, 0);
  }
}

/* ============================================
       RESPONSIVE DESIGN
       ============================================ */

@media (max-width: 768px) {
  nav {
    padding: var(--spacing-md);
  }

  .logo {
    font-size: 1.2rem;
  }

  .cta-header {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.8rem;
  }

  .hero {
    margin-top: 0px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
  }

  .about,
  .problems,
  .services,
  .testimonials,
  .faq,
  .contact,
  .carousel-section,
  .social-section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
  }

  .about-content {
    padding: 0;
  }

  .about-text {
    padding: 0;
  }

  .about-image-container {
    height: 450px;
  }

  .achievements-overlay {
    margin-top: 40px;
    height: 180px;
    grid-template-columns: repeat(2, 1fr);
  }

  .social-icons {
    gap: var(--spacing-lg);
  }

  .social-icon-btn {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 1.8rem;
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-top: -50px;
  }

  .hero .subheadline {
    font-size: 1rem;
  }

  .problems-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .achievements-overlay {
    grid-template-columns: repeat(4, 1fr);
  }

  .achievement-item {
    margin-top: -25px;
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .achievement-number {
    margin-top: 18px;
    font-size: 0.7rem;
  }

  .achievement-text {
    margin-top: 20px;
    font-size: 0.8rem;
  }
  .cta-primary,
  .cta-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .carousel-item {
    padding: var(--spacing-lg);
  }

  .carousel-item h3 {
    font-size: 1.4rem;
  }

  .carousel-item p {
    font-size: 0.95rem;
  }

  .social-icons {
    gap: var(--spacing-md);
  }

  .social-icon-btn {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .modal-content {
    padding: var(--spacing-lg);
  }
  .testimonial-image {
  width:100%;
  height: 100%;  
  margin: 10px;
  border-radius: 5px;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  }
}

/* ============================================
       CAROUSEL RESPONSIVO - MOBILE
       ============================================ */

@media (max-width: 768px) {
  .carousel-wrapper {
    width: 100% !important;
    display: flex !important;
    overflow-x: hidden !important;
    scroll-snap-type: x mandatory !important;
  }

  .carousel-item {
    min-width: 100% !important;
    scroll-snap-align: start !important;
  }
}

/* ============================================
       ABOUT SECTION - LAYOUT RESPONSIVO
       ============================================ */

@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }

  .about-text {
    width: 100%;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-md);
  }

  .about-image-container {
    width: 100%;
    position: relative;
  }

  .achievements-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 45%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }

  .achievement-item {
    padding: var(--spacing-sm);
    font-size: 1rem;
  }

  .achievement-number {
    font-size: 1.5rem;
  }
   .testimonial-image {
  width:100%;
  height: 100%;  
  margin: 10px;
  border-radius: 5px;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  }
  .testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  padding-bottom: 80px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  }
}

/* ============================================
       BLOG SECTION
       ============================================ */

.blog {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.blog-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.blog-card p {
  color: var(--muted-text);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

.blog-card-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all 0.3s ease;
}

.blog-card-link:hover {
  gap: var(--spacing-sm);
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 150px;
  }
}