/*
Theme Name: Madrid Arquitectos Landing
Description: Landing de una sola vista para Madrid Arquitectos (home estática).
Version: 1.0.0
Author: Codex
*/

:root {
  --white: #f9f9f9;
  --text: #ffffff;
  --accent: #e5e5e5;
  --line: rgba(255, 255, 255, 0.7);
  --btn: rgba(255, 255, 255, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  height: 100vh;
  background: #000;
  overflow: hidden;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 64px 40px;
  background: url('fondo.png') center/cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.22) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.logo {
  width: 190px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 34px;
  font-weight: 400;
  font-size: 20px;
}
nav a {
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}
nav a.active::after,
nav a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 55%;
  height: 2px;
  background: var(--accent);
}
nav a:hover { color: #e9f2ff; }
main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.intro {
  max-width: 720px;
  margin-left: 6%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.intro p {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  width: 100%;
}
.intro .btn { align-self: flex-end; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1.5px solid var(--text);
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
  background: var(--btn);
  backdrop-filter: blur(2px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-size: 16px;
}
.btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.right-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  font-size: 42px;
  font-weight: 400;
  text-transform: capitalize;
  text-align: right;
}
.item-line {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 8px;
}
.item-line span {
  border-top: 2px solid var(--line);
  width: 220px;
  min-width: 220px;
}
.item-line p {
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.item-line:hover span { border-color: #ffffff; }
.item-line:hover p { color: #ffffff; transform: translateX(4px); }
.footer-text {
  position: relative;
  z-index: 1;
  margin-left: 0;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-text::before {
  content: '';
  display: block;
  width: 3px;
  height: 52px;
  background: var(--text);
}
.social {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 14px;
  z-index: 1;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.45);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.social a.whatsapp { background: #25d366; color: #fff; }
.social a:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}
.social a.whatsapp:hover { background: #1ea955; box-shadow: 0 10px 22px rgba(37,211,102,0.35); }
@media (max-width: 900px) {
  .hero { padding: 24px 28px 32px; }
  main { grid-template-columns: 1fr; }
  .logo { width: 150px; }
  nav ul { font-size: 18px; gap: 24px; }
  .intro {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .right-list { align-items: flex-start; }
  .social { position: static; margin-top: 18px; }
}
