/* =======================
   VARIABLES
======================= */

:root {
  --color-primary: #ff8c00;        /* Naranja botones */
  --color-primary-dark: #e67700;
  --color-accent: #4dabf7;         /* Azul acento */
  --color-bg: #e6f2ff;             /* Fondo azul claro */
  --color-dark: #0b3c5d;           /* Azul oscuro header/footer */
  --color-text: #1f2933;

  --radius-sm: 6px;
  --radius-md: 12px;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
}

/* =======================
   RESET / BASE
======================= */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

/* =======================
   HEADER / NAV
======================= */

header {
  background: linear-gradient(90deg, #111827, #1f2937);
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #dbeafe;
}

/* =======================
   HERO
======================= */

.hero {
  background:
    linear-gradient(rgba(11, 60, 93, 0.7), rgba(30, 96, 145, 0.7)),
    url("images/office.jpg") center / cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 120px 20px;
}

/* =======================
   SECTIONS
======================= */

section {
  background: #ffffff;
  border-radius: 18px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 80px 20px;
  box-shadow: var(--shadow-lg);
}

/* =======================
   SERVICIOS
======================= */

#servicios {
  text-align: center;
}

#servicios h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.servicios-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #475569;
}

/* =======================
   GRID / CARDS
======================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: center
}

.card-icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
}

.card-text {
  color: #475569;
  margin-bottom: 20px;
}

.card-main {
  min-height: 190px;
}

.card-block {
  min-height: 250px;
}

.card h4 {
  margin-top: 15px;
  font-size: 1rem;
}

.card ul {
  padding-left: 18px;
  text-align: left;
}

.card li {
  margin-bottom: 6px;
}

.card .btn {
  margin-top: auto;
}

/* =======================
   BUTTONS
======================= */

.btn,
button {
  background: linear-gradient(135deg, #ff8c00, #ffa733);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

.btn:hover,
button:hover {
  background: linear-gradient(135deg, #e67700, #ff8c00);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,140,0,0.6);
}

/* =======================
   FORMS
======================= */

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  gap: 12px;
}

input,
textarea {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-family: inherit;
}

/* =======================
   FOOTER
======================= */

#footer {
  background: linear-gradient(90deg, #111827, #1f2937);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #cbd5e1;
}

.footer-logo {
  width: 100px;
}

#footer a {
  color: orange;
  text-decoration: none;
  font-weight: 500;
}

#footer a:hover {
  text-decoration: underline;
}

/* =======================
   WHATSAPP
======================= */

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp img {
  width: 32px;
  height: 32px;
}

/* =======================
   COOKIES
======================= */

#cookies {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #111827, #1f2937);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 15px;
  z-index: 1000;
}

/* =======================
   NOSOTROS
======================= */

#nosotros {
  padding: 80px 20px;
  background-color: #ffffff;
}

.nosotros-contenido {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.nosotros-texto h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.nosotros-texto .intro {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.valores {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.valores li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.valores i {
  color: #2e7d32;
}

.nosotros-texto h3 {
  margin-bottom: 10px;
}

.proceso {
  padding-left: 20px;
  margin-bottom: 30px;
}

.proceso li {
  margin-bottom: 8px;
}

.ambito {
  margin-bottom: 10px;
  color: #555;
}

.zona {
  font-weight: 600;
  color:  #e67700;
  display: flex;
  gap: 8px;
  align-items: center;
}

.nosotros-imagen img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}