/* 2F Innova - Premium Construction Website */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #374151;
  background-color: #FAFAF8;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #C41E3A;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: #4B5563;
}

a {
  color: #C41E3A;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #C41E3A;
}

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

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header .subtitle {
  color: #C41E3A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(26, 43, 74, 0.1);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #C41E3A;
}

.logo-text span {
  color: #C41E3A;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #C41E3A;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #C41E3A;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #C41E3A;
  font-weight: 600;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #C41E3A;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #C41E3A;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #C41E3A;
  border: 2px solid #C41E3A;
}

.btn-secondary:hover {
  background: #C41E3A;
  color: white;
}

.btn-white {
  background: white;
  color: #C41E3A;
}

.btn-white:hover {
  background: #FAFAF8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.88) 0%, rgba(158, 27, 50, 0.92) 100%), url('../assets/images/hero-main.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(201,169,98,0.1)"/></svg>');
  background-size: 30px 30px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 6rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: rgba(255, 255, 255, 0.7);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: left;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Links on red backgrounds - must stay white on hover */
.hero a:hover,
.testimonials a:hover,
.cta a:hover,
footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn-white:hover,
.cta .btn-white:hover {
  color: #C41E3A;
}

/* ========================================
   INTRO / ABOUT PREVIEW
   ======================================== */
.intro {
  background: white;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.intro-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid #C41E3A;
  border-radius: 8px;
  z-index: -1;
}

.intro-content .subtitle {
  color: #C41E3A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.intro-content h2 {
  margin-bottom: 1.5rem;
}

.intro-content p {
  margin-bottom: 1.5rem;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.intro-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.intro-feature svg {
  width: 24px;
  height: 24px;
  color: #C41E3A;
  flex-shrink: 0;
}

.intro-feature span {
  font-weight: 500;
  color: #C41E3A;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  background: #F3F4F6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(201, 169, 98, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.15) 0%, rgba(201, 169, 98, 0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: #C41E3A;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6B7280;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #C41E3A;
  font-weight: 600;
}

.service-link:hover {
  gap: 0.75rem;
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  background: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h4 {
  margin-bottom: 0.75rem;
}

.process-step p {
  color: #6B7280;
  font-size: 0.95rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  color: white;
}

.testimonials .section-header .subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials .section-header h2 {
  color: white;
}

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.testimonial-info h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ========================================
   WHY US
   ======================================== */
.why-us {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: #C41E3A;
  box-shadow: 0 10px 30px rgba(201, 169, 98, 0.1);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: #F3F4F6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: #C41E3A;
}

.why-card h4 {
  margin-bottom: 0.75rem;
}

.why-card p {
  color: #6B7280;
  font-size: 0.95rem;
}

/* ========================================
   CERTIFICATIONS
   ======================================== */
.certifications {
  background: #F3F4F6;
  text-align: center;
}

.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cert-badge {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  color: #C41E3A;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem;
}

.cert-label {
  font-weight: 600;
  color: #C41E3A;
  font-size: 0.875rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  text-align: center;
  padding: 5rem 0;
}

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #C41E3A;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #C41E3A;
}

.footer-column h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #C41E3A;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: #C41E3A;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: #C41E3A;
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { animation: fadeInUp 0.5s 0.1s forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeInUp 0.5s 0.2s forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeInUp 0.5s 0.3s forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeInUp 0.5s 0.4s forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeInUp 0.5s 0.5s forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeInUp 0.5s 0.6s forwards; }

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

/* ========================================
   PAGE HEADER (Internal Pages)
   ======================================== */
.page-header {
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  padding: 10rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: #C41E3A;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #F9FAFB;
  border-radius: 10px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: #C41E3A;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
  color: #6B7280;
  margin: 0;
}

.contact-form-wrapper {
  background: #F9FAFB;
  padding: 2.5rem;
  border-radius: 12px;
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #C41E3A;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C41E3A;
}

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

/* ========================================
   ABOUT PAGE - TEAM
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-image {
  height: 280px;
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: #C41E3A;
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-info p {
  color: #6B7280;
  font-size: 0.95rem;
}

/* ========================================
   SERVICES PAGE - DETAILED
   ======================================== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-content .step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 169, 98, 0.1);
  color: #C41E3A;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-detail-image {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  border-radius: 12px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  color: #9CA3AF;
  font-size: 4rem;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
  height: 250px;
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 74, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-meta {
  display: flex;
  gap: 1rem;
  color: #6B7280;
  font-size: 0.875rem;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ========================================
   TESTIMONIALS PAGE
   ======================================== */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-page-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6B7280;
}

/* ========================================
   BLOG
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, #C41E3A 0%, #9E1B32 100%);
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  background: rgba(201, 169, 98, 0.1);
  color: #C41E3A;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-content h3 a {
  color: #C41E3A;
}

.blog-content h3 a:hover {
  color: #C41E3A;
}

.blog-excerpt {
  color: #6B7280;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #9CA3AF;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .services-grid,
  .testimonials-grid,
  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .intro-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cert-logos {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ========================================
   BLOG SECTION - ENHANCED
   ======================================== */
.blog-section {
  background: #FAFAF8;
}

.blog-grid {
  display: grid;
  gap: 2.5rem;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 43, 74, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(26, 43, 74, 0.12);
}

.blog-card .blog-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-card .blog-content {
  padding: 2rem;
}

.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.blog-card .blog-date {
  color: #6B7280;
}

.blog-card .blog-category {
  background: rgba(201, 169, 98, 0.15);
  color: #C41E3A;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #C41E3A;
  line-height: 1.3;
}

.blog-card > .blog-content > p {
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-full-content {
  display: none;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  margin-top: 1.5rem;
}

.blog-full-content.expanded {
  display: block;
}

.blog-full-content h3 {
  font-size: 1.25rem;
  color: #C41E3A;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-full-content h3:first-child {
  margin-top: 0;
}

.blog-full-content p {
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.blog-full-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #4B5563;
}

.blog-full-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.blog-full-content strong {
  color: #C41E3A;
}

.blog-read-more {
  cursor: pointer;
}

.blog-read-more.expanded {
  background: #E5E7EB;
  border-color: #E5E7EB;
  color: #6B7280;
}

/* Blog responsive */
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-card:first-child {
    grid-column: span 2;
  }
  
  .blog-card:first-child .blog-image {
    height: 300px;
  }
  
  .blog-card:first-child h2 {
    font-size: 2rem;
  }
}

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