/* =========================================================
   LOST BAJA DISCOVERED
   MASTER STYLESHEET
   ========================================================= */


/* =========================================================
   COLOR PALETTE / SITE VARIABLES
   ========================================================= */

:root{
  --ocean:#007f96;
  --deep:#263f8f;
  --sand:#f4e7d0;
  --sand-light:#fbf7ef;
  --sun:#bd9b3b;
  --coral:#dc6b4d;
  --ink:#1d252c;
  --muted:#5f6870;
  --white:#ffffff;
  --surface:#f7f9fa;
  --max:1180px;
}


/* =========================================================
   GLOBAL
   ========================================================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  line-height:1.65;
  background:var(--white);
}

main{
  overflow:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:var(--deep);
}

a:hover{
  color:var(--coral);
}


/* =========================================================
   SITE-WIDE HEADING SIZES
   H1 controls all page titles
   H2 stays slightly smaller than H1
   ========================================================= */

h1{
  font-size:clamp(1.65rem,3vw,2.25rem);
}

h2{
  font-size:clamp(1.45rem,2.5vw,1.9rem);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:18px;
  top:18px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#fff;
  color:#000;
  z-index:9999;
  border-radius:8px;
}


/* =========================================================
   SHARED CONTAINER
   ========================================================= */

.section-inner{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
}


/* =========================================================
   SITE HEADER
   CLEAN PROFESSIONAL HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:10px max(6%,calc((100% - var(--max))/2));

  background:#ffffff;

  border-bottom:1px solid rgba(38,63,143,.12);

  box-shadow:0 3px 18px rgba(0,0,0,.07);
}


/* =========================================================
   LOGO
   ========================================================= */

.logo{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0;
}

.logo img{
  width:125px;
  height:auto;
  background:transparent;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav{
  display:flex;
  gap:19px;
  align-items:center;
}

.site-nav a{
  color:var(--deep);
  text-decoration:none;
  font-weight:700;
  font-size:.96rem;
}

.site-nav a.active,
.site-nav a:hover{
  color:var(--coral);
}


/* =========================================================
   LIVING IN ROSARITO NAVIGATION DROPDOWN
   ========================================================= */

.nav-dropdown{
  position:relative;
  display:flex;
  align-items:center;
}

.nav-dropdown-heading{
  display:flex;
  align-items:center;
  gap:3px;
}

.site-nav .nav-dropdown-parent{
  display:inline-flex;
  align-items:center;
  width:auto;
  white-space:nowrap;
}

.nav-dropdown-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:24px;
  height:24px;

  padding:0;

  border:0;
  border-radius:5px;

  background:transparent;

  color:var(--deep);

  font-size:.9rem;
  line-height:1;

  cursor:pointer;

  transition:
    color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible{
  color:var(--coral);
  background:rgba(38,63,143,.06);
  outline:none;
}

.nav-dropdown.active-section .nav-dropdown-parent{
  color:var(--coral);
}


/* DROPDOWN PANEL */

.nav-submenu{
  position:absolute;

  top:calc(100% + 12px);
  left:50%;

  z-index:100;

  width:290px;

  padding:10px;

  background:#fff;

  border:1px solid rgba(38,63,143,.12);
  border-radius:10px;

  box-shadow:0 14px 34px rgba(0,0,0,.14);

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:
    translateX(-50%)
    translateY(-6px);

  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease;
}


/* Invisible bridge between navigation and dropdown.
   Prevents menu from disappearing while mouse moves down. */

.nav-submenu::before{
  content:"";

  position:absolute;

  left:0;
  right:0;

  top:-14px;

  height:14px;
}


/* DROPDOWN LINKS */

.site-nav .nav-submenu a{
  display:block;

  width:100%;

  padding:9px 11px;

  border-radius:6px;

  color:var(--deep);

  font-size:.91rem;
  line-height:1.35;

  font-weight:700;

  text-decoration:none;
}

.site-nav .nav-submenu a:hover,
.site-nav .nav-submenu a:focus,
.site-nav .nav-submenu a.active{
  color:var(--coral);
  background:var(--sand-light);
}


/* DESKTOP DROPDOWN BEHAVIOR */

@media(min-width:851px){

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:
      translateX(-50%)
      translateY(0);
  }

  .nav-dropdown:hover .nav-dropdown-toggle,
  .nav-dropdown:focus-within .nav-dropdown-toggle{
    color:var(--coral);
  }

  .nav-dropdown-toggle span{
    display:block;

    transition:
      transform .18s ease;
  }

  .nav-dropdown:hover .nav-dropdown-toggle span,
  .nav-dropdown:focus-within .nav-dropdown-toggle span{
    transform:rotate(180deg);
  }

}


/* =========================================================
   BUTTONS
   ========================================================= */

.cta-small,
.btn,
.button-link{
  display:inline-block;
  background:var(--coral);
  color:#fff!important;
  padding:12px 21px;
  border:0;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  text-shadow:none;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.cta-small:hover,
.btn:hover,
.button-link:hover{
  color:#fff!important;
  background:#c95f44;
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(0,0,0,.15);
}

.btn.alt{
  background:var(--deep);
}

.btn.light{
  background:#fff;
  color:var(--deep)!important;
}

.button-link-secondary{
  background:transparent;
  color:var(--deep)!important;
  border:2px solid var(--deep);
}

.button-link-secondary:hover{
  background:var(--deep);
  color:#fff!important;
}


/* =========================================================
   TEXT LINKS
   ========================================================= */

.text-link{
  display:inline-block;
  font-weight:800;
  text-decoration:none;
  border-bottom:2px solid rgba(220,107,77,.4);
  padding-bottom:2px;

  transition:
    color .18s ease,
    border-color .18s ease;
}

.text-link:hover{
  color:var(--coral);
  border-color:var(--coral);
}


/* =========================================================
   MOBILE NAVIGATION BUTTON
   ========================================================= */

.nav-toggle{
  display:none;

  background:rgba(255,255,255,.95);

  border:1px solid rgba(38,63,143,.12);
  border-radius:8px;

  padding:4px 9px;

  font-size:1.8rem;
  line-height:1.2;

  color:var(--deep);

  cursor:pointer;
}





/* =========================================================
   EYEBROW / SMALL SECTION LABELS
   ========================================================= */

.eyebrow{
  margin:0 0 9px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:.78rem;
  line-height:1.4;
  font-weight:800;
  color:var(--ocean);
}

.hero .eyebrow{
  color:#ffe1b5;
}

.eyebrow.dark{
  color:var(--ocean);
}


/* =========================================================
   HOMEPAGE INTRODUCTION
   ========================================================= */

.home-intro{
  padding:68px 6% 58px;
  text-align:center;
  background:#fff;
}

.home-intro .section-inner{
  max-width:880px;
}

.home-intro h1{
  margin:5px 0 22px;
  color:var(--deep);
  line-height:1.08;
  font-weight:600;
  letter-spacing:-.025em;
  text-wrap:balance;
}

.home-lead{
  max-width:780px;
  margin:0 auto 18px;
  font-size:1.22rem;
  line-height:1.7;
  color:#313b43;
}

.home-intro p:not(.eyebrow):not(.home-lead){
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  font-size:1.04rem;
  line-height:1.75;
  color:var(--muted);
}


/* =========================================================
   HOMEPAGE LARGE PHOTO / TEXT FEATURES
   ========================================================= */

.home-feature{
  width:100%;
  max-width:var(--max);
  margin:70px auto;
  padding:0 24px;

  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:58px;
  align-items:center;
}

.home-feature-image{
  position:relative;
}

.home-feature-image img{
  width:100%;
  height:430px;
  object-fit:cover;
  border-radius:5px;
  box-shadow:0 12px 32px rgba(0,0,0,.11);
}

.home-feature-content{
  max-width:500px;
}

.home-feature-content h2{
  margin:5px 0 18px;
  color:var(--deep);
  line-height:1.16;
  font-weight:600;
  letter-spacing:-.015em;
  text-wrap:balance;
}

.home-feature-content p{
  margin:0 0 18px;
  font-size:1.04rem;
  line-height:1.75;
  color:#3d464d;
}

.home-feature-content p:last-of-type{
  margin-bottom:24px;
}

.home-feature-reverse .home-feature-image{
  order:2;
}

.home-feature-reverse .home-feature-content{
  order:1;
}


/* =========================================================
   HOMEPAGE LIFESTYLE SECTION
   ========================================================= */

.home-lifestyle{
  margin-top:76px;
  padding:82px 6%;
  background:var(--sand-light);
}

.home-section-heading{
  max-width:800px;
  margin:0 auto 46px;
  text-align:center;
}

.home-section-heading h2{
  margin:5px 0 17px;
  color:var(--deep);
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.02em;
  text-wrap:balance;
}

.home-section-heading > p:not(.eyebrow){
  margin:0 auto;
  max-width:760px;
  font-size:1.08rem;
  line-height:1.75;
  color:#485159;
}


/* =========================================================
   LIFESTYLE GRID
   ========================================================= */

.lifestyle-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:36px;
}

.lifestyle-item{
  position:relative;
  padding-top:20px;
  border-top:3px solid var(--sun);
}

.lifestyle-item h3{
  margin:0 0 12px;
  color:var(--deep);
  font-size:1.25rem;
  line-height:1.3;
  font-weight:700;
}

.lifestyle-item p{
  margin:0;
  color:#4e575e;
  line-height:1.7;
}


/* =========================================================
   HOMEPAGE STORY SECTION
   ========================================================= */

.home-story{
  position:relative;

  padding:100px 6%;

  background:
    linear-gradient(
      110deg,
      rgba(38,63,143,.96),
      rgba(0,127,150,.92)
    );

  color:#fff;
}

.home-story .section-inner{
  display:flex;
  justify-content:center;
}

.home-story-content{
  width:100%;
  max-width:780px;
  text-align:center;
}

.home-story .eyebrow{
  color:#ffe1b5;
}

.home-story h2{
  margin:6px 0 21px;
  color:#fff;
  line-height:1.14;
  font-weight:600;
  letter-spacing:-.02em;
  text-wrap:balance;
}

.home-story p{
  margin:0 auto 17px;
  max-width:750px;
  font-size:1.06rem;
  line-height:1.75;
  color:rgba(255,255,255,.93);
}

.home-story .text-link{
  margin-top:10px;
  color:#fff;
  border-color:rgba(255,255,255,.55);
}

.home-story .text-link:hover{
  color:#ffe1b5;
  border-color:#ffe1b5;
}


/* =========================================================
   PERSONAL APPROACH SECTION
   ========================================================= */

.home-personal{
  padding:88px 6%;
  background:#fff;
}

.personal-points{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:42px;
  max-width:1050px;
  margin:0 auto;
}

.personal-point{
  padding-left:22px;
  border-left:3px solid var(--ocean);
}

.personal-point h3{
  margin:0 0 11px;
  color:var(--deep);
  font-size:1.23rem;
  line-height:1.3;
}

.personal-point p{
  margin:0;
  line-height:1.72;
  color:#4c555c;
}


/* =========================================================
   HOMEPAGE FINAL CALL TO ACTION
   ========================================================= */

.home-cta{
  padding:88px 6%;
  text-align:center;
  background:var(--sand);
}

.home-cta .section-inner{
  max-width:800px;
}

.home-cta h2{
  margin:5px 0 17px;
  color:var(--deep);
  line-height:1.15;
  font-weight:600;
  letter-spacing:-.02em;
  text-wrap:balance;
}

.home-cta p:not(.eyebrow){
  max-width:720px;
  margin:0 auto;
  font-size:1.08rem;
  line-height:1.75;
  color:#465058;
}

.home-cta-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:29px;
}


/* =========================================================
   INTERIOR PAGE HERO
   ========================================================= */

.page-hero{
  padding:30px max(6%,calc((100% - var(--max))/2)) 32px;

  background:
    linear-gradient(
      135deg,
      var(--deep),
      var(--ocean)
    );

  color:#fff;
}

.page-hero .eyebrow{
  color:#ffe1b5;
  margin:0 0 5px;
  font-size:.76rem;
  line-height:1.3;
}

.page-hero h1{
  margin:0 0 8px;
  max-width:920px;
  color:#fff;
  line-height:1.1;
  font-weight:600;
  letter-spacing:-.015em;
  text-wrap:balance;
}

.page-hero > p:last-child{
  max-width:780px;
  margin:0;
  font-size:1.02rem;
  line-height:1.5;
}


/* =========================================================
   GENERAL INTERIOR SECTIONS
   ========================================================= */

.section{
  padding:76px max(6%,calc((100% - var(--max))/2));
}

.section.alt{
  background:var(--sand-light);
}

.section h2{
  margin:0 0 16px;
  color:var(--deep);
  line-height:1.16;
  font-weight:600;
  letter-spacing:-.015em;
  text-wrap:balance;
}

.section h3{
  color:var(--deep);
}

.section-heading{
  max-width:900px;
}

.section-intro{
  max-width:850px;
  font-size:1.1rem;
  line-height:1.72;
  color:#384149;
}

.content-narrow{
  max-width:860px;
}


/* =========================================================
   GENERAL GRIDS
   ========================================================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
  margin-top:34px;
}

.grid.two{
  grid-template-columns:repeat(2,1fr);
}


/* =========================================================
   GENERAL CARDS
   ========================================================= */

.card{
  overflow:hidden;
  background:#fff;
  border-radius:10px;
  box-shadow:0 8px 28px rgba(0,0,0,.09);
}

.card img{
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover;
}

.card-content{
  padding:25px;
}

.card h3{
  margin-top:0;
  color:var(--deep);
  font-size:1.3rem;
}


/* =========================================================
   SPLIT CONTENT
   ========================================================= */

.split-content{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:start;
}


/* =========================================================
   FEATURE LIST
   ========================================================= */

.feature-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:28px 0 0;
  padding:0;
}

.feature-list li{
  list-style:none;
  background:#fff;
  border-left:4px solid var(--sun);
  padding:16px 18px;
  border-radius:7px;
}


/* =========================================================
   NOTICE BOX
   ========================================================= */

.notice-box{
  max-width:850px;
  margin-top:24px;
  background:#fff8e8;
  border-left:4px solid var(--sun);
  padding:20px;
  border-radius:7px;
}


/* =========================================================
   GENERAL BANNER
   ========================================================= */

.banner{
  padding:72px 6%;

  background:
    linear-gradient(
      135deg,
      var(--deep),
      var(--ocean)
    );

  color:#fff;
  text-align:center;
}

.banner h2{
  margin:0 0 12px;
  line-height:1.15;
  font-weight:600;
}

.banner p{
  max-width:760px;
  margin:0 auto 25px;
  font-size:1.08rem;
  line-height:1.7;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-box{
  background:var(--sand-light);
  padding:30px;
  border-radius:10px;
}


/* =========================================================
   FORMS
   ========================================================= */

.form label{
  display:block;
  margin-top:14px;
  font-weight:800;
}

.form input,
.form textarea,
.form select{
  width:100%;
  padding:13px;
  border:1px solid #cbbca3;
  border-radius:7px;
  font:inherit;
  background:#fff;
}

.form input:focus,
.form textarea:focus,
.form select:focus{
  outline:3px solid rgba(0,127,150,.18);
  border-color:var(--ocean);
}

.form button{
  margin-top:20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  background:var(--deep);
  color:#fff;
  padding:58px max(6%,calc((100% - var(--max))/2)) 24px;
}


/* FOUR-COLUMN DESKTOP FOOTER */

.footer-grid{
  display:grid;

  grid-template-columns:
    minmax(240px,1.6fr)
    minmax(145px,.8fr)
    minmax(210px,1.15fr)
    minmax(150px,.8fr);

  gap:36px;

  align-items:start;
}

.site-footer h2,
.site-footer h3{
  color:#fff;
}

.site-footer h3{
  margin-top:0;
  margin-bottom:14px;
}


/* FOOTER LINKS */

.site-footer a{
  display:block;

  margin:8px 0;

  color:#ffe1b5;

  text-decoration:none;

  transition:
    color .18s ease,
    opacity .18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible{
  color:#f2b35d;
}

.site-footer a:focus-visible{
  outline:2px solid #f2b35d;
  outline-offset:3px;
}


/* FOOTER LOGO */

.footer-logo{
  width:165px;
  height:auto;

  margin-bottom:12px;

  background:#fff;

  border-radius:10px;

  padding:9px;
}


/* FOOTER BOTTOM */

.footer-bottom{
  display:flex;

  justify-content:space-between;
  align-items:center;

  gap:24px;

  margin-top:34px;

  padding-top:18px;

  border-top:1px solid rgba(255,255,255,.18);
}

.footer-bottom p{
  margin:0;

  font-size:.9rem;

  line-height:1.55;
}

.footer-bottom a{
  display:inline;

  margin:0;
}


/* =========================================================
   FOOTER - SMALL LAPTOP / TABLET
   ========================================================= */

@media(max-width:1050px){

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:36px 46px;
  }

}


/* =========================================================
   SMALL LAPTOP
   ========================================================= */

@media(max-width:1000px){

  .site-header{
    padding:9px 5%;
  }

  .logo img{
    width:115px;
  }

  .site-nav{
    gap:10px;
  }

  .site-nav a{
    font-size:.88rem;
  }

  .nav-dropdown-heading{
    gap:1px;
  }

  .nav-dropdown-toggle{
    width:21px;
    height:21px;
    font-size:.82rem;
  }

  .home-feature{
    gap:38px;
  }

  .home-feature-image img{
    height:390px;
  }

  .lifestyle-grid{
    grid-template-columns:repeat(2,1fr);
    gap:34px 42px;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:850px){

  .site-header{
    padding:8px 5.5%;
  }

  .logo img{
    width:108px;
  }

  .nav-toggle{
    display:block;
  }

  .site-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;

    background:rgba(255,255,255,.99);

    flex-direction:column;
    align-items:flex-start;

    padding:18px 6%;

    border-top:1px solid rgba(38,63,143,.08);

    box-shadow:0 20px 20px rgba(0,0,0,.12);
  }

  .site-nav.open{
    display:flex;
  }

  .site-nav a{
    width:100%;
    padding:6px 0;
    font-size:1rem;
  }


  /* MOBILE LIVING IN ROSARITO SECTION */

  .nav-dropdown{
    width:100%;
    display:block;
  }

  .nav-dropdown-heading{
    width:100%;

    display:grid;

    grid-template-columns:1fr auto;

    gap:8px;

    align-items:center;
  }

  .site-nav .nav-dropdown-parent{
    width:100%;
  }


  /*
     On mobile the guide pages remain visible whenever
     the main hamburger navigation is open. This makes
     the complete Rosarito resource section easy to find.
  */

  .nav-dropdown-toggle{
    display:none;
  }

  .nav-submenu{
    position:static;

    width:100%;

    margin:3px 0 5px;

    padding:
      5px
      0
      4px
      14px;

    border:0;

    border-left:
      2px solid
      rgba(0,127,150,.28);

    border-radius:0;

    box-shadow:none;

    background:transparent;

    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:none;
  }

  .nav-submenu::before{
    display:none;
  }

  .site-nav .nav-submenu a{
    padding:7px 10px;

    font-size:.94rem;

    font-weight:600;
  }

  .site-nav .nav-submenu a:hover,
  .site-nav .nav-submenu a:focus,
  .site-nav .nav-submenu a.active{
    background:var(--sand-light);
  }

  .site-nav .cta-small{
    width:auto;
    margin-top:5px;
  }

  .home-intro{
    padding:55px 6% 48px;
  }

  .home-feature,
  .home-feature-reverse{
    grid-template-columns:1fr;
    gap:28px;
    margin:52px auto;
    padding:0 6%;
  }

  .home-feature-image,
  .home-feature-reverse .home-feature-image{
    order:1;
  }

  .home-feature-content,
  .home-feature-reverse .home-feature-content{
    order:2;
    max-width:none;
  }

  .home-feature-image img{
    height:auto;
    aspect-ratio:16/10;
  }

  .home-lifestyle{
    padding:68px 6%;
  }

  .home-personal{
    padding:68px 6%;
  }

  .personal-points{
    grid-template-columns:1fr;
    gap:27px;
  }

  .grid,
  .grid.two,
  .footer-grid,
  .feature-list,
  .split-content{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:66vh;
  }

  .page-hero{
    padding:27px 6% 29px;
  }

  .page-hero h1{
    line-height:1.1;
  }

  .page-hero > p:last-child{
    font-size:.98rem;
    line-height:1.45;
  }

  .footer-bottom{
    display:block;
  }

  .footer-bottom p+p{
    margin-top:10px;
  }

}


/* =========================================================
   MOBILE PHONES
   ========================================================= */

@media(max-width:600px){

  h1{
    font-size:clamp(1.45rem,6vw,1.8rem);
  }

  h2{
    font-size:clamp(1.3rem,5.2vw,1.6rem);
  }

  .site-header{
    padding:7px 5%;
  }

  .logo img{
    width:102px;
  }

  .nav-toggle{
    font-size:1.65rem;
  }

  .hero{
    min-height:60vh;
    padding:70px 6%;
  }

  .home-intro{
    padding:45px 6% 39px;
  }

  .home-intro h1{
    line-height:1.12;
  }

  .home-lead{
    font-size:1.1rem;
    line-height:1.65;
  }

  .home-feature,
  .home-feature-reverse{
    margin:42px auto;
    gap:23px;
  }

  .home-feature-image img{
    aspect-ratio:4/3;
  }

  .home-lifestyle{
    margin-top:48px;
    padding:56px 6%;
  }

  .home-section-heading{
    margin-bottom:36px;
  }

  .lifestyle-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .home-story{
    padding:66px 6%;
  }

  .home-personal{
    padding:58px 6%;
  }

  .home-cta{
    padding:62px 6%;
  }

  .home-cta-buttons{
    flex-direction:column;
    align-items:center;
  }

  .page-hero{
    padding:22px 6% 24px;
  }

  .page-hero .eyebrow{
    font-size:.68rem;
    letter-spacing:.11em;
    margin-bottom:5px;
  }

  .page-hero h1{
    line-height:1.14;
    margin-bottom:7px;
    overflow-wrap:break-word;
  }

  .page-hero > p:last-child{
    font-size:.92rem;
    line-height:1.42;
  }

  .section{
    padding:54px 6%;
  }

  .section-intro{
    font-size:1.04rem;
  }

  .card-content{
    padding:22px;
  }

  .banner{
    padding:54px 6%;
  }

  .contact-box{
    padding:22px;
  }

  .site-footer{
    padding:46px 6% 22px;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media(max-width:400px){

  h1{
    font-size:1.4rem;
  }

  h2{
    font-size:1.28rem;
  }

  .site-header{
    padding:5px 4.5%;
  }

  .logo img{
    width:96px;
  }

  .home-intro{
    padding-left:5.5%;
    padding-right:5.5%;
  }

  .home-feature,
  .home-feature-reverse{
    padding-left:5.5%;
    padding-right:5.5%;
  }

  .home-lifestyle,
  .home-story,
  .home-personal,
  .home-cta{
    padding-left:5.5%;
    padding-right:5.5%;
  }

  .page-hero{
    padding:19px 5.5% 21px;
  }

  .page-hero .eyebrow{
    font-size:.65rem;
  }

  .page-hero h1{
    line-height:1.14;
  }

  .page-hero > p:last-child{
    font-size:.89rem;
  }

  .section{
    padding:46px 5.5%;
  }

  .card-content{
    padding:20px;
  }

}


/* =========================================================
   LIVING IN ROSARITO - LIFESTYLE CARDS
   Top Image -> Text -> Bottom Image
   ========================================================= */

.lifestyle-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:100%;
}

.lifestyle-card .lifestyle-card-image{
  display:block;
  width:100%;
  height:245px;
  aspect-ratio:auto;
  object-fit:cover;
}

.lifestyle-card-image-top{
  border-radius:0;
}

.lifestyle-card .card-content{
  flex:1;
}

.lifestyle-card-image-bottom{
  margin-top:auto;
  border-radius:0 0 10px 10px;
}


/* Tablet adjustment */

@media(max-width:900px){

  .lifestyle-card .lifestyle-card-image{
    height:230px;
  }

}


/* Mobile adjustment */

@media(max-width:700px){

  .lifestyle-card .lifestyle-card-image{
    height:210px;
  }

}