/* ================= VARIABLES ================= */
:root {
  --primary: #021523;
  --accent: #2A9D8F;
  --bg: #f5f5f5;
  --card-bg: #fff;
  --muted: #6C7A89;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --font: 'Inter', 'Segoe UI', sans-serif;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
}

/* ================= HEADER ================= */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 20px 15px;
  text-align: center;
}

.site-header img.banner {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
}

.flex-header {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.flex-header .logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.flex-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ================= TITULOS ================= */
.title-left, .title-left2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.title-left {
  color: var(--primary);
}

.title-left2 {
  color: #161616;
}

/* ================= GRID ================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ================= CARDS ================= */
.card {
  display: block;
  background: var(--card-bg);
  color: var(--primary);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Cards especiales */
.card-special {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
}

.card-special h2, .card-special p {
  color: #fff;
}

/* ================= SERVICIOS ================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.service {
  background: var(--card-bg);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 240px;
}

.service h2 {
  color: var(--primary);
  font-weight: 600;
}

.price {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.price:hover {
  background: #21756c;
}

/* ================= BOTÓN VOLVER ================= */
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 20px;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: #333;
}

/* ================= NOTES ================= */
.notes {
  background: var(--card-bg);
  padding: 25px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 20px auto;
  max-width: 800px;
}

.notes h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.notes ul {
  list-style: disc;
  padding-left: 25px;
  color: var(--muted);
  font-size: 0.95rem;
}

.notes li {
  margin-bottom: 8px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 25px 40px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.9rem;
}

.footer-left, .footer-right {
  max-width: 50%;
}

.footer-left p, .footer-right p {
  margin: 6px 0;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-social a:hover {
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid, .services {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-right {
    max-width: 100%;
    margin: 10px 0;
  }
}
