/* Global Styles */
:root {
  /* Brand Colors */
  --brand-red: #E31C23;
  --brand-yellow: #FFDE00;
  --brand-blue: #004C97;

  --primary-color: var(--brand-blue);
  --secondary-color: var(--brand-red);
  --accent-color: var(--brand-yellow);

  --text-color: #333;
  --white: #ffffff;
  --font-family: 'Open Sans', sans-serif;
  --max-width: 1200px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: #f0f0f0;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-description {
  font-size: 1rem;
  font-weight: 600;
  margin-block-start: 0;
  text-transform: capitalize;
}

.header-info {
  text-align: right;
  font-size: 0.9rem;
}

.header-info p {
  margin: 2px 0;
}

.social-icons a {
  display: inline-block;
  margin-left: 10px;
  color: var(--white);
}

@media screen and (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .header-info {
    text-align: center;
    font-size: 0.7rem;
  }
}

/* Hero / Subscription Section */
.hero {
  background-color: #e0e0e0;
  /* Placeholder for image if any */
  padding: 40px 0;
  text-align: center;
}

.subscribe-form {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subscribe-form .form-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.subscribe-form input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  flex: 1;
  min-width: 200px;
}

.subscribe-form button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.subscribe-form button:hover {
  opacity: 0.9;
}

/* Branches (Sucursales) Section */
.branches-section {
  padding: 40px 0;
  background-color: var(--primary-color);
}

.branches-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--accent-color);
  font-size: 1.8rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.branch-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.branch-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.branch-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.branch-card li svg {
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--primary-color);
}

/* Map Section */
.map-section {
  width: 100%;
  height: 400px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
}