:root {
  --bg: #F5F5F5;       
  --text: #222222;     
  --accent: #D82828;   
  --muted: #CCCCCC;    
  --blue-main: #1C50A4;
  --blue-dark: #0F3A79;
  --red-light: #F05050;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

body {
  background: #0051ff;
  background: linear-gradient(90deg, rgba(0, 81, 255, 0.52) 0%, rgba(255, 0, 0, 0.51) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  background: var(--blue-main);
  border-bottom: 1px solid var(--blue-dark);
  position: fixed;
  top: 0;
  z-index: 100;
  padding: 0.8rem 0;
}

nav {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu li a:hover {
  color: var(--red-light);
}

table.layout {
  width: 100%;
  border-collapse: collapse;
  margin-top: 90px;
}

.layout td {
  vertical-align: top;
}

.layout .center {
  text-align: center;
  width: 60%;
}

.layout .left,
.layout .right {
  width: 20%;
}

main h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--blue-main);
}

main p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.tarjeta-container {
  margin: 2rem 0;
}

.tarjeta-img {
  width: 800px;
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--blue-dark);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.social-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: transform 0.3s, filter 0.3s;
}

.social-icon:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  margin-top: 2rem;
  border: 2px solid var(--accent);
  color: #fff;
  background: linear-gradient(45deg, var(--accent), var(--red-light));
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s;
  font-weight: 700;
}

.btn:hover {
  background: var(--red-light);
  color: #fff;
  box-shadow: 0 0 20px var(--accent);
}

footer {
  width: 100%;
  background: var(--blue-dark);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .logo a { font-size: 1rem; }
  table.layout { margin-top: 120px; }
  .layout .left, .layout .right { display: none; }
  .layout .center { width: 100%; padding: 0 1rem; }
  .tarjeta-img { width: 90px; }
  .social-icon { width: 40px; height: 40px; }
  .btn { width: 80%; padding: 0.7rem; }
}

@media (max-width: 480px) {
  .tarjeta-img { width: 180px; }
  .social-icon { width: 35px; height: 35px; }
}

