/* Spain with Rufino · site styles. Plain CSS, no framework. */

:root {
  --green: #1f4d3a;
  --green-dark: #163a2c;
  --sand: #f6f1e7;
  --sand-dark: #ebe3d3;
  --terracotta: #b5542d;
  --ink: #1d1d1b;
  --muted: #5d5b55;
  --line: #d9d2c2;
  --white: #ffffff;
  --todo: #fff3a3;
  --max: 1080px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
.band { background: var(--sand); }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--terracotta); font-weight: 600; margin-bottom: 0.6em; }
.meta { color: var(--muted); font-weight: 600; }
.note { font-size: 0.95rem; color: var(--muted); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--green-dark); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--ink); }
.top nav a:hover { color: var(--terracotta); }
.top nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%); padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-media { margin: 0; }
.hero-media img { border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.hero-media figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: var(--green); color: var(--white); text-decoration: none; font-weight: 600;
  border: 2px solid var(--green);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--white); }

/* Cards and grids */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card h3 { color: var(--green-dark); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* Itinerary */
.days { list-style: none; counter-reset: day; padding: 0; margin: 0; }
.days li { counter-increment: day; position: relative; padding: 0 0 14px 48px; }
.days li::before {
  content: counter(day); position: absolute; left: 0; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.days b { display: block; }
.days span { color: var(--muted); font-size: 0.95rem; }

.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { padding: 4px 0 4px 28px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 700; }

.callout { background: var(--sand); border-left: 4px solid var(--terracotta); padding: 14px 18px; border-radius: 6px; margin-top: 1em; font-size: 0.98rem; }

/* Recent trips */
.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.trip { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.trip time { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--terracotta); font-weight: 600; margin-bottom: 4px; }
.trip h3 { font-size: 1.1rem; margin-bottom: 6px; }
.trip p { font-size: 0.95rem; color: var(--muted); margin: 0; }
.trip img { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 10px; }
.trip.upcoming { border: 2px solid var(--green); }
.trip.upcoming time { color: var(--green-dark); }
.next { background: var(--white); border: 2px solid var(--green); border-radius: 10px; padding: 18px 22px; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.next strong { color: var(--green-dark); }

/* Agency line */
.agency { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.agency img { height: 56px; width: auto; }
.agency p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Partner steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 24px 0 40px; }
.steps div { background: var(--white); border-radius: 10px; padding: 22px; border: 1px solid var(--line); }
.steps span { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--terracotta); color: var(--white); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }

table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 30%; background: var(--sand-dark); font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* About photo */
.about-photo { margin: 0; }
.about-photo img { border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,0.15); }
.about-photo figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

/* Photo placeholder until real photos arrive */
.photo-placeholder {
  min-height: 320px; border-radius: 10px; border: 2px dashed var(--line);
  background: var(--sand); color: var(--muted);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
}

/* Items still to confirm: yellow in the draft, remove the <mark> tags before going live */
mark.todo { background: var(--todo); padding: 0 4px; border-radius: 3px; border-bottom: 2px dashed var(--terracotta); }

.contact { list-style: none; padding: 0; font-size: 1.1rem; }
.contact li { padding: 4px 0; }

footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

@media (max-width: 780px) {
  section { padding: 40px 0; }
  .hero { padding: 40px 0 32px; }
  .hero .wrap, .two-col { grid-template-columns: 1fr; gap: 28px; }
  th { width: 38%; }
}
