/* =====================================================================
   PAGE MODULE — oficinas-san-miguel
   Extracted verbatim from inline <style> of: oficinas/san-miguel.html
   Design unchanged; loaded via `pageCss` front-matter.
   ===================================================================== */

/* Hero Multi-Image Grid */
.hero-multi-image {
  background: linear-gradient(135deg, #FAF9F6 0%, #F5F3EE 100%);
  padding: 6rem 3rem 4rem;
  position: relative;
}

.hero-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 4rem;
  align-items: center;
}

.hero-text-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #263159;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-text-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4A5568;
  margin: 0 0 2rem;
  max-width: 75ch;
}

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

.hero-image-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}

.grid-image-large {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

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

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.overlay-label {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Content Sections */
.content-section {
  padding: 4rem 3rem;
}

.content-section.bg-light {
  background: #FAF9F6;
}

.content-section.first {
  padding-top: 5rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #263159;
  margin: 0 0 1rem;
}

.section-header .subtitle {
  font-size: 1.125rem;
  color: #718096;
  margin: 0;
  max-width: 800px;
}

.section-header.center .subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.subtitle.center-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Grid Layouts */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.text-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #263159;
  margin: 0 0 1.5rem;
}

.text-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4A5568;
  margin: 0 0 1.5rem;
  max-width: 75ch;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.icon-60 {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-60.gradient-bg {
  background: linear-gradient(135deg, #17A7AF 0%, #A61963 100%);
  padding: 15px;
}

.icon-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4A5568;
  margin: 0;
}

/* Office Images Grid */
.office-images-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.office-images-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Location Cards */
.location-card {
  padding: 2rem;
  border-radius: 8px;
  border: 3px solid;
  background: white;
}

.location-card.teal-border {
  border-color: #17A7AF;
}

.location-card.magenta-border {
  border-color: #A61963;
}

.location-card.orange-border {
  border-color: #FF6B35;
}

.icon-50 {
  width: 50px;
  height: 50px;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.icon-50.gradient-bg {
  background: linear-gradient(135deg, #17A7AF 0%, #A61963 100%);
  padding: 12px;
}

.location-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #263159;
  margin: 0 0 0.5rem;
}

.location-card .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #17A7AF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem;
}

.location-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4A5568;
  margin: 0 0 1rem;
}

.location-card p:last-child {
  margin-bottom: 0;
}

.location-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
}

.location-details p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.location-details a {
  color: #17A7AF;
  text-decoration: none;
}

.location-details a:hover {
  text-decoration: underline;
}

.coming-soon {
  color: #A0AEC0 !important;
  font-style: italic;
}

/* Beyond Marketing Section */
.beyond-marketing {
  background: linear-gradient(135deg, #FAF9F6 0%, #F5F3F0 100%);
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}

.mission-vision {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mission-block,
.vision-block {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #17A7AF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vision-block {
  border-left-color: #A61963;
}

.mission-block .label,
.vision-block .label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #17A7AF;
  margin-bottom: 0.75rem;
}

.vision-block .label {
  color: #A61963;
}

.mission-block p,
.vision-block p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2D3748;
  margin: 0;
}

.community-activities h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #263159;
  margin: 0 0 1.5rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.activity-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #17A7AF 0%, #A61963 100%);
  border-radius: 8px;
  color: white;
}

.activity-item .icon i {
  font-size: 1.5rem;
}

.activity-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #263159;
  margin: 0 0 0.5rem;
}

.activity-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4A5568;
  margin: 0;
}

.activity-content a {
  color: #17A7AF;
  text-decoration: none;
  font-weight: 500;
}

.activity-content a:hover {
  text-decoration: underline;
}

/* Logo Banner */
.logo-banner {
  text-align: center;
  margin-bottom: 3rem;
}

.company-logo {
  max-width: 300px;
  height: auto;
}

/* Map Section */
.map-container {
  margin: 0 0 3rem;
  border-radius: 8px;
  overflow: hidden;
}

.map-details {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

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

.detail-grid h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #263159;
  margin: 0 0 0.75rem;
}

.detail-grid p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #4A5568;
  margin: 0;
}

.detail-grid a {
  color: #17A7AF;
  text-decoration: none;
}

.detail-grid a:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #2D3748;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.attribution .name {
  font-weight: 600;
  color: #263159;
  margin: 0 0 0.25rem;
}

.attribution .company {
  font-size: 0.9375rem;
  color: #718096;
  margin: 0;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 4rem 3rem;
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  margin-top: 3rem;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.cta-content p {
  color: white;
  font-size: 1.125rem;
  margin: 0 0 2rem;
  opacity: 0.95;
}

.center-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.06;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-multi-image {
    padding: 4rem 1rem 3rem;
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image-grid {
    padding-top: 0;
  }
  
  .hero-text-content h1 {
    font-size: 1.875rem;
    margin-top: 2rem;
    padding-top: 1rem;
  }
  
  .hero-text-content h2 {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons a {
    text-align: center;
    justify-content: center;
  }
  
  .grid-image-row {
    grid-template-columns: 1fr;
  }
  
  .content-section {
    padding: 3rem 1rem;
  }
  
  .content-section.first {
    padding-top: 4rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .two-col-grid,
  .three-col-grid {
    grid-template-columns: 1fr;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
  }
  
  .cta-section .hero-buttons a,
  .cta-content a {
    text-align: center;
    justify-content: center;
    display: flex;
  }
  
  .office-images-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .office-images-grid img:first-child,
  .office-images-grid img:nth-child(2),
  .office-images-grid img:nth-child(3) {
    height: 300px;
  }
  
  .beyond-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-text-content h1 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons a {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
