/* style.css - Oficina Latina UT */
/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222;
  background: #f7f7f7;
}

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

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

/* Layout helpers */
.wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-sub {
  text-align: center;
  max-width: 700px;
  margin: 0.75rem auto 2rem;
  color: #555;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

/* Top bar */
.top-bar {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.8rem;
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.brand-mini {
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Header & nav */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

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

.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-tagline {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
}

.accent {
  color: #10b981;
}

.main-nav a {
  margin-left: 1rem;
  font-size: 0.9rem;
  color: #374151;
}

.main-nav a.active,
.main-nav a:hover {
  color: #10b981;
  font-weight: 600;
}

/* Hero */
.hero {
  background: url("https://images.pexels.com/photos/1181519/pexels-photo-1181519.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat;
  color: #ffffff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 4rem 1.5rem 4.5rem;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 600px;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-side .info-card {
  background: rgba(15, 23, 42, 0.85);
  padding: 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #10b981;
  color: #ffffff;
}

.btn-primary:hover {
  background: #059669;
}

.btn-outline {
  background: transparent;
  border-color: #d1d5db;
  color: #ffffff;
}

.btn-outline:hover {
  border-color: #ffffff;
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.label {
  display: inline-block;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

/* Bullets */
.bullet-box {
  background: #f9fafb;
  border-radius: 0.9rem;
  padding: 1.5rem;
}

.bullet-list {
  padding-left: 1.2rem;
}

.bullet-list li {
  margin-bottom: 0.45rem;
}

/* Contact CTA */
.contact-cta {
  text-align: center;
}

/* Contact page */
.contact-info p {
  margin: 0.3rem 0;
}

.contact-form {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.6rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.6rem;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #e5e7eb;
  padding: 1.4rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer-right span {
  display: inline-block;
  margin-left: 0.9rem;
}

/* Utility */
.centered {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 3.3rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right span {
    margin-left: 0;
    display: block;
  }
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  font-size: 18px;
}

.social-icons .fa-facebook-f { color: #1877F2; }
.social-icons .fa-instagram { color: #E4405F; }
.social-icons .fa-whatsapp { color: #25D366; }

.social-icons a:hover {
  opacity: 0.75;
}

/* Top contact bar */
.top-contact {
  font-size: 13px;
  color: #555;
  background: #f7f9fb;
  padding: 6px 20px;
  text-align: right;
  border-bottom: 1px solid #e5e7eb;
}

.top-contact a {
  color: #0b7a3b;
  text-decoration: none;
  font-weight: 500;
}

.top-contact {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-contact a:hover {
  text-decoration: underline;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .top-contact {
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
  }
}



/* Header logo image */
.brand { display:flex; align-items:center; gap:0.75rem; }
.brand img { width:46px; height:auto; }
.brand .logo { line-height:1.05; }
.logo-main { font-size:1.15rem; }
.logo-main .co { font-weight:700; margin-left:0.25rem; }
.logo-tagline { margin-top:0.15rem; }

/* Language switch */
.lang-switch { margin-left:1rem; padding:0.35rem 0.75rem; border-radius:999px; border:1px solid #d1d5db; font-size:0.85rem; color:#374151; }
.lang-switch:hover { border-color:#10b981; color:#10b981; }

/* Hero sizing */
.hero-inner { padding:3.2rem 1.5rem 3.6rem; }
@media (max-width:900px){
  .hero-inner { padding:2.4rem 1.5rem 2.6rem; }
  .brand img { width:40px; }
  .logo-main { font-size:1.05rem; }
}

/* Social media icons */
.social-icons,
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a,
.footer-social a {
  font-size: 18px;
  text-decoration: none;
}

.fa-facebook-f { color: #1877F2; }
.fa-instagram { color: #E4405F; }
.fa-whatsapp { color: #25D366; }

.social-icons a:hover,
.footer-social a:hover {
  opacity: 0.75;
}

/* Header alignment */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

